Show / Hide Table of Contents

Class CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty

Settings for a local device resource, which represents a file under /dev .

Inheritance
object
CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty
Implements
CfnResourceDefinitionVersionPropsMixin.ILocalDeviceResourceDataProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Greengrass
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty : CfnResourceDefinitionVersionPropsMixin.ILocalDeviceResourceDataProperty
Syntax (vb)
Public Class CfnResourceDefinitionVersionPropsMixin.LocalDeviceResourceDataProperty Implements CfnResourceDefinitionVersionPropsMixin.ILocalDeviceResourceDataProperty
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Greengrass;

             var localDeviceResourceDataProperty = new LocalDeviceResourceDataProperty {
                 GroupOwnerSetting = new GroupOwnerSettingProperty {
                     AutoAddGroupOwner = false,
                     GroupOwner = "groupOwner"
                 },
                 SourcePath = "sourcePath"
             };

Synopsis

Constructors

LocalDeviceResourceDataProperty()

Settings for a local device resource, which represents a file under /dev .

Properties

GroupOwnerSetting

Settings that define additional Linux OS group permissions to give to the Lambda function process.

SourcePath

The local absolute path of the device resource.

Constructors

LocalDeviceResourceDataProperty()

Settings for a local device resource, which represents a file under /dev .

public LocalDeviceResourceDataProperty()
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Greengrass;

             var localDeviceResourceDataProperty = new LocalDeviceResourceDataProperty {
                 GroupOwnerSetting = new GroupOwnerSettingProperty {
                     AutoAddGroupOwner = false,
                     GroupOwner = "groupOwner"
                 },
                 SourcePath = "sourcePath"
             };

Properties

GroupOwnerSetting

Settings that define additional Linux OS group permissions to give to the Lambda function process.

public object? GroupOwnerSetting { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html#cfn-greengrass-resourcedefinitionversion-localdeviceresourcedata-groupownersetting

Type union: either IResolvable or CfnResourceDefinitionVersionPropsMixin.IGroupOwnerSettingProperty

SourcePath

The local absolute path of the device resource.

public string? SourcePath { get; set; }
Property Value

string

Remarks

The source path for a device resource can refer only to a character device or block device under /dev .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html#cfn-greengrass-resourcedefinitionversion-localdeviceresourcedata-sourcepath

Implements

CfnResourceDefinitionVersionPropsMixin.ILocalDeviceResourceDataProperty
Back to top Generated by DocFX