aws.ec2.get_groups_for_capacity_reservation
Example SQL Queries
SELECT * FROMaws.ec2.get_groups_for_capacity_reservationWHERE"capacity_reservation_id" = 'VALUE';Description
Lists the resource groups to which a Capacity Reservation has been added.
Table Definition
| Column Name | Column Data Type |
|---|---|
| capacity_reservation_id Required Input Column The ID of the Capacity Reservation. If you specify a Capacity Reservation that is shared with you, the operation returns only Capacity Reservation groups that you own. | 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 |
| _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 |
| group_arn The ARN of the resource group. | VARCHAR |
| owner_id The ID of the Amazon Web Services account that owns the resource group. | VARCHAR |