Class BucketDeploymentProps.Jsii$Proxy
- All Implemented Interfaces:
BucketDeploymentProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BucketDeploymentProps
BucketDeploymentProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.deployment.BucketDeploymentProps
BucketDeploymentProps.Builder, BucketDeploymentProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(BucketDeploymentProps.Builder builder) Constructor that initializes the object based on literal property values passed by theBucketDeploymentProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final BucketAccessControl
System-defined x-amz-acl metadata to be set on all objects in the deployment.final List<CacheControl>
System-defined cache-control metadata to be set on all objects in the deployment.final String
System-defined cache-disposition metadata to be set on all objects in the deployment.final String
System-defined content-encoding metadata to be set on all objects in the deployment.final String
System-defined content-language metadata to be set on all objects in the deployment.final String
System-defined content-type metadata to be set on all objects in the deployment.final IBucket
The S3 bucket to sync the contents of the zip file to.final String
Key prefix in the destination bucket.final IDistribution
The CloudFront distribution using the destination bucket as an origin.The file paths to invalidate in the CloudFront distribution.final Size
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.final Expiration
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.final RetentionDays
The number of days that the lambda function's log events are kept in CloudWatch Logs.final Number
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.final Boolean
getPrune()
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).final Boolean
If this is set to "false", the destination files will be deleted when the resource is deleted or the destination is updated.final IRole
getRole()
Execution role associated with this function.final ServerSideEncryption
System-defined x-amz-server-side-encryption metadata to be set on all objects in the deployment.final String
System-defined x-amz-server-side-encryption-aws-kms-key-id metadata to be set on all objects in the deployment.final String
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.final StorageClass
System-defined x-amz-storage-class metadata to be set on all objects in the deployment.final Boolean
Mount an EFS file system.final IVpc
getVpc()
The VPC network to place the deployment lambda handler in.final SubnetSelection
Where in the VPC to place the deployment lambda handler.final String
System-defined x-amz-website-redirect-location metadata to be set on all objects in the deployment.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theBucketDeploymentProps.Builder
.
-
-
Method Details
-
getDestinationBucket
Description copied from interface:BucketDeploymentProps
The S3 bucket to sync the contents of the zip file to.- Specified by:
getDestinationBucket
in interfaceBucketDeploymentProps
-
getSources
Description copied from interface:BucketDeploymentProps
The sources from which to deploy the contents of this bucket.- Specified by:
getSources
in interfaceBucketDeploymentProps
-
getAccessControl
Description copied from interface:BucketDeploymentProps
System-defined x-amz-acl metadata to be set on all objects in the deployment.Default: - Not set.
- Specified by:
getAccessControl
in interfaceBucketDeploymentProps
- See Also:
-
getCacheControl
Description copied from interface:BucketDeploymentProps
System-defined cache-control metadata to be set on all objects in the deployment.Default: - Not set.
- Specified by:
getCacheControl
in interfaceBucketDeploymentProps
- See Also:
-
getContentDisposition
Description copied from interface:BucketDeploymentProps
System-defined cache-disposition metadata to be set on all objects in the deployment.Default: - Not set.
- Specified by:
getContentDisposition
in interfaceBucketDeploymentProps
- See Also:
-
getContentEncoding
Description copied from interface:BucketDeploymentProps
System-defined content-encoding metadata to be set on all objects in the deployment.Default: - Not set.
- Specified by:
getContentEncoding
in interfaceBucketDeploymentProps
- See Also:
-
getContentLanguage
Description copied from interface:BucketDeploymentProps
System-defined content-language metadata to be set on all objects in the deployment.Default: - Not set.
- Specified by:
getContentLanguage
in interfaceBucketDeploymentProps
- See Also:
-
getContentType
Description copied from interface:BucketDeploymentProps
System-defined content-type metadata to be set on all objects in the deployment.Default: - Not set.
- Specified by:
getContentType
in interfaceBucketDeploymentProps
- See Also:
-
getDestinationKeyPrefix
Description copied from interface:BucketDeploymentProps
Key prefix in the destination bucket.Must be <=104 characters
Default: "/" (unzip to root of the destination bucket)
- Specified by:
getDestinationKeyPrefix
in interfaceBucketDeploymentProps
-
getDistribution
Description copied from interface:BucketDeploymentProps
The CloudFront distribution using the destination bucket as an origin.Files in the distribution's edge caches will be invalidated after files are uploaded to the destination bucket.
Default: - No invalidation occurs
- Specified by:
getDistribution
in interfaceBucketDeploymentProps
-
getDistributionPaths
Description copied from interface:BucketDeploymentProps
The file paths to invalidate in the CloudFront distribution.Default: - All files under the destination bucket key prefix will be invalidated.
- Specified by:
getDistributionPaths
in interfaceBucketDeploymentProps
-
getEphemeralStorageSize
Description copied from interface:BucketDeploymentProps
The size of the AWS Lambda function’s /tmp directory in MiB.Default: 512 MiB
- Specified by:
getEphemeralStorageSize
in interfaceBucketDeploymentProps
-
getExclude
Description copied from interface:BucketDeploymentProps
If this is set, matching files or objects will be excluded from the deployment's sync command.This can be used to exclude a file from being pruned in the destination bucket.
If you want to just exclude files from the deployment package (which excludes these files evaluated when invalidating the asset), you should leverage the
exclude
property ofAssetOptions
when defining your source.Default: - No exclude filters are used
- Specified by:
getExclude
in interfaceBucketDeploymentProps
- See Also:
-
getExpires
Description copied from interface:BucketDeploymentProps
System-defined expires metadata to be set on all objects in the deployment.Default: - The objects in the distribution will not expire.
- Specified by:
getExpires
in interfaceBucketDeploymentProps
- See Also:
-
getInclude
Description copied from interface:BucketDeploymentProps
If this is set, matching files or objects will be included with the deployment's sync command.Since all files from the deployment package are included by default, this property is usually leveraged alongside an
exclude
filter.Default: - No include filters are used and all files are included with the sync command
- Specified by:
getInclude
in interfaceBucketDeploymentProps
- See Also:
-
getLogRetention
Description copied from interface:BucketDeploymentProps
The number of days that the lambda function's log events are kept in CloudWatch Logs.Default: logs.RetentionDays.INFINITE
- Specified by:
getLogRetention
in interfaceBucketDeploymentProps
-
getMemoryLimit
Description copied from interface:BucketDeploymentProps
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.If you are deploying large files, you will need to increase this number accordingly.
Default: 128
- Specified by:
getMemoryLimit
in interfaceBucketDeploymentProps
-
getMetadata
Description copied from interface:BucketDeploymentProps
User-defined object metadata to be set on all objects in the deployment.Default: - No user metadata is set
- Specified by:
getMetadata
in interfaceBucketDeploymentProps
- See Also:
-
getPrune
Description copied from interface:BucketDeploymentProps
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).Default: true
- Specified by:
getPrune
in interfaceBucketDeploymentProps
- See Also:
-
getRetainOnDelete
Description copied from interface:BucketDeploymentProps
If this is set to "false", the destination files will be deleted when the resource is deleted or the destination is updated.NOTICE: Configuring this to "false" might have operational implications. Please visit to the package documentation referred below to make sure you fully understand those implications.
Default: true - when resource is deleted/updated, files are retained
- Specified by:
getRetainOnDelete
in interfaceBucketDeploymentProps
- See Also:
-
getRole
Description copied from interface:BucketDeploymentProps
Execution role associated with this function.Default: - A role is automatically created
- Specified by:
getRole
in interfaceBucketDeploymentProps
-
getServerSideEncryption
Description copied from interface:BucketDeploymentProps
System-defined x-amz-server-side-encryption metadata to be set on all objects in the deployment.Default: - Server side encryption is not used.
- Specified by:
getServerSideEncryption
in interfaceBucketDeploymentProps
- See Also:
-
getServerSideEncryptionAwsKmsKeyId
Description copied from interface:BucketDeploymentProps
System-defined x-amz-server-side-encryption-aws-kms-key-id metadata to be set on all objects in the deployment.Default: - Not set.
- Specified by:
getServerSideEncryptionAwsKmsKeyId
in interfaceBucketDeploymentProps
- See Also:
-
getServerSideEncryptionCustomerAlgorithm
Description copied from interface:BucketDeploymentProps
System-defined x-amz-server-side-encryption-customer-algorithm metadata to be set on all objects in the deployment.Warning: This is not a useful parameter until this bug is fixed: https://github.com/aws/aws-cdk/issues/6080
Default: - Not set.
-
getStorageClass
Description copied from interface:BucketDeploymentProps
System-defined x-amz-storage-class metadata to be set on all objects in the deployment.Default: - Default storage-class for the bucket is used.
- Specified by:
getStorageClass
in interfaceBucketDeploymentProps
- See Also:
-
getUseEfs
Description copied from interface:BucketDeploymentProps
Mount an EFS file system.Enable this if your assets are large and you encounter disk space errors. Enabling this option will require a VPC to be specified.
Default: - No EFS. Lambda has access only to 512MB of disk space.
- Specified by:
getUseEfs
in interfaceBucketDeploymentProps
-
getVpc
Description copied from interface:BucketDeploymentProps
The VPC network to place the deployment lambda handler in.This is required if
useEfs
is set.Default: None
- Specified by:
getVpc
in interfaceBucketDeploymentProps
-
getVpcSubnets
Description copied from interface:BucketDeploymentProps
Where in the VPC to place the deployment lambda handler.Only used if 'vpc' is supplied.
Default: - the Vpc default strategy if not specified
- Specified by:
getVpcSubnets
in interfaceBucketDeploymentProps
-
getWebsiteRedirectLocation
Description copied from interface:BucketDeploymentProps
System-defined x-amz-website-redirect-location metadata to be set on all objects in the deployment.Default: - No website redirection.
- Specified by:
getWebsiteRedirectLocation
in interfaceBucketDeploymentProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-