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
         .s3ObjectVersion("s3ObjectVersion")
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLayerVersion.ContentPropertystatic final classAn implementation forCfnLayerVersion.ContentProperty
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getS3BucketThe Amazon S3 bucket of the layer archive.
- 
getS3KeyThe Amazon S3 key of the layer archive.
- 
getS3ObjectVersionFor versioned objects, the version of the layer archive object to use.
- 
builder
 
-