SnsDestination

class aws_cdk.aws_appconfig.SnsDestination(topic)

Bases: object

Use an Amazon SNS topic as an event destination.

ExampleMetadata:

infused

Example:

# topic: sns.Topic


appconfig.Extension(self, "MyExtension",
    actions=[
        appconfig.Action(
            action_points=[appconfig.ActionPoint.ON_DEPLOYMENT_START],
            event_destination=appconfig.SnsDestination(topic)
        )
    ]
)
Parameters:

topic (ITopic) –

Attributes

extension_uri

The URI of the extension event destination.

policy_document

The IAM policy document to invoke the event destination.

type

The type of the extension event destination.