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

Class: Aws::WorkSpaces::Types::CopyWorkspaceImageRequest

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

Overview

Note:

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

{
  name: "WorkspaceImageName", # required
  description: "WorkspaceImageDescription",
  source_image_id: "WorkspaceImageId", # required
  source_region: "Region", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the image.

Returns:

  • (String)


218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 218

class CopyWorkspaceImageRequest < Struct.new(
  :name,
  :description,
  :source_image_id,
  :source_region,
  :tags)
  include Aws::Structure
end

#nameString

The name of the image.

Returns:

  • (String)


218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 218

class CopyWorkspaceImageRequest < Struct.new(
  :name,
  :description,
  :source_image_id,
  :source_region,
  :tags)
  include Aws::Structure
end

#source_image_idString

The identifier of the source image.

Returns:

  • (String)


218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 218

class CopyWorkspaceImageRequest < Struct.new(
  :name,
  :description,
  :source_image_id,
  :source_region,
  :tags)
  include Aws::Structure
end

#source_regionString

The identifier of the source Region.

Returns:

  • (String)


218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 218

class CopyWorkspaceImageRequest < Struct.new(
  :name,
  :description,
  :source_image_id,
  :source_region,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags for the image.

Returns:



218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 218

class CopyWorkspaceImageRequest < Struct.new(
  :name,
  :description,
  :source_image_id,
  :source_region,
  :tags)
  include Aws::Structure
end