aws.ec2.describe_capacity_block_offerings
Example SQL Queries
SELECT * FROMaws.ec2.describe_capacity_block_offeringsWHERE"instance_type" = 'VALUE'AND "instance_count" = 'VALUE'AND "capacity_duration_hours" = 'VALUE';Description
Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a specific instance type for a period of time.
Table Definition
| Column Name | Column Data Type |
|---|---|
| capacity_duration_hours Required Input Column The number of hours for which to reserve Capacity Block. | BIGINT |
| instance_count Required Input Column The number of instances in the Capacity Block offering. | BIGINT |
| instance_type Required Input Column The instance type of the Capacity Block offering. | VARCHAR |
| dry_run Input Column 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. | BOOLEAN |
| end_date_range Input Column The latest end date for the Capacity Block offering. | TIMESTAMP_S |
| start_date_range Input Column The earliest start date for the Capacity Block offering. | TIMESTAMP_S |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| availability_zone The Availability Zone of the Capacity Block offering. | VARCHAR |
| capacity_block_duration_hours The amount of time of the Capacity Block reservation in hours. | BIGINT |
| capacity_block_offering_id The ID of the Capacity Block offering. | VARCHAR |
| currency_code The currency of the payment for the Capacity Block. | VARCHAR |
| end_date The end date of the Capacity Block offering. | TIMESTAMP_S |
| start_date The start date of the Capacity Block offering. | TIMESTAMP_S |
| tenancy The tenancy of the Capacity Block. | VARCHAR |
| upfront_fee The total price to be paid up front. | VARCHAR |