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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3673
3674
3675
3676
3677
3678
3679
# File 'lib/aws-sdk-ec2/types.rb', line 3673

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

#instance_idString

The ID of the instance to bundle.

Type: String

Default: None

Required: Yes

Returns:

  • (String)


3673
3674
3675
3676
3677
3678
3679
# File 'lib/aws-sdk-ec2/types.rb', line 3673

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:



3673
3674
3675
3676
3677
3678
3679
# File 'lib/aws-sdk-ec2/types.rb', line 3673

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