Class CfnLayerVersionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnLayerVersionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLayerVersionPropsMixin>
- Enclosing class:
CfnLayerVersionPropsMixin
@Stability(Stable)
public static final class CfnLayerVersionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLayerVersionPropsMixin>
A fluent builder for
CfnLayerVersionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()compatibleArchitectures(List<String> compatibleArchitectures) A list of compatible instruction set architectures .compatibleRuntimes(List<String> compatibleRuntimes) A list of compatible function runtimes .The function layer archive.content(IResolvable content) The function layer archive.create()create(CfnPropertyMixinOptions options) description(String description) The description of the version.The name or Amazon Resource Name (ARN) of the layer.licenseInfo(String licenseInfo) The layer's software license.
-
Method Details
-
create
@Stability(Stable) public static CfnLayerVersionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLayerVersionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLayerVersionPropsMixin.Builder.
-
compatibleArchitectures
@Stability(Stable) public CfnLayerVersionPropsMixin.Builder compatibleArchitectures(List<String> compatibleArchitectures) A list of compatible instruction set architectures .- Parameters:
compatibleArchitectures- A list of compatible instruction set architectures . This parameter is required.- Returns:
this- See Also:
-
compatibleRuntimes
@Stability(Stable) public CfnLayerVersionPropsMixin.Builder compatibleRuntimes(List<String> compatibleRuntimes) - Parameters:
compatibleRuntimes- A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions . This parameter is required.- Returns:
this- See Also:
-
content
The function layer archive.- Parameters:
content- The function layer archive. This parameter is required.- Returns:
this- See Also:
-
content
@Stability(Stable) public CfnLayerVersionPropsMixin.Builder content(CfnLayerVersionPropsMixin.ContentProperty content) The function layer archive.- Parameters:
content- The function layer archive. This parameter is required.- Returns:
this- See Also:
-
description
The description of the version.- Parameters:
description- The description of the version. This parameter is required.- Returns:
this- See Also:
-
layerName
The name or Amazon Resource Name (ARN) of the layer.- Parameters:
layerName- The name or Amazon Resource Name (ARN) of the layer. This parameter is required.- Returns:
this- See Also:
-
licenseInfo
The layer's software license. It can be any of the following:.- An SPDX license identifier . For example,
MIT. - The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT. - The full text of the license.
- Parameters:
licenseInfo- The layer's software license. It can be any of the following:. This parameter is required.- Returns:
this- See Also:
- An SPDX license identifier . For example,
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLayerVersionPropsMixin>- Returns:
- a newly built instance of
CfnLayerVersionPropsMixin.
-