You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Greengrass::Types::Resource

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

Overview

Note:

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

{
  id: "__string",
  name: "__string",
  resource_data_container: {
    local_device_resource_data: {
      group_owner_setting: {
        auto_add_group_owner: false,
        group_owner: "__string",
      },
      source_path: "__string",
    },
    local_volume_resource_data: {
      destination_path: "__string",
      group_owner_setting: {
        auto_add_group_owner: false,
        group_owner: "__string",
      },
      source_path: "__string",
    },
  },
}

Information on the resource.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

Resource Id.

Returns:

  • (String)


3886
3887
3888
3889
3890
3891
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3886

class Resource < Struct.new(
  :id,
  :name,
  :resource_data_container)
  include Aws::Structure
end

#nameString

A descriptive resource name.

Returns:

  • (String)


3886
3887
3888
3889
3890
3891
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3886

class Resource < Struct.new(
  :id,
  :name,
  :resource_data_container)
  include Aws::Structure
end

#resource_data_containerTypes::ResourceDataContainer

A container of data for all resource types.



3886
3887
3888
3889
3890
3891
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3886

class Resource < Struct.new(
  :id,
  :name,
  :resource_data_container)
  include Aws::Structure
end