@Stability(value=Experimental) @Internal public static final class BucketDeploymentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BucketDeploymentProps
BucketDeploymentPropssoftware.amazon.jsii.JsiiObject.InitializationModeBucketDeploymentProps.Builder, BucketDeploymentProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IBucket destinationBucket,
List<? extends ISource> sources,
List<? extends CacheControl> cacheControl,
String contentDisposition,
String contentEncoding,
String contentLanguage,
String contentType,
String destinationKeyPrefix,
IDistribution distribution,
List<String> distributionPaths,
Expiration expires,
Number memoryLimit,
UserDefinedObjectMetadata metadata,
Boolean prune,
Boolean retainOnDelete,
IRole role,
ServerSideEncryption serverSideEncryption,
String serverSideEncryptionAwsKmsKeyId,
String serverSideEncryptionCustomerAlgorithm,
StorageClass storageClass,
IVpc vpc,
SubnetSelection vpcSubnets,
String websiteRedirectLocation)
Constructor that initializes the object based on literal property values passed by the
BucketDeploymentProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<CacheControl> |
getCacheControl()
(experimental) System-defined cache-control metadata to be set on all objects in the deployment.
|
String |
getContentDisposition()
(experimental) System-defined cache-disposition metadata to be set on all objects in the deployment.
|
String |
getContentEncoding()
(experimental) System-defined content-encoding metadata to be set on all objects in the deployment.
|
String |
getContentLanguage()
(experimental) System-defined content-language metadata to be set on all objects in the deployment.
|
String |
getContentType()
(experimental) System-defined content-type metadata to be set on all objects in the deployment.
|
IBucket |
getDestinationBucket()
(experimental) The S3 bucket to sync the contents of the zip file to.
|
String |
getDestinationKeyPrefix()
(experimental) Key prefix in the destination bucket.
|
IDistribution |
getDistribution()
(experimental) The CloudFront distribution using the destination bucket as an origin.
|
List<String> |
getDistributionPaths()
(experimental) The file paths to invalidate in the CloudFront distribution.
|
Expiration |
getExpires()
(experimental) System-defined expires metadata to be set on all objects in the deployment.
|
Number |
getMemoryLimit()
(experimental) 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.
|
UserDefinedObjectMetadata |
getMetadata()
(experimental) User-defined object metadata to be set on all objects in the deployment.
|
Boolean |
getPrune()
(experimental) 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).
|
Boolean |
getRetainOnDelete()
(experimental) If this is set to "false", the destination files will be deleted when the resource is deleted or the destination is updated.
|
IRole |
getRole()
(experimental) Execution role associated with this function.
|
ServerSideEncryption |
getServerSideEncryption()
(experimental) System-defined x-amz-server-side-encryption metadata to be set on all objects in the deployment.
|
String |
getServerSideEncryptionAwsKmsKeyId()
(experimental) System-defined x-amz-server-side-encryption-aws-kms-key-id metadata to be set on all objects in the deployment.
|
String |
getServerSideEncryptionCustomerAlgorithm()
(experimental) System-defined x-amz-server-side-encryption-customer-algorithm metadata to be set on all objects in the deployment.
|
List<ISource> |
getSources()
(experimental) The sources from which to deploy the contents of this bucket.
|
StorageClass |
getStorageClass()
(experimental) System-defined x-amz-storage-class metadata to be set on all objects in the deployment.
|
IVpc |
getVpc()
(experimental) The VPC network to place the deployment lambda handler in.
|
SubnetSelection |
getVpcSubnets()
(experimental) Where in the VPC to place the deployment lambda handler.
|
String |
getWebsiteRedirectLocation()
(experimental) System-defined x-amz-website-redirect-location metadata to be set on all objects in the deployment.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IBucket destinationBucket, List<? extends ISource> sources, List<? extends CacheControl> cacheControl, String contentDisposition, String contentEncoding, String contentLanguage, String contentType, String destinationKeyPrefix, IDistribution distribution, List<String> distributionPaths, Expiration expires, Number memoryLimit, UserDefinedObjectMetadata metadata, Boolean prune, Boolean retainOnDelete, IRole role, ServerSideEncryption serverSideEncryption, String serverSideEncryptionAwsKmsKeyId, String serverSideEncryptionCustomerAlgorithm, StorageClass storageClass, IVpc vpc, SubnetSelection vpcSubnets, String websiteRedirectLocation)
BucketDeploymentProps.Builder.public final IBucket getDestinationBucket()
BucketDeploymentPropsgetDestinationBucket in interface BucketDeploymentPropspublic final List<ISource> getSources()
BucketDeploymentPropsgetSources in interface BucketDeploymentPropspublic final List<CacheControl> getCacheControl()
BucketDeploymentPropsDefault: - Not set.
getCacheControl in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final String getContentDisposition()
BucketDeploymentPropsDefault: - Not set.
getContentDisposition in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final String getContentEncoding()
BucketDeploymentPropsDefault: - Not set.
getContentEncoding in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final String getContentLanguage()
BucketDeploymentPropsDefault: - Not set.
getContentLanguage in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final String getContentType()
BucketDeploymentPropsDefault: - Not set.
getContentType in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final String getDestinationKeyPrefix()
BucketDeploymentPropsDefault: "/" (unzip to root of the destination bucket)
getDestinationKeyPrefix in interface BucketDeploymentPropspublic final IDistribution getDistribution()
BucketDeploymentPropsFiles in the distribution's edge caches will be invalidated after files are uploaded to the destination bucket.
Default: - No invalidation occurs
getDistribution in interface BucketDeploymentPropspublic final List<String> getDistributionPaths()
BucketDeploymentPropsDefault: - All files under the destination bucket key prefix will be invalidated.
getDistributionPaths in interface BucketDeploymentPropspublic final Expiration getExpires()
BucketDeploymentPropsDefault: - The objects in the distribution will not expire.
getExpires in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final Number getMemoryLimit()
BucketDeploymentPropsIf you are deploying large files, you will need to increase this number accordingly.
Default: 128
getMemoryLimit in interface BucketDeploymentPropspublic final UserDefinedObjectMetadata getMetadata()
BucketDeploymentPropsDefault: - No user metadata is set
getMetadata in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#UserMetadatapublic final Boolean getPrune()
BucketDeploymentPropsDefault: true
getPrune in interface BucketDeploymentPropshttps://docs.aws.amazon.com/cli/latest/reference/s3/sync.htmlpublic final Boolean getRetainOnDelete()
BucketDeploymentPropsNOTICE: 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
getRetainOnDelete in interface BucketDeploymentPropshttps://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/aws-s3-deployment#retain-on-deletepublic final IRole getRole()
BucketDeploymentPropsDefault: - A role is automatically created
getRole in interface BucketDeploymentPropspublic final ServerSideEncryption getServerSideEncryption()
BucketDeploymentPropsDefault: - Server side encryption is not used.
getServerSideEncryption in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final String getServerSideEncryptionAwsKmsKeyId()
BucketDeploymentPropsDefault: - Not set.
getServerSideEncryptionAwsKmsKeyId in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final String getServerSideEncryptionCustomerAlgorithm()
BucketDeploymentPropsWarning: This is not a useful parameter until this bug is fixed: https://github.com/aws/aws-cdk/issues/6080
Default: - Not set.
getServerSideEncryptionCustomerAlgorithm in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html#sse-c-how-to-programmatically-intropublic final StorageClass getStorageClass()
BucketDeploymentPropsDefault: - Default storage-class for the bucket is used.
getStorageClass in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadatapublic final IVpc getVpc()
BucketDeploymentPropsDefault: None
getVpc in interface BucketDeploymentPropspublic final SubnetSelection getVpcSubnets()
BucketDeploymentPropsOnly used if 'vpc' is supplied.
Default: - the Vpc default strategy if not specified
getVpcSubnets in interface BucketDeploymentPropspublic final String getWebsiteRedirectLocation()
BucketDeploymentPropsDefault: - No website redirection.
getWebsiteRedirectLocation in interface BucketDeploymentPropshttps://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadata@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.