@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.411Z") @Stability(value=Stable) public interface CfnLayerVersionProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnLayerVersionProps cfnLayerVersionProps = CfnLayerVersionProps.builder()
.content(ContentProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
// the properties below are optional
.s3ObjectVersion("s3ObjectVersion")
.build())
// the properties below are optional
.compatibleArchitectures(List.of("compatibleArchitectures"))
.compatibleRuntimes(List.of("compatibleRuntimes"))
.description("description")
.layerName("layerName")
.licenseInfo("licenseInfo")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLayerVersionProps.Builder
A builder for
CfnLayerVersionProps |
static class |
CfnLayerVersionProps.Jsii$Proxy
An implementation for
CfnLayerVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnLayerVersionProps.Builder |
builder() |
default List<String> |
getCompatibleArchitectures()
A list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html) .
|
default List<String> |
getCompatibleRuntimes()
A list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) .
|
Object |
getContent()
The function layer archive.
|
default String |
getDescription()
The description of the version.
|
default String |
getLayerName()
The name or Amazon Resource Name (ARN) of the layer.
|
default String |
getLicenseInfo()
The layer's software license.
|
@Stability(value=Stable) @NotNull Object getContent()
@Stability(value=Stable) @Nullable default List<String> getCompatibleArchitectures()
@Stability(value=Stable) @Nullable default List<String> getCompatibleRuntimes()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getLayerName()
@Stability(value=Stable) @Nullable default String getLicenseInfo()
MIT .https://opensource.org/licenses/MIT .@Stability(value=Stable) static CfnLayerVersionProps.Builder builder()
CfnLayerVersionProps.Builder of CfnLayerVersionPropsCopyright © 2022. All rights reserved.