Class: Aws::Greengrass::Types::CreateResourceDefinitionRequest

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

{
  amzn_client_token: "__string",
  initial_version: {
    resources: [
      {
        id: "__string", # required
        name: "__string", # required
        resource_data_container: { # required
          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",
          },
          s3_machine_learning_model_resource_data: {
            destination_path: "__string",
            owner_setting: {
              group_owner: "__string", # required
              group_permission: "ro", # required, accepts ro, rw
            },
            s3_uri: "__string",
          },
          sage_maker_machine_learning_model_resource_data: {
            destination_path: "__string",
            owner_setting: {
              group_owner: "__string", # required
              group_permission: "ro", # required, accepts ro, rw
            },
            sage_maker_job_arn: "__string",
          },
          secrets_manager_secret_resource_data: {
            arn: "__string",
            additional_staging_labels_to_download: ["__string"],
          },
        },
      },
    ],
  },
  name: "__string",
  tags: {
    "__string" => "__string",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


1492
1493
1494
1495
1496
1497
1498
1499
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1492

class CreateResourceDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#initial_versionTypes::ResourceDefinitionVersion

Information about a resource definition version.



1492
1493
1494
1495
1496
1497
1498
1499
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1492

class CreateResourceDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Returns:

  • (String)


1492
1493
1494
1495
1496
1497
1498
1499
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1492

class CreateResourceDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The key-value pair for the resource tag.

Returns:

  • (Hash<String,String>)


1492
1493
1494
1495
1496
1497
1498
1499
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1492

class CreateResourceDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end