Interface CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Jsii$Proxy
- Enclosing class:
CfnResourceDefinitionVersion
@Stability(Stable)
public static interface CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty
extends software.amazon.jsii.JsiiSerializable
Settings for a local device resource, which represents a file under
/dev
.
For more information, see Access Local Resources with Lambda Functions in the Developer Guide .
In an AWS CloudFormation template, LocalDeviceResourceData
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.*; LocalDeviceResourceDataProperty localDeviceResourceDataProperty = LocalDeviceResourceDataProperty.builder() .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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnResourceDefinitionVersion.LocalDeviceResourceDataProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourcePath
The local absolute path of the device resource.The source path for a device resource can refer only to a character device or block device under
/dev
.- See Also:
-
getGroupOwnerSetting
Settings that define additional Linux OS group permissions to give to the Lambda function process.- See Also:
-
builder
@Stability(Stable) static CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Builder builder()
-