class SqsDestination
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.SqsDestination |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#SqsDestination |
![]() | software.amazon.awscdk.services.appconfig.SqsDestination |
![]() | aws_cdk.aws_appconfig.SqsDestination |
![]() | aws-cdk-lib » aws_appconfig » SqsDestination |
Implements
IEvent
Use an Amazon SQS queue as an event destination.
Example
declare const queue: sqs.Queue;
new appconfig.Extension(this, 'MyExtension', {
actions: [
new appconfig.Action({
actionPoints: [appconfig.ActionPoint.ON_DEPLOYMENT_START],
eventDestination: new appconfig.SqsDestination(queue),
}),
],
});
Initializer
new SqsDestination(queue: IQueue)
Parameters
- queue
IQueue
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.