class SnsDestination
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.SnsDestination |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#SnsDestination |
Java | software.amazon.awscdk.services.appconfig.SnsDestination |
Python | aws_cdk.aws_appconfig.SnsDestination |
TypeScript (source) | aws-cdk-lib » aws_appconfig » SnsDestination |
Implements
IEvent
Use an Amazon SNS topic as an event destination.
Example
declare const topic: sns.Topic;
new appconfig.Extension(this, 'MyExtension', {
actions: [
new appconfig.Action({
actionPoints: [appconfig.ActionPoint.ON_DEPLOYMENT_START],
eventDestination: new appconfig.SnsDestination(topic),
}),
],
});
Initializer
new SnsDestination(topic: ITopic)
Parameters
- topic
ITopic
Properties
Name | Type | Description |
---|---|---|
extension | string | The URI of the extension event destination. |
type | Source | The type of the extension event destination. |
policy | Policy | The IAM policy document to invoke the event destination. |
extensionUri
Type:
string
The URI of the extension event destination.
type
Type:
Source
The type of the extension event destination.
policyDocument?
Type:
Policy
(optional)
The IAM policy document to invoke the event destination.