@Stability(value=Stable)
public static interface CfnTopicRule.S3ActionProperty
extends software.amazon.jsii.JsiiSerializable
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.iot.*;
S3ActionProperty s3ActionProperty = S3ActionProperty.builder()
.bucketName("bucketName")
.key("key")
.roleArn("roleArn")
// the properties below are optional
.cannedAcl("cannedAcl")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTopicRule.S3ActionProperty.Builder
A builder for
CfnTopicRule.S3ActionProperty |
static class |
CfnTopicRule.S3ActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.S3ActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTopicRule.S3ActionProperty.Builder |
builder() |
String |
getBucketName()
The Amazon S3 bucket.
|
default String |
getCannedAcl()
The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
String |
getKey()
The object key.
|
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
@Stability(value=Stable) @NotNull String getBucketName()
@Stability(value=Stable) @NotNull String getKey()
For more information, see Actions, resources, and condition keys for Amazon S3 .
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default String getCannedAcl()
For more information, see S3 canned ACLs .
@Stability(value=Stable) static CfnTopicRule.S3ActionProperty.Builder builder()
Copyright © 2022. All rights reserved.