Interface CfnLayerVersion.ContentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayerVersion.ContentProperty.Jsii$Proxy
- Enclosing class:
CfnLayerVersion
@Stability(Stable)
public static interface CfnLayerVersion.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.services.lambda.*;
ContentProperty contentProperty = ContentProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
// the properties below are optional
.s3ObjectStorageMode("s3ObjectStorageMode")
.s3ObjectVersion("s3ObjectVersion")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLayerVersion.ContentPropertystatic final classAn implementation forCfnLayerVersion.ContentProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Amazon S3 bucket of the layer archive.getS3Key()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.- 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
-