Class SqsDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.SqsDestination
- All Implemented Interfaces:
IEventDestination
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-04T00:39:27.390Z")
@Stability(Stable)
public class SqsDestination
extends software.amazon.jsii.JsiiObject
implements IEventDestination
Use an Amazon SQS queue as an event destination.
Example:
Queue queue; Extension.Builder.create(this, "MyExtension") .actions(List.of( Action.Builder.create() .actionPoints(List.of(ActionPoint.ON_DEPLOYMENT_START)) .eventDestination(new SqsDestination(queue)) .build())) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appconfig.IEventDestination
IEventDestination.Jsii$Default, IEventDestination.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionSqsDestination
(IQueue queue) protected
SqsDestination
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
SqsDestination
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe URI of the extension event destination.The IAM policy document to invoke the event destination.getType()
The type of the extension event destination.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SqsDestination
protected SqsDestination(software.amazon.jsii.JsiiObjectRef objRef) -
SqsDestination
protected SqsDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SqsDestination
- Parameters:
queue
- This parameter is required.
-
-
Method Details
-
getExtensionUri
The URI of the extension event destination.- Specified by:
getExtensionUri
in interfaceIEventDestination
-
getType
The type of the extension event destination.- Specified by:
getType
in interfaceIEventDestination
-
getPolicyDocument
The IAM policy document to invoke the event destination.- Specified by:
getPolicyDocument
in interfaceIEventDestination
-