@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.419Z") @Stability(value=Experimental) public interface LayerVersionProps extends software.amazon.jsii.JsiiSerializable, LayerVersionOptions
LayerVersion layer = LayerVersion.Builder.create(this, "kubectl-layer")
.code(Code.fromAsset(String.format("%s/layer.zip", __dirname)))
.compatibleRuntimes(List.of(Runtime.PROVIDED))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LayerVersionProps.Builder
A builder for
LayerVersionProps |
static class |
LayerVersionProps.Jsii$Proxy
An implementation for
LayerVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static LayerVersionProps.Builder |
builder() |
Code |
getCode()
(experimental) The content of this Layer.
|
default List<Architecture> |
getCompatibleArchitectures()
(experimental) The system architectures compatible with this layer.
|
default List<Runtime> |
getCompatibleRuntimes()
(experimental) The runtimes compatible with this Layer.
|
getDescription, getLayerVersionName, getLicense, getRemovalPolicy@Stability(value=Experimental) @NotNull Code getCode()
Using Code.fromInline is not supported.
@Stability(value=Experimental) @Nullable default List<Architecture> getCompatibleArchitectures()
Default: [Architecture.X86_64]
@Stability(value=Experimental) @Nullable default List<Runtime> getCompatibleRuntimes()
Default: - All runtimes are supported.
@Stability(value=Experimental) static LayerVersionProps.Builder builder()
builder in interface LayerVersionOptionsLayerVersionProps.Builder of LayerVersionPropsCopyright © 2022. All rights reserved.