CmdID

CmdID / aws / aws ec2

aws ec2 describe-placement-groups

Describes the specified placement groups or all of your placement groups. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To describe your placement groups

The following describe-placement-groups example describes all of your placement groups.

aws ec2 describe-placement-groupsIdentify
Its output
{
    "PlacementGroups": [
        {
            "GroupName": "my-cluster",
            "State": "available",
            "Strategy": "cluster"
        }
    ]
}

For more information, see Placement groups for your Amazon EC2 instances in the Amazon EC2 User Guide.

Options

4 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.
--filtersThe filters.
--group-idsThe IDs of the placement groups.
--group-namesThe names of the placement groups.