@Generated(value="jsii-pacmak/1.78.1 (build 878761e)", date="2023-04-17T22:38:13.263Z") @Stability(value=Experimental) public interface S3PutObjectActionProps extends software.amazon.jsii.JsiiSerializable, CommonActionProps
Example:
Bucket bucket = new Bucket(this, "MyBucket");
TopicRule.Builder.create(this, "TopicRule")
.sql(IotSql.fromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'"))
.actions(List.of(
S3PutObjectAction.Builder.create(bucket)
.key("${year}/${month}/${day}/${topic(2)}")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
S3PutObjectActionProps.Builder
A builder for
S3PutObjectActionProps |
static class |
S3PutObjectActionProps.Jsii$Proxy
An implementation for
S3PutObjectActionProps |
| Modifier and Type | Method and Description |
|---|---|
static S3PutObjectActionProps.Builder |
builder() |
default BucketAccessControl |
getAccessControl()
(experimental) The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
default String |
getKey()
(experimental) The path to the file where the data is written.
|
getRole@Stability(value=Experimental) @Nullable default BucketAccessControl getAccessControl()
Default: None
@Stability(value=Experimental) @Nullable default String getKey()
Supports substitution templates.
Default: '${topic()}/${timestamp()}'
@Stability(value=Experimental) static S3PutObjectActionProps.Builder builder()
builder in interface CommonActionPropsS3PutObjectActionProps.Builder of S3PutObjectActionPropsCopyright © 2023. All rights reserved.