class CfnExtensionPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppConfig.Mixins.CfnExtensionPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappconfig/mixins#CfnExtensionPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.appconfig.mixins.CfnExtensionPropsMixin |
Python | aws_cdk.mixins_preview.aws_appconfig.mixins.CfnExtensionPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_appconfig » mixins » CfnExtensionPropsMixin |
Implements
IMixin
Extends
Mixin
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
Urifield. - For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the
Urifield. - For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the
Urifield.
For more information about extensions, see Extending workflows in the AWS AppConfig User Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as appconfig_mixins } from '@aws-cdk/mixins-preview/aws-appconfig';
declare const actions: any;
const cfnExtensionPropsMixin = new appconfig_mixins.CfnExtensionPropsMixin({
actions: actions,
description: 'description',
latestVersionNumber: 123,
name: 'name',
parameters: {
parametersKey: {
description: 'description',
dynamic: false,
required: false,
},
},
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnExtensionPropsMixin(props: CfnExtensionMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Extension Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::AppConfig::Extension.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript