Uses of Class
software.amazon.awscdk.services.s3.deployment.BucketDeployment.Builder
Package
Description
AWS S3 Deployment Construct Library
-
Uses of BucketDeployment.Builder in software.amazon.awscdk.services.s3.deployment
Modifier and TypeMethodDescriptionBucketDeployment.Builder.accessControl
(BucketAccessControl accessControl) System-defined x-amz-acl metadata to be set on all objects in the deployment.BucketDeployment.Builder.cacheControl
(List<? extends CacheControl> cacheControl) System-defined cache-control metadata to be set on all objects in the deployment.BucketDeployment.Builder.contentDisposition
(String contentDisposition) System-defined cache-disposition metadata to be set on all objects in the deployment.BucketDeployment.Builder.contentEncoding
(String contentEncoding) System-defined content-encoding metadata to be set on all objects in the deployment.BucketDeployment.Builder.contentLanguage
(String contentLanguage) System-defined content-language metadata to be set on all objects in the deployment.BucketDeployment.Builder.contentType
(String contentType) System-defined content-type metadata to be set on all objects in the deployment.static BucketDeployment.Builder
BucketDeployment.Builder.destinationBucket
(IBucket destinationBucket) The S3 bucket to sync the contents of the zip file to.BucketDeployment.Builder.destinationKeyPrefix
(String destinationKeyPrefix) Key prefix in the destination bucket.BucketDeployment.Builder.distribution
(IDistribution distribution) The CloudFront distribution using the destination bucket as an origin.BucketDeployment.Builder.distributionPaths
(List<String> distributionPaths) The file paths to invalidate in the CloudFront distribution.BucketDeployment.Builder.ephemeralStorageSize
(Size ephemeralStorageSize) The size of the AWS Lambda function’s /tmp directory in MiB.If this is set, matching files or objects will be excluded from the deployment's sync command.BucketDeployment.Builder.expires
(Expiration expires) System-defined expires metadata to be set on all objects in the deployment.If this is set, the zip file will be synced to the destination S3 bucket and extracted.If this is set, matching files or objects will be included with the deployment's sync command.The Log Group used for logging of events emitted by the custom resource's lambda function.BucketDeployment.Builder.logRetention
(RetentionDays logRetention) The number of days that the lambda function's log events are kept in CloudWatch Logs.BucketDeployment.Builder.memoryLimit
(Number memoryLimit) The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the files from the CDK bucket to the destination bucket.User-defined object metadata to be set on all objects in the deployment.BucketDeployment.Builder.outputObjectKeys
(Boolean outputObjectKeys) If set to false, the custom resource will not send back the SourceObjectKeys.By default, files in the destination bucket that don't exist in the source will be deleted when the BucketDeployment resource is created or updated.BucketDeployment.Builder.retainOnDelete
(Boolean retainOnDelete) If this is set to "false", the destination files will be deleted when the resource is deleted or the destination is updated.Execution role associated with this function.BucketDeployment.Builder.serverSideEncryption
(ServerSideEncryption serverSideEncryption) System-defined x-amz-server-side-encryption metadata to be set on all objects in the deployment.BucketDeployment.Builder.serverSideEncryptionAwsKmsKeyId
(String serverSideEncryptionAwsKmsKeyId) System-defined x-amz-server-side-encryption-aws-kms-key-id metadata to be set on all objects in the deployment.BucketDeployment.Builder.serverSideEncryptionCustomerAlgorithm
(String serverSideEncryptionCustomerAlgorithm) System-defined x-amz-server-side-encryption-customer-algorithm metadata to be set on all objects in the deployment.BucketDeployment.Builder.signContent
(Boolean signContent) If set to true, uploads will precompute the value ofx-amz-content-sha256
and include it in the signed S3 request headers.The sources from which to deploy the contents of this bucket.BucketDeployment.Builder.storageClass
(StorageClass storageClass) System-defined x-amz-storage-class metadata to be set on all objects in the deployment.Mount an EFS file system.The VPC network to place the deployment lambda handler in.BucketDeployment.Builder.vpcSubnets
(SubnetSelection vpcSubnets) Where in the VPC to place the deployment lambda handler.BucketDeployment.Builder.websiteRedirectLocation
(String websiteRedirectLocation) System-defined x-amz-website-redirect-location metadata to be set on all objects in the deployment.