Class S3PutObjectAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.S3PutObjectAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3PutObjectAction>
- Enclosing class:
S3PutObjectAction
@Stability(Experimental)
public static final class S3PutObjectAction.Builder
extends Object
implements software.amazon.jsii.Builder<S3PutObjectAction>
(experimental) A fluent builder for
S3PutObjectAction
.-
Method Summary
Modifier and TypeMethodDescriptionaccessControl
(BucketAccessControl accessControl) (experimental) The Amazon S3 canned ACL that controls access to the object identified by the object key.build()
static S3PutObjectAction.Builder
(experimental) The path to the file where the data is written.(experimental) The IAM role that allows access to AWS service.
-
Method Details
-
create
- Parameters:
bucket
- The Amazon S3 bucket to which to write data. This parameter is required.- Returns:
- a new instance of
S3PutObjectAction.Builder
.
-
role
(experimental) The IAM role that allows access to AWS service.Default: a new role will be created
- Parameters:
role
- The IAM role that allows access to AWS service. This parameter is required.- Returns:
this
-
accessControl
@Stability(Experimental) public S3PutObjectAction.Builder accessControl(BucketAccessControl accessControl) (experimental) The Amazon S3 canned ACL that controls access to the object identified by the object key.Default: None
- Parameters:
accessControl
- The Amazon S3 canned ACL that controls access to the object identified by the object key. This parameter is required.- Returns:
this
- See Also:
-
key
(experimental) The path to the file where the data is written.Supports substitution templates.
Default: '${topic()}/${timestamp()}'
- Parameters:
key
- The path to the file where the data is written. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<S3PutObjectAction>
- Returns:
- a newly built instance of
S3PutObjectAction
.
-