AWS SDK Version 3 for .NET
API Reference

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.

Minimum permissions

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ResourceGroups.AmazonResourceGroupsRequest
      Amazon.ResourceGroups.Model.GroupResourcesRequest

Namespace: Amazon.ResourceGroups.Model
Assembly: AWSSDK.ResourceGroups.dll
Version: 3.x.y.z

Syntax

C#
public class GroupResourcesRequest : AmazonResourceGroupsRequest
         IAmazonWebServiceRequest

The GroupResourcesRequest type exposes the following members

Constructors

NameDescription
Public Method GroupResourcesRequest()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Version Information

.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