@Stability(value=Stable)
public static interface CfnComponentVersion.LambdaContainerParamsProperty
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.greengrassv2.*;
LambdaContainerParamsProperty lambdaContainerParamsProperty = LambdaContainerParamsProperty.builder()
.devices(List.of(LambdaDeviceMountProperty.builder()
.addGroupOwner(false)
.path("path")
.permission("permission")
.build()))
.memorySizeInKb(123)
.mountRoSysfs(false)
.volumes(List.of(LambdaVolumeMountProperty.builder()
.addGroupOwner(false)
.destinationPath("destinationPath")
.permission("permission")
.sourcePath("sourcePath")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentVersion.LambdaContainerParamsProperty.Builder
A builder for
CfnComponentVersion.LambdaContainerParamsProperty |
static class |
CfnComponentVersion.LambdaContainerParamsProperty.Jsii$Proxy
An implementation for
CfnComponentVersion.LambdaContainerParamsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentVersion.LambdaContainerParamsProperty.Builder |
builder() |
default Object |
getDevices()
The list of system devices that the container can access.
|
default Number |
getMemorySizeInKb()
The memory size of the container, expressed in kilobytes.
|
default Object |
getMountRoSysfs()
Whether or not the container can read information from the device's `/sys` folder.
|
default Object |
getVolumes()
The list of volumes that the container can access.
|
@Stability(value=Stable) @Nullable default Object getDevices()
@Stability(value=Stable) @Nullable default Number getMemorySizeInKb()
Default: 16384 (16 MB)
@Stability(value=Stable) @Nullable default Object getMountRoSysfs()
Default: false
@Stability(value=Stable) @Nullable default Object getVolumes()
@Stability(value=Stable) static CfnComponentVersion.LambdaContainerParamsProperty.Builder builder()
Copyright © 2022. All rights reserved.