Interface CfnComponentVersion.LambdaContainerParamsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponentVersion.LambdaContainerParamsProperty.Jsii$Proxy
- Enclosing class:
- CfnComponentVersion
@Stability(Stable)
public static interface CfnComponentVersion.LambdaContainerParamsProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about a container in which AWS Lambda functions run on AWS IoT Greengrass core devices.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComponentVersion.LambdaContainerParamsPropertystatic final classAn implementation forCfnComponentVersion.LambdaContainerParamsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe list of system devices that the container can access.default NumberThe memory size of the container, expressed in kilobytes.default ObjectWhether or not the container can read information from the device's/sysfolder.default ObjectThe list of volumes that the container can access.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDevices
The list of system devices that the container can access. -
getMemorySizeInKb
The memory size of the container, expressed in kilobytes.Default:
16384(16 MB) -
getMountRoSysfs
Whether or not the container can read information from the device's/sysfolder.Default:
false -
getVolumes
The list of volumes that the container can access. -
builder
-