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

Class: Aws::Greengrass::Types::CreateResourceDefinitionVersionRequest

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 CreateResourceDefinitionVersionRequest data as a hash:

{
  amzn_client_token: "__string",
  resource_definition_id: "__string", # required
  resources: [
    {
      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",
        },
      },
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1085

class CreateResourceDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :resource_definition_id,
  :resources)
  include Aws::Structure
end

#resource_definition_idString

Returns:

  • (String)


1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1085

class CreateResourceDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :resource_definition_id,
  :resources)
  include Aws::Structure
end

#resourcesArray<Types::Resource>

Returns:



1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1085

class CreateResourceDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :resource_definition_id,
  :resources)
  include Aws::Structure
end