DescribePlacementGroupsRequest
¶
Source code in docs_src/capo_ec2/types/describe_placement_groups_request.py
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
Checks whether you have the required permissions for the operation, 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.
filters
instance-attribute
¶
filters: NotRequired[FilterList]
The filters.
-
group-name- The name of the placement group. -
group-arn- The Amazon Resource Name (ARN) of the placement group. -
spread-level- The spread level for the placement group (host|rack). -
state- The state of the placement group (pending|available|deleting|deleted). -
strategy- The strategy of the placement group (cluster|spread|partition|precision-time). -
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
group_ids
instance-attribute
¶
group_ids: NotRequired[PlacementGroupIdStringList]
The IDs of the placement groups.
group_names
instance-attribute
¶
group_names: NotRequired[PlacementGroupStringList]
The names of the placement groups.
Constraints:
-
You can specify a name only if the placement group is owned by your account.
-
If a placement group is shared with your account, specifying the name results in an error. You must use the
GroupIdparameter instead.