SqsDestination

class aws_cdk.aws_appconfig.SqsDestination(queue)

Bases: object

Use an Amazon SQS queue as an event destination.

ExampleMetadata:

infused

Example:

# queue: sqs.Queue


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

queue (IQueue) –

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.