Class SnsDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.SnsDestination
- All Implemented Interfaces:
IEventDestination,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:30.741Z")
@Stability(Stable)
public class SnsDestination
extends software.amazon.jsii.JsiiObject
implements IEventDestination
Use an Amazon SNS topic as an event destination.
Example:
Topic topic;
Extension.Builder.create(this, "MyExtension")
.actions(List.of(
Action.Builder.create()
.actionPoints(List.of(ActionPoint.ON_DEPLOYMENT_START))
.eventDestination(new SnsDestination(topic))
.build()))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.appconfig.IEventDestination
IEventDestination.Jsii$Default, IEventDestination.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionSnsDestination(ITopic topic) protectedSnsDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedSnsDestination(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SnsDestination
protected SnsDestination(software.amazon.jsii.JsiiObjectRef objRef) -
SnsDestination
protected SnsDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SnsDestination
- Parameters:
topic- This parameter is required.
-
-
Method Details
-
getExtensionUri
The URI of the extension event destination.- Specified by:
getExtensionUriin interfaceIEventDestination
-
getType
The type of the extension event destination.- Specified by:
getTypein interfaceIEventDestination
-
getPolicyDocument
The IAM policy document to invoke the event destination.- Specified by:
getPolicyDocumentin interfaceIEventDestination
-