Interface CfnResourceDefinition.LocalVolumeResourceDataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinition.LocalVolumeResourceDataProperty.Jsii$Proxy
- Enclosing class:
CfnResourceDefinition
@Stability(Stable)
public static interface CfnResourceDefinition.LocalVolumeResourceDataProperty
extends software.amazon.jsii.JsiiSerializable
Settings for a local volume resource, which represents a file or directory on the root file system.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResourceDefinition.LocalVolumeResourceDataProperty
static final class
An implementation forCfnResourceDefinition.LocalVolumeResourceDataProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationPath
The absolute local path of the resource in the Lambda environment.- See Also:
-
getSourcePath
The local absolute path of the volume resource on the host.The source path for a volume resource type cannot start with
/sys
.- See Also:
-
getGroupOwnerSetting
Settings that define additional Linux OS group permissions to give to the Lambda function process.- See Also:
-
builder
-