@Stability(value=Stable)
public static interface CfnComponentVersion.LambdaVolumeMountProperty
extends software.amazon.jsii.JsiiSerializable
When you define a volume, the 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentVersion.LambdaVolumeMountProperty.Builder
A builder for
CfnComponentVersion.LambdaVolumeMountProperty |
static class |
CfnComponentVersion.LambdaVolumeMountProperty.Jsii$Proxy
An implementation for
CfnComponentVersion.LambdaVolumeMountProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentVersion.LambdaVolumeMountProperty.Builder |
builder() |
default Object |
getAddGroupOwner()
Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
|
default String |
getDestinationPath()
The path to the logical volume in the file system.
|
default String |
getPermission()
The permission to access the volume: read/only ( `ro` ) or read/write ( `rw` ).
|
default String |
getSourcePath()
The path to the physical volume in the file system.
|
@Stability(value=Stable) @Nullable default Object getAddGroupOwner()
Default: false
@Stability(value=Stable) @Nullable default String getDestinationPath()
@Stability(value=Stable) @Nullable default String getPermission()
Default: ro
@Stability(value=Stable) @Nullable default String getSourcePath()
@Stability(value=Stable) static CfnComponentVersion.LambdaVolumeMountProperty.Builder builder()
Copyright © 2022. All rights reserved.