Interface EmailSubscriptionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,SubscriptionProps
- All Known Implementing Classes:
EmailSubscriptionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:24.056Z")
@Stability(Stable)
public interface EmailSubscriptionProps
extends software.amazon.jsii.JsiiSerializable, SubscriptionProps
Options for email subscriptions.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sns.*; import software.amazon.awscdk.services.sns.subscriptions.*; import software.amazon.awscdk.services.sqs.*; FilterOrPolicy filterOrPolicy; Queue queue; SubscriptionFilter subscriptionFilter; EmailSubscriptionProps emailSubscriptionProps = EmailSubscriptionProps.builder() .deadLetterQueue(queue) .filterPolicy(Map.of( "filterPolicyKey", subscriptionFilter)) .filterPolicyWithMessageBody(Map.of( "filterPolicyWithMessageBodyKey", filterOrPolicy)) .json(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEmailSubscriptionProps
static final class
An implementation forEmailSubscriptionProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.sns.subscriptions.SubscriptionProps
getDeadLetterQueue, getFilterPolicy, getFilterPolicyWithMessageBody
-
Method Details
-
getJson
Indicates if the full notification JSON should be sent to the email address or just the message text.Default: false (Message text)
-
builder
- Returns:
- a
EmailSubscriptionProps.Builder
ofEmailSubscriptionProps
-