Interface CfnComponentVersion.LambdaVolumeMountProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponentVersion.LambdaVolumeMountProperty.Jsii$Proxy
- Enclosing class:
CfnComponentVersion
@Stability(Stable)
public static interface CfnComponentVersion.LambdaVolumeMountProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about a volume that Linux processes in a container can access.
When you define a volume, the AWS IoT Greengrass Core software mounts the source files to the destination inside the container.
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.*; LambdaVolumeMountProperty lambdaVolumeMountProperty = LambdaVolumeMountProperty.builder() .addGroupOwner(false) .destinationPath("destinationPath") .permission("permission") .sourcePath("sourcePath") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComponentVersion.LambdaVolumeMountProperty
static final class
An implementation forCfnComponentVersion.LambdaVolumeMountProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.default String
The path to the logical volume in the file system.default String
The permission to access the volume: read/only (ro
) or read/write (rw
).default String
The path to the physical volume in the file system.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddGroupOwner
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.Default:
false
-
getDestinationPath
The path to the logical volume in the file system. -
getPermission
The permission to access the volume: read/only (ro
) or read/write (rw
).Default:
ro
-
getSourcePath
The path to the physical volume in the file system. -
builder
-