@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:15.123Z") @Stability(value=Experimental) public class Sns extends software.amazon.jsii.JsiiObject implements IReceiptRuleAction
Example:
// Example automatically generated from non-compiling source. May contain errors.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
Bucket bucket = new Bucket(stack, "Bucket");
Topic topic = new Topic(stack, "Topic");
ReceiptRuleSet.Builder.create(stack, "RuleSet")
.rules(List.of(ReceiptRuleOptions.builder()
.recipients(List.of("hello@aws.com"))
.actions(List.of(
AddHeader.Builder.create()
.name("X-Special-Header")
.value("aws")
.build(),
S3.Builder.create()
.bucket(bucket)
.objectKeyPrefix("emails/")
.topic(topic)
.build()))
.build(), ReceiptRuleOptions.builder()
.recipients(List.of("aws.com"))
.actions(List.of(
Sns.Builder.create()
.topic(topic)
.build()))
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
Sns.Builder
(experimental) A fluent builder for
Sns. |
software.amazon.jsii.JsiiObject.InitializationModeIReceiptRuleAction.Jsii$Default, IReceiptRuleAction.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Sns(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Sns(software.amazon.jsii.JsiiObjectRef objRef) |
|
Sns(SnsProps props) |
| Modifier and Type | Method and Description |
|---|---|
ReceiptRuleActionConfig |
bind(IReceiptRule _rule)
(experimental) Returns the receipt rule action specification.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Sns(software.amazon.jsii.JsiiObjectRef objRef)
protected Sns(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Sns(@NotNull
SnsProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull public ReceiptRuleActionConfig bind(@NotNull IReceiptRule _rule)
bind in interface IReceiptRuleAction_rule - This parameter is required.Copyright © 2022. All rights reserved.