Class: Aws::EC2::Types::ImageMetadata

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

Overview

Information about the AMI.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_date ⇒ String

The date and time the AMI was created.

Returns:

  • (String)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#deprecation_time ⇒ String

The deprecation date and time of the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ.

Returns:

  • (String)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#image_allowed ⇒ Boolean

If true, the AMI satisfies the criteria for Allowed AMIs and can be discovered and used in the account. If false, the AMI can't be discovered or used in the account.

For more information, see Control the discovery and use of AMIs in Amazon EC2 with Allowed AMIs in Amazon EC2 User Guide.

Returns:

  • (Boolean)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#image_id ⇒ String

The ID of the AMI.

Returns:

  • (String)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#image_owner_alias ⇒ String

The alias of the AMI owner.

Valid values: amazon | aws-backup-vault | aws-marketplace

Returns:

  • (String)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#image_watermarks ⇒ Array<Types::ImageWatermark>

The watermarks attached to the AMI.

Returns:



53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#is_public ⇒ Boolean

Indicates whether the AMI has public launch permissions. A value of true means this AMI has public launch permissions, while false means it has only implicit (AMI owner) or explicit (shared with your account) launch permissions.

Returns:

  • (Boolean)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the AMI.

Returns:

  • (String)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#owner_id ⇒ String

The ID of the Amazon Web Services account that owns the AMI.

Returns:

  • (String)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The current state of the AMI. If the state is available, the AMI is successfully registered and can be used to launch an instance.

Returns:

  • (String)


53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 53697

class ImageMetadata < Struct.new(
  :image_id,
  :name,
  :owner_id,
  :state,
  :image_owner_alias,
  :creation_date,
  :deprecation_time,
  :image_allowed,
  :is_public,
  :image_watermarks)
  SENSITIVE = []
  include Aws::Structure
end