Interface CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty.Jsii$Proxy
- Enclosing class:
CfnResourceDefinitionVersionPropsMixin
@Stability(Stable)
public static interface CfnResourceDefinitionVersionPropsMixin.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 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.cfnpropertymixins.services.greengrass.*;
LocalDeviceResourceDataProperty localDeviceResourceDataProperty = LocalDeviceResourceDataProperty.builder()
.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.LocalDeviceResourceDataProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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 device resource.The source path for a device resource can refer only to a character device or block device under
/dev.- See Also:
-
builder
@Stability(Stable) static CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty.Builder builder()
-