Show / Hide Table of Contents

Class CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty

Settings for a local volume resource, which represents a file or directory on the root file system.

Inheritance
object
CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty
Implements
CfnResourceDefinitionVersion.ILocalVolumeResourceDataProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty : CfnResourceDefinitionVersion.ILocalVolumeResourceDataProperty
Syntax (vb)
Public Class CfnResourceDefinitionVersion.LocalVolumeResourceDataProperty Implements CfnResourceDefinitionVersion.ILocalVolumeResourceDataProperty
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localvolumeresourcedata.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.AWS.Greengrass;

             var localVolumeResourceDataProperty = new LocalVolumeResourceDataProperty {
                 DestinationPath = "destinationPath",
                 SourcePath = "sourcePath",

                 // the properties below are optional
                 GroupOwnerSetting = new GroupOwnerSettingProperty {
                     AutoAddGroupOwner = false,

                     // the properties below are optional
                     GroupOwner = "groupOwner"
                 }
             };

Synopsis

Constructors

LocalVolumeResourceDataProperty()

Settings for a local volume resource, which represents a file or directory on the root file system.

Properties

DestinationPath

The absolute local path of the resource in the Lambda environment.

GroupOwnerSetting

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

SourcePath

The local absolute path of the volume resource on the host.

Constructors

LocalVolumeResourceDataProperty()

Settings for a local volume resource, which represents a file or directory on the root file system.

public LocalVolumeResourceDataProperty()
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localvolumeresourcedata.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.AWS.Greengrass;

             var localVolumeResourceDataProperty = new LocalVolumeResourceDataProperty {
                 DestinationPath = "destinationPath",
                 SourcePath = "sourcePath",

                 // the properties below are optional
                 GroupOwnerSetting = new GroupOwnerSettingProperty {
                     AutoAddGroupOwner = false,

                     // the properties below are optional
                     GroupOwner = "groupOwner"
                 }
             };

Properties

DestinationPath

The absolute local path of the resource in the Lambda environment.

public string DestinationPath { get; set; }
Property Value

string

Remarks

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

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-localvolumeresourcedata.html#cfn-greengrass-resourcedefinitionversion-localvolumeresourcedata-groupownersetting

SourcePath

The local absolute path of the volume resource on the host.

public string SourcePath { get; set; }
Property Value

string

Remarks

The source path for a volume resource type cannot start with /sys .

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

Implements

CfnResourceDefinitionVersion.ILocalVolumeResourceDataProperty
Back to top Generated by DocFX