Class: Aws::EC2::Types::BundleInstanceRequest

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

Overview

Contains the parameters for BundleInstance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


4282
4283
4284
4285
4286
4287
4288
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4282

class BundleInstanceRequest < Struct.new(
  :instance_id,
  :storage,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the instance to bundle.

Default: None

Returns:

  • (String)


4282
4283
4284
4285
4286
4287
4288
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4282

class BundleInstanceRequest < Struct.new(
  :instance_id,
  :storage,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#storageTypes::Storage

The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.

Returns:



4282
4283
4284
4285
4286
4287
4288
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4282

class BundleInstanceRequest < Struct.new(
  :instance_id,
  :storage,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end