Interface CfnResourceDefinitionVersionPropsMixin.LocalVolumeResourceDataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinitionVersionPropsMixin.LocalVolumeResourceDataProperty.Jsii$Proxy
- Enclosing class:
CfnResourceDefinitionVersionPropsMixin
@Stability(Stable)
public static interface CfnResourceDefinitionVersionPropsMixin.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 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.cfnpropertymixins.services.greengrass.*;
LocalVolumeResourceDataProperty localVolumeResourceDataProperty = LocalVolumeResourceDataProperty.builder()
.destinationPath("destinationPath")
.groupOwnerSetting(GroupOwnerSettingProperty.builder()
.autoAddGroupOwner(false)
.groupOwner("groupOwner")
.build())
.sourcePath("sourcePath")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnResourceDefinitionVersionPropsMixin.LocalVolumeResourceDataProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe absolute local path of the resource in the Lambda environment.default ObjectSettings that define additional Linux OS group permissions to give to the Lambda function process.default StringThe local absolute path of the volume resource on the host.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:
-
getGroupOwnerSetting
Settings that define additional Linux OS group permissions to give to the Lambda function process.Returns union: either
IResolvableorCfnResourceDefinitionVersionPropsMixin.GroupOwnerSettingProperty- 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:
-
builder
@Stability(Stable) static CfnResourceDefinitionVersionPropsMixin.LocalVolumeResourceDataProperty.Builder builder()
-