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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#ami_idString

The ID of the AMI in Amazon EC2.

Returns:

  • (String)


909
910
911
912
913
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 909

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

#snowball_ami_idString

The ID of the AMI on the Snowball Edge device.

Returns:

  • (String)


909
910
911
912
913
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 909

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