Class: Aws::WorkSpaces::Types::ImageSourceIdentifier

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

Overview

Note:

ImageSourceIdentifier is a union - when making an API calls you must set exactly one of the members.

Note:

ImageSourceIdentifier is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ImageSourceIdentifier corresponding to the set member.

Describes the image import source.

Defined Under Namespace

Classes: Ec2ImageId, Ec2ImportTaskId, ImageBuildVersionArn, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_image_idString

The identifier of the EC2 image.

Returns:

  • (String)


3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 3136

class ImageSourceIdentifier < Struct.new(
  :ec2_import_task_id,
  :image_build_version_arn,
  :ec2_image_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Ec2ImportTaskId < ImageSourceIdentifier; end
  class ImageBuildVersionArn < ImageSourceIdentifier; end
  class Ec2ImageId < ImageSourceIdentifier; end
  class Unknown < ImageSourceIdentifier; end
end

#ec2_import_task_idString

The EC2 import task ID to import the image from the Amazon EC2 VM import process.

Returns:

  • (String)


3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 3136

class ImageSourceIdentifier < Struct.new(
  :ec2_import_task_id,
  :image_build_version_arn,
  :ec2_image_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Ec2ImportTaskId < ImageSourceIdentifier; end
  class ImageBuildVersionArn < ImageSourceIdentifier; end
  class Ec2ImageId < ImageSourceIdentifier; end
  class Unknown < ImageSourceIdentifier; end
end

#image_build_version_arnString

The ARN of the EC2 Image Builder image.

Returns:

  • (String)


3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 3136

class ImageSourceIdentifier < Struct.new(
  :ec2_import_task_id,
  :image_build_version_arn,
  :ec2_image_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Ec2ImportTaskId < ImageSourceIdentifier; end
  class ImageBuildVersionArn < ImageSourceIdentifier; end
  class Ec2ImageId < ImageSourceIdentifier; end
  class Unknown < ImageSourceIdentifier; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3136
3137
3138
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 3136

def unknown
  @unknown
end