AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AppConfig::Extension

CfnExtension

Creates an AWS AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AWS AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the AWS authored extensions provided by AWS AppConfig . For an AWS AppConfig extension that uses AWS Lambda , you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the AWS authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the `Uri` field for the new extension version. - For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the `Uri` field. - For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the `Uri` field. - For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the `Uri` field. For more information about extensions, see [Extending workflows](https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html) in the *AWS AppConfig User Guide* .

Import

import { CfnExtension } from 'aws-cdk-lib/aws-appconfig';

Or use the module namespace:

import * as appconfig from 'aws-cdk-lib/aws-appconfig';
// appconfig.CfnExtension

Properties

Configuration passed to the constructor as CfnExtensionProps.

actionsRequired
any

The actions defined in the extension.

nameRequired
string

A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.

descriptionOptional
string

Information about the extension.

latestVersionNumberOptional
number

You can omit this field when you create an extension. When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.

parametersOptional
IResolvable | { [key: string]: IResolvable | ParameterProperty }

The parameters accepted by the extension. You specify parameter values when you associate the extension to an AWS AppConfig resource by using the `CreateExtensionAssociation` API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.

tagsOptional
CfnTag[]

Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter