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, matching files or objects will be included with the deployment's sync command.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.BucketDeployment.Builder.metadata
(UserDefinedObjectMetadata metadata) User-defined object metadata to be set on all objects in the deployment.If this is set to false, files in the destination bucket that do not exist in the asset, will NOT be deleted during deployment (create/update).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.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.