| Package | Description |
|---|---|
| software.amazon.awscdk.services.s3.deployment |
AWS S3 Deployment Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
BucketDeployment.Builder |
BucketDeployment.Builder.accessControl(BucketAccessControl accessControl)
System-defined x-amz-acl metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.cacheControl(List<? extends CacheControl> cacheControl)
System-defined cache-control metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.contentDisposition(String contentDisposition)
System-defined cache-disposition metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.contentEncoding(String contentEncoding)
System-defined content-encoding metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.contentLanguage(String contentLanguage)
System-defined content-language metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.contentType(String contentType)
System-defined content-type metadata to be set on all objects in the deployment.
|
static BucketDeployment.Builder |
BucketDeployment.Builder.create(software.constructs.Construct scope,
String id) |
BucketDeployment.Builder |
BucketDeployment.Builder.destinationBucket(IBucket destinationBucket)
The S3 bucket to sync the contents of the zip file to.
|
BucketDeployment.Builder |
BucketDeployment.Builder.destinationKeyPrefix(String destinationKeyPrefix)
Key prefix in the destination bucket.
|
BucketDeployment.Builder |
BucketDeployment.Builder.distribution(IDistribution distribution)
The CloudFront distribution using the destination bucket as an origin.
|
BucketDeployment.Builder |
BucketDeployment.Builder.distributionPaths(List<String> distributionPaths)
The file paths to invalidate in the CloudFront distribution.
|
BucketDeployment.Builder |
BucketDeployment.Builder.ephemeralStorageSize(Size ephemeralStorageSize)
The size of the AWS Lambda function’s /tmp directory in MiB.
|
BucketDeployment.Builder |
BucketDeployment.Builder.exclude(List<String> exclude)
If this is set, matching files or objects will be excluded from the deployment's sync command.
|
BucketDeployment.Builder |
BucketDeployment.Builder.expires(Expiration expires)
System-defined expires metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.include(List<String> include)
If this is set, matching files or objects will be included with the deployment's sync command.
|
BucketDeployment.Builder |
BucketDeployment.Builder.logRetention(RetentionDays logRetention)
The number of days that the lambda function's log events are kept in CloudWatch Logs.
|
BucketDeployment.Builder |
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 |
BucketDeployment.Builder.metadata(UserDefinedObjectMetadata metadata)
User-defined object metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.prune(Boolean prune)
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 |
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.
|
BucketDeployment.Builder |
BucketDeployment.Builder.role(IRole role)
Execution role associated with this function.
|
BucketDeployment.Builder |
BucketDeployment.Builder.serverSideEncryption(ServerSideEncryption serverSideEncryption)
System-defined x-amz-server-side-encryption metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
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 |
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 |
BucketDeployment.Builder.sources(List<? extends ISource> sources)
The sources from which to deploy the contents of this bucket.
|
BucketDeployment.Builder |
BucketDeployment.Builder.storageClass(StorageClass storageClass)
System-defined x-amz-storage-class metadata to be set on all objects in the deployment.
|
BucketDeployment.Builder |
BucketDeployment.Builder.useEfs(Boolean useEfs)
Mount an EFS file system.
|
BucketDeployment.Builder |
BucketDeployment.Builder.vpc(IVpc vpc)
The VPC network to place the deployment lambda handler in.
|
BucketDeployment.Builder |
BucketDeployment.Builder.vpcSubnets(SubnetSelection vpcSubnets)
Where in the VPC to place the deployment lambda handler.
|
BucketDeployment.Builder |
BucketDeployment.Builder.websiteRedirectLocation(String websiteRedirectLocation)
System-defined x-amz-website-redirect-location metadata to be set on all objects in the deployment.
|
Copyright © 2022. All rights reserved.