AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::GreengrassV2::Types::LambdaVolumeMount

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb

Overview

Note:

When making an API call, you may pass LambdaVolumeMount data as a hash:

{
  source_path: "FileSystemPath", # required
  destination_path: "FileSystemPath", # required
  permission: "ro", # accepts ro, rw
  add_group_owner: false,
}

Contains information about a volume that Linux processes in a container can access. When you define a volume, the IoT Greengrass Core software mounts the source files to the destination inside the container.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_group_ownerBoolean

Whether or not to add the IoT Greengrass user group as an owner of the volume.

Default: false

Returns:

  • (Boolean)


2595
2596
2597
2598
2599
2600
2601
2602
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2595

class LambdaVolumeMount < Struct.new(
  :source_path,
  :destination_path,
  :permission,
  :add_group_owner)
  SENSITIVE = []
  include Aws::Structure
end

#destination_pathString

The path to the logical volume in the file system.

Returns:

  • (String)


2595
2596
2597
2598
2599
2600
2601
2602
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2595

class LambdaVolumeMount < Struct.new(
  :source_path,
  :destination_path,
  :permission,
  :add_group_owner)
  SENSITIVE = []
  include Aws::Structure
end

#permissionString

The permission to access the volume: read/only (ro) or read/write (rw).

Default: ro

Returns:

  • (String)


2595
2596
2597
2598
2599
2600
2601
2602
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2595

class LambdaVolumeMount < Struct.new(
  :source_path,
  :destination_path,
  :permission,
  :add_group_owner)
  SENSITIVE = []
  include Aws::Structure
end

#source_pathString

The path to the physical volume in the file system.

Returns:

  • (String)


2595
2596
2597
2598
2599
2600
2601
2602
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 2595

class LambdaVolumeMount < Struct.new(
  :source_path,
  :destination_path,
  :permission,
  :add_group_owner)
  SENSITIVE = []
  include Aws::Structure
end