@Stability(value=Stable)
public static interface CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see Access Local Resources with Lambda Functions in the Developer Guide .
In an AWS CloudFormation template, LocalVolumeResourceData
can be used in the ResourceDataContainer
property type.
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.greengrass.*; LocalVolumeResourceDataProperty localVolumeResourceDataProperty = LocalVolumeResourceDataProperty.builder() .destinationPath("destinationPath") .sourcePath("sourcePath") // the properties below are optional .groupOwnerSetting(GroupOwnerSettingProperty.builder() .autoAddGroupOwner(false) // the properties below are optional .groupOwner("groupOwner") .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty.Builder
|
static class |
CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty.Jsii$Proxy
An implementation for
CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty |
Modifier and Type | Method and Description |
---|---|
static CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty.Builder |
builder() |
String |
getDestinationPath()
The absolute local path of the resource in the Lambda environment.
|
default Object |
getGroupOwnerSetting()
Settings that define additional Linux OS group permissions to give to the Lambda function process.
|
String |
getSourcePath()
The local absolute path of the volume resource on the host.
|
@Stability(value=Stable) @NotNull String getDestinationPath()
@Stability(value=Stable) @NotNull String getSourcePath()
The source path for a volume resource type cannot start with /sys
.
@Stability(value=Stable) @Nullable default Object getGroupOwnerSetting()
@Stability(value=Stable) static CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty.Builder builder()
Copyright © 2023. All rights reserved.