Class: Aws::EC2::Types::PurchaseCapacityBlockRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_block_offering_id ⇒ String

The ID of the Capacity Block offering.

Returns:

  • (String)


77149
77150
77151
77152
77153
77154
77155
77156
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77149

class PurchaseCapacityBlockRequest < Struct.new(
  :dry_run,
  :tag_specifications,
  :capacity_block_offering_id,
  :instance_platform)
  SENSITIVE = []
  include Aws::Structure
end

#dry_run ⇒ Boolean

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)


77149
77150
77151
77152
77153
77154
77155
77156
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77149

class PurchaseCapacityBlockRequest < Struct.new(
  :dry_run,
  :tag_specifications,
  :capacity_block_offering_id,
  :instance_platform)
  SENSITIVE = []
  include Aws::Structure
end

#instance_platform ⇒ String

The type of operating system for which to reserve capacity.

Returns:

  • (String)


77149
77150
77151
77152
77153
77154
77155
77156
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77149

class PurchaseCapacityBlockRequest < Struct.new(
  :dry_run,
  :tag_specifications,
  :capacity_block_offering_id,
  :instance_platform)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specifications ⇒ Array<Types::TagSpecification>

The tags to apply to the Capacity Block during launch.

Returns:



77149
77150
77151
77152
77153
77154
77155
77156
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77149

class PurchaseCapacityBlockRequest < Struct.new(
  :dry_run,
  :tag_specifications,
  :capacity_block_offering_id,
  :instance_platform)
  SENSITIVE = []
  include Aws::Structure
end