AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GroupResources operation.
Adds the specified resources to the specified group.
You can only use this operation with the following groups:
Other resource group types and resource types are not currently supported by this
operation.
AWS::EC2::HostManagement
AWS::EC2::CapacityReservationPool
AWS::ResourceGroups::ApplicationGroup
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:GroupResources
Namespace: Amazon.ResourceGroups.Model
Assembly: AWSSDK.ResourceGroups.dll
Version: 3.x.y.z
public class GroupResourcesRequest : AmazonResourceGroupsRequest IAmazonWebServiceRequest
The GroupResourcesRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
GroupResourcesRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
Group | System.String |
Gets and sets the property Group. The name or the Amazon resource name (ARN) of the resource group to add resources to. |
|
ResourceArns | System.Collections.Generic.List<System.String> |
Gets and sets the property ResourceArns. The list of Amazon resource names (ARNs) of the resources to be added to the group. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5