Interface EmailSubscriptionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,SubscriptionProps
- All Known Implementing Classes:
EmailSubscriptionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.452Z")
@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.*; Queue queue; SubscriptionFilter subscriptionFilter; EmailSubscriptionProps emailSubscriptionProps = EmailSubscriptionProps.builder() .deadLetterQueue(queue) .filterPolicy(Map.of( "filterPolicyKey", subscriptionFilter)) .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
-
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
-