Skip to content

/AWS1/CL_RGR=>GROUPRESOURCES()

About GroupResources

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

Method Signature

IMPORTING

Required arguments:

IV_GROUP TYPE /AWS1/RGRGROUPSTRING /AWS1/RGRGROUPSTRING

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

IT_RESOURCEARNS TYPE /AWS1/CL_RGRRESOURCEARNLIST_W=>TT_RESOURCEARNLIST TT_RESOURCEARNLIST

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RGRGROUPRESRCSOUTPUT /AWS1/CL_RGRGROUPRESRCSOUTPUT