@Stability(value=Stable) public static final class LayerVersionProps.Builder extends Object implements software.amazon.jsii.Builder<LayerVersionProps>
LayerVersionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public LayerVersionProps.Builder code(Code code)
LayerVersionProps.getCode()code - The content of this Layer. This parameter is required.
Using Code.fromInline is not supported.this@Stability(value=Stable) public LayerVersionProps.Builder compatibleArchitectures(List<? extends Architecture> compatibleArchitectures)
LayerVersionProps.getCompatibleArchitectures()compatibleArchitectures - The system architectures compatible with this layer.this@Stability(value=Stable) public LayerVersionProps.Builder compatibleRuntimes(List<? extends Runtime> compatibleRuntimes)
LayerVersionProps.getCompatibleRuntimes()compatibleRuntimes - The runtimes compatible with this Layer.this@Stability(value=Stable) public LayerVersionProps.Builder description(String description)
LayerVersionOptions.getDescription()description - The description the this Lambda Layer.this@Stability(value=Stable) public LayerVersionProps.Builder layerVersionName(String layerVersionName)
LayerVersionOptions.getLayerVersionName()layerVersionName - The name of the layer.this@Stability(value=Stable) public LayerVersionProps.Builder license(String license)
LayerVersionOptions.getLicense()license - The SPDX licence identifier or URL to the license file for this layer.this@Stability(value=Stable) public LayerVersionProps.Builder removalPolicy(RemovalPolicy removalPolicy)
LayerVersionOptions.getRemovalPolicy()removalPolicy - Whether to retain this version of the layer when a new version is added or when the stack is deleted.this@Stability(value=Stable) public LayerVersionProps build()
build in interface software.amazon.jsii.Builder<LayerVersionProps>LayerVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.