Interface S3PutObjectActionProps
- All Superinterfaces:
CommonActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3PutObjectActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:29.580Z")
@Stability(Experimental)
public interface S3PutObjectActionProps
extends software.amazon.jsii.JsiiSerializable, CommonActionProps
(experimental) Configuration properties of an action for s3.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3PutObjectActionProps
static final class
An implementation forS3PutObjectActionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default BucketAccessControl
(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.Methods inherited from interface software.amazon.awscdk.services.iot.actions.alpha.CommonActionProps
getRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessControl
(experimental) The Amazon S3 canned ACL that controls access to the object identified by the object key.Default: None
- See Also:
-
getKey
(experimental) The path to the file where the data is written.Supports substitution templates.
Default: '${topic()}/${timestamp()}'
- See Also:
-
builder
- Returns:
- a
S3PutObjectActionProps.Builder
ofS3PutObjectActionProps
-