Class: Aws::Snowball::Types::Ec2AmiResource

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

Overview

Note:

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

{
  ami_id: "AmiId", # required
  snowball_ami_id: "String",
}

A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2 AMI ID and the Snowball Edge AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the AWS Cloud and on the device.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ami_idString

The ID of the AMI in Amazon EC2.

Returns:

  • (String)


1032
1033
1034
1035
1036
1037
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 1032

class Ec2AmiResource < Struct.new(
  :ami_id,
  :snowball_ami_id)
  SENSITIVE = []
  include Aws::Structure
end

#snowball_ami_idString

The ID of the AMI on the Snowball Edge device.

Returns:

  • (String)


1032
1033
1034
1035
1036
1037
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 1032

class Ec2AmiResource < Struct.new(
  :ami_id,
  :snowball_ami_id)
  SENSITIVE = []
  include Aws::Structure
end