package awsgreengrass // 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](https://docs.aws.amazon.com/greengrass/latest/developerguide/access-local-resources.html) in the *Developer Guide* . // // In an AWS CloudFormation template, `LocalVolumeResourceData` can be used in the [`ResourceDataContainer`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html) property type. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // localVolumeResourceDataProperty := &LocalVolumeResourceDataProperty{ // DestinationPath: jsii.String("destinationPath"), // SourcePath: jsii.String("sourcePath"), // // // the properties below are optional // GroupOwnerSetting: &GroupOwnerSettingProperty{ // AutoAddGroupOwner: jsii.Boolean(false), // // // the properties below are optional // GroupOwner: jsii.String("groupOwner"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html // type CfnResourceDefinition_LocalVolumeResourceDataProperty struct { // The absolute local path of the resource in the Lambda environment. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html#cfn-greengrass-resourcedefinition-localvolumeresourcedata-destinationpath // DestinationPath *string `field:"required" json:"destinationPath" yaml:"destinationPath"` // The local absolute path of the volume resource on the host. // // The source path for a volume resource type cannot start with `/sys` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html#cfn-greengrass-resourcedefinition-localvolumeresourcedata-sourcepath // SourcePath *string `field:"required" json:"sourcePath" yaml:"sourcePath"` // Settings that define additional Linux OS group permissions to give to the Lambda function process. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html#cfn-greengrass-resourcedefinition-localvolumeresourcedata-groupownersetting // GroupOwnerSetting interface{} `field:"optional" json:"groupOwnerSetting" yaml:"groupOwnerSetting"` }