@Stability(value=Stable) public static final class S3DeployAction.Builder extends Object implements software.amazon.jsii.Builder<S3DeployAction>
S3DeployAction.| Modifier and Type | Method and Description |
|---|---|
S3DeployAction.Builder |
accessControl(BucketAccessControl accessControl)
The specified canned ACL to objects deployed to Amazon S3.
|
S3DeployAction.Builder |
actionName(String actionName)
The physical, human-readable name of the Action.
|
S3DeployAction.Builder |
bucket(IBucket bucket)
The Amazon S3 bucket that is the deploy target.
|
S3DeployAction |
build() |
S3DeployAction.Builder |
cacheControl(List<? extends CacheControl> cacheControl)
The caching behavior for requests/responses for objects in the bucket.
|
static S3DeployAction.Builder |
create() |
S3DeployAction.Builder |
extract(Boolean extract)
Should the deploy action extract the artifact before deploying to Amazon S3.
|
S3DeployAction.Builder |
input(Artifact input)
The input Artifact to deploy to Amazon S3.
|
S3DeployAction.Builder |
objectKey(String objectKey)
The key of the target object.
|
S3DeployAction.Builder |
role(IRole role)
The Role in which context's this Action will be executing in.
|
S3DeployAction.Builder |
runOrder(Number runOrder)
The runOrder property for this Action.
|
S3DeployAction.Builder |
variablesNamespace(String variablesNamespace)
The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Stable) public static S3DeployAction.Builder create()
S3DeployAction.Builder.@Stability(value=Stable) public S3DeployAction.Builder actionName(String actionName)
Note that Action names must be unique within a single Stage.
actionName - The physical, human-readable name of the Action. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder runOrder(Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder - The runOrder property for this Action. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder variablesNamespace(String variablesNamespace)
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
variablesNamespace - The name of the namespace to use for variables emitted by this action. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder role(IRole role)
The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your {@link IAction.bind} method in the {@link ActionBindOptions.role} property.
Default: a new Role will be generated
role - The Role in which context's this Action will be executing in. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder bucket(IBucket bucket)
bucket - The Amazon S3 bucket that is the deploy target. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder input(Artifact input)
input - The input Artifact to deploy to Amazon S3. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder accessControl(BucketAccessControl accessControl)
This overwrites any existing ACL that was applied to the object.
Default: - the original object ACL
accessControl - The specified canned ACL to objects deployed to Amazon S3. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder cacheControl(List<? extends CacheControl> cacheControl)
The final cache control property will be the result of joining all of the provided array elements with a comma (plus a space after the comma).
Default: - none, decided by the HTTP client
cacheControl - The caching behavior for requests/responses for objects in the bucket. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder extract(Boolean extract)
Default: true
extract - Should the deploy action extract the artifact before deploying to Amazon S3. This parameter is required.this@Stability(value=Stable) public S3DeployAction.Builder objectKey(String objectKey)
This is required if extract is false.
objectKey - The key of the target object. This parameter is required.this@Stability(value=Stable) public S3DeployAction build()
build in interface software.amazon.jsii.Builder<S3DeployAction>Copyright © 2022. All rights reserved.