@Stability(value=Experimental) public static final class S3PutObjectAction.Builder extends Object implements software.amazon.jsii.Builder<S3PutObjectAction>
S3PutObjectAction.| Modifier and Type | Method and Description |
|---|---|
S3PutObjectAction.Builder |
accessControl(BucketAccessControl accessControl)
(experimental) The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
S3PutObjectAction |
build() |
static S3PutObjectAction.Builder |
create(IBucket bucket) |
S3PutObjectAction.Builder |
key(String key)
(experimental) The path to the file where the data is written.
|
S3PutObjectAction.Builder |
role(IRole role)
(experimental) The IAM role that allows access to AWS service.
|
@Stability(value=Experimental) public static S3PutObjectAction.Builder create(IBucket bucket)
bucket - The Amazon S3 bucket to which to write data. This parameter is required.S3PutObjectAction.Builder.@Stability(value=Experimental) public S3PutObjectAction.Builder role(IRole role)
Default: a new role will be created
role - The IAM role that allows access to AWS service. This parameter is required.this@Stability(value=Experimental) public S3PutObjectAction.Builder accessControl(BucketAccessControl accessControl)
Default: None
accessControl - The Amazon S3 canned ACL that controls access to the object identified by the object key. This parameter is required.this@Stability(value=Experimental) public S3PutObjectAction.Builder key(String key)
Supports substitution templates.
Default: '${topic()}/${timestamp()}'
key - The path to the file where the data is written. This parameter is required.this@Stability(value=Experimental) public S3PutObjectAction build()
build in interface software.amazon.jsii.Builder<S3PutObjectAction>Copyright © 2023. All rights reserved.