v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1418104117.3 KB

Adds the specified resources to the specified group.

You can use this operation with only resource groups that are configured with the following types:

  • AWS::EC2::HostManagement

  • AWS::EC2::CapacityReservationPool

Other resource group type and resource types aren't currently supported by this operation.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:GroupResources
post/group-resources

Request body

Groupstring required

The name or the ARN of the resource group to add resources to.

ResourceArnsResourceArn[] required

The list of ARNs of the resources to be added to the group.

Response

Success

SucceededResourceArn[]

A list of ARNs of the resources that this operation successfully added to the group.