@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.225Z") @Stability(value=Stable) public class S3 extends software.amazon.jsii.JsiiObject implements IReceiptRuleAction
Example:
import software.amazon.awscdk.services.s3.*;
import software.amazon.awscdk.services.ses.actions.*;
Bucket bucket = new Bucket(this, "Bucket");
Topic topic = new Topic(this, "Topic");
ReceiptRuleSet.Builder.create(this, "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 |
S3.Builder
A fluent builder for
S3. |
software.amazon.jsii.JsiiObject.InitializationModeIReceiptRuleAction.Jsii$Default, IReceiptRuleAction.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
S3(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
S3(software.amazon.jsii.JsiiObjectRef objRef) |
|
S3(S3Props props) |
| Modifier and Type | Method and Description |
|---|---|
ReceiptRuleActionConfig |
bind(IReceiptRule rule)
Returns the receipt rule action specification.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected S3(software.amazon.jsii.JsiiObjectRef objRef)
protected S3(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public S3(@NotNull
S3Props props)
props - This parameter is required.@Stability(value=Stable) @NotNull public ReceiptRuleActionConfig bind(@NotNull IReceiptRule rule)
bind in interface IReceiptRuleActionrule - This parameter is required.Copyright © 2022. All rights reserved.