Interface S3DeployActionProps
- All Superinterfaces:
CommonActionProps
,CommonAwsActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3DeployActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:59.000Z")
@Stability(Stable)
public interface S3DeployActionProps
extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
Construction properties of the
S3DeployAction S3 deploy Action
.
Example:
S3SourceAction sourceAction; Artifact sourceOutput; Bucket deployBucket; Pipeline.Builder.create(this, "Pipeline") .stages(List.of(StageProps.builder() .stageName("Source") .actions(List.of(sourceAction)) .build(), StageProps.builder() .stageName("Deploy") .actions(List.of( S3DeployAction.Builder.create() .actionName("DeployAction") // can reference the variables .objectKey(String.format("%s.txt", sourceAction.getVariables().getVersionId())) .input(sourceOutput) .bucket(deployBucket) .build())) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3DeployActionProps
static final class
An implementation forS3DeployActionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3DeployActionProps.Builder
builder()
default BucketAccessControl
The specified canned ACL to objects deployed to Amazon S3.The Amazon S3 bucket that is the deploy target.default List<CacheControl>
The caching behavior for requests/responses for objects in the bucket.default IKey
The AWS KMS encryption key for the host bucket.default Boolean
Should the deploy action extract the artifact before deploying to Amazon S3.getInput()
The input Artifact to deploy to Amazon S3.default String
The key of the target object.Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonActionProps
getActionName, getRunOrder, getVariablesNamespace
Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The Amazon S3 bucket that is the deploy target. -
getInput
The input Artifact to deploy to Amazon S3. -
getAccessControl
The specified canned ACL to objects deployed to Amazon S3.This overwrites any existing ACL that was applied to the object.
Default: - the original object ACL
-
getCacheControl
The caching behavior for requests/responses for objects in the bucket.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
-
getEncryptionKey
The AWS KMS encryption key for the host bucket.The encryptionKey parameter encrypts uploaded artifacts with the provided AWS KMS key.
Default: - none
-
getExtract
Should the deploy action extract the artifact before deploying to Amazon S3.Default: true
-
getObjectKey
The key of the target object.This is required if extract is false.
-
builder
- Returns:
- a
S3DeployActionProps.Builder
ofS3DeployActionProps
-