Interface CfnLayerVersionPropsMixin.ContentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayerVersionPropsMixin.ContentProperty.Jsii$Proxy
- Enclosing class:
CfnLayerVersionPropsMixin
@Stability(Stable)
public static interface CfnLayerVersionPropsMixin.ContentProperty
extends software.amazon.jsii.JsiiSerializable
A ZIP archive that contains the contents of an Lambda layer .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lambda.*;
ContentProperty contentProperty = ContentProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
.s3ObjectStorageMode("s3ObjectStorageMode")
.s3ObjectVersion("s3ObjectVersion")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLayerVersionPropsMixin.ContentPropertystatic final classAn implementation forCfnLayerVersionPropsMixin.ContentProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe Amazon S3 bucket of the layer archive.default StringgetS3Key()The Amazon S3 key of the layer archive.default StringSpecifies whether Lambda should copy the deployment package to its internal storage (COPY) or reference it directly from your S3 bucket (REFERENCE).default StringFor versioned objects, the version of the layer archive object to use.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3Bucket
The Amazon S3 bucket of the layer archive.Returns union: either
StringorIBucketRef- See Also:
-
getS3Key
The Amazon S3 key of the layer archive.- See Also:
-
getS3ObjectStorageMode
Specifies whether Lambda should copy the deployment package to its internal storage (COPY) or reference it directly from your S3 bucket (REFERENCE).- See Also:
-
getS3ObjectVersion
For versioned objects, the version of the layer archive object to use.- See Also:
-
builder
-