@Stability(value=Stable) public static final class CfnLayerVersion.Builder extends Object implements software.amazon.jsii.Builder<CfnLayerVersion>
CfnLayerVersion.| Modifier and Type | Method and Description |
|---|---|
CfnLayerVersion |
build() |
CfnLayerVersion.Builder |
compatibleArchitectures(List<String> compatibleArchitectures)
A list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html) .
|
CfnLayerVersion.Builder |
compatibleRuntimes(List<String> compatibleRuntimes)
A list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) .
|
CfnLayerVersion.Builder |
content(CfnLayerVersion.ContentProperty content)
The function layer archive.
|
CfnLayerVersion.Builder |
content(IResolvable content)
The function layer archive.
|
static CfnLayerVersion.Builder |
create(software.constructs.Construct scope,
String id) |
CfnLayerVersion.Builder |
description(String description)
The description of the version.
|
CfnLayerVersion.Builder |
layerName(String layerName)
The name or Amazon Resource Name (ARN) of the layer.
|
CfnLayerVersion.Builder |
licenseInfo(String licenseInfo)
The layer's software license.
|
@Stability(value=Stable) public static CfnLayerVersion.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLayerVersion.ContentProperty.Builder.@Stability(value=Stable) public CfnLayerVersion.Builder content(CfnLayerVersion.ContentProperty content)
content - The function layer archive. This parameter is required.this@Stability(value=Stable) public CfnLayerVersion.Builder content(IResolvable content)
content - The function layer archive. This parameter is required.this@Stability(value=Stable) public CfnLayerVersion.Builder compatibleArchitectures(List<String> compatibleArchitectures)
compatibleArchitectures - A list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html) . This parameter is required.this@Stability(value=Stable) public CfnLayerVersion.Builder compatibleRuntimes(List<String> compatibleRuntimes)
compatibleRuntimes - A list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) . Used for filtering with [ListLayers](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayers.html) and [ListLayerVersions](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayerVersions.html) . This parameter is required.this@Stability(value=Stable) public CfnLayerVersion.Builder description(String description)
description - The description of the version. This parameter is required.this@Stability(value=Stable) public CfnLayerVersion.Builder layerName(String layerName)
layerName - The name or Amazon Resource Name (ARN) of the layer. This parameter is required.this@Stability(value=Stable) public CfnLayerVersion.Builder licenseInfo(String licenseInfo)
MIT .https://opensource.org/licenses/MIT .licenseInfo - The layer's software license. It can be any of the following:. This parameter is required.this@Stability(value=Stable) public CfnLayerVersion build()
build in interface software.amazon.jsii.Builder<CfnLayerVersion>Copyright © 2022. All rights reserved.