String name
The name of the group, which is the identifier of the group in other operations. A resource group name cannot be
updated after it is created. A resource group name can have a maximum of 128 characters, including letters,
numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws; these
are reserved. A resource group name must be unique within your account.
String description
The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
ResourceQuery resourceQuery
The resource query that determines which AWS resources are members of this group.
Map<K,V> tags
The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Group group
A full description of the resource group after it is created.
ResourceQuery resourceQuery
The resource query associated with the group.
Map<K,V> tags
The tags associated with the group.
String groupName
The name of the resource group to delete.
Group group
A full description of the deleted resource group.
String groupName
The name of the resource group.
GroupQuery groupQuery
The resource query associated with the specified group.
String groupName
The name of the resource group.
Group group
A full description of the resource group.
String arn
The ARN of the resource group for which you want a list of tags. The resource must exist within the account you are using.
String groupName
The name of a resource group that is associated with a specific resource query.
ResourceQuery resourceQuery
The resource query which determines which AWS resources are members of the associated resource group.
String groupName
The name of the resource group.
List<E> filters
Filters, formatted as ResourceFilter objects, that you want to apply to a ListGroupResources operation.
resource-type - Filter resources by their type. Specify up to five resource types in the format
AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
Integer maxResults
The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.
String nextToken
The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.
List<E> resourceIdentifiers
The ARNs and resource types of resources that are members of the group that you specified.
String nextToken
The NextToken value to include in a subsequent ListGroupResources request, to get more results.
List<E> queryErrors
A list of QueryError objects. Each error is an object that contains ErrorCode and
Message structures. Possible values for ErrorCode are
CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.
List<E> filters
Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.
resource-type - Filter groups by resource type. Specify up to five resource types in the format
AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
Integer maxResults
The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.
String nextToken
The NextToken value that is returned in a paginated ListGroups request. To get the next page of
results, run the call again, add the NextToken parameter, and specify the NextToken value.
List<E> groupIdentifiers
A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.
List<E> groups
A list of resource groups.
String nextToken
The NextToken value to include in a subsequent ListGroups request, to get more results.
String errorCode
Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING
.
String message
A message that explains the ErrorCode value. Messages might state that the specified CloudFormation
stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically
states that the CloudFormation stack has a status that is not (or no longer) active, such as
CREATE_FAILED.
String type
The type of the query. The valid values in this release are TAG_FILTERS_1_0 and
CLOUDFORMATION_STACK_1_0.
TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag filters for
resource types and tags, as supported by the AWS Tagging API GetResources operation. If you specify more than one tag key, only resources that match all tag keys, and at
least one value of each specified tag key, are returned in your query. If you specify more than one value for a
tag key, a resource matches the filter if it has a tag key value that matches any of the specified values.
For example, consider the following sample query for resources that have two tags, Stage and
Version, with two values each. (
[{"Key":"Stage","Values":["Test","Deploy"]},{"Key":"Version","Values":["1","2"]}]) The results of
this query might include the following.
An EC2 instance that has the following two tags: {"Key":"Stage","Value":"Deploy"}, and
{"Key":"Version","Value":"2"}
An S3 bucket that has the following two tags: {"Key":"Stage","Value":"Test"}, and {"Key":"Version","Value":"1"}
The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter.
An EC2 instance that has only the following tag: {"Key":"Stage","Value":"Deploy"}.
An RDS database that has the following two tags: {"Key":"Stage","Value":"Archived"}, and
{"Key":"Version","Value":"4"}
CLOUDFORMATION_STACK_1_0: A JSON syntax that lets you specify a CloudFormation stack ARN.
String query
The query that defines a group or a search.
ResourceQuery resourceQuery
The search query, using the same formats that are supported for resource group definition.
Integer maxResults
The maximum number of group member ARNs returned by SearchResources in paginated output. By default,
this number is 50.
String nextToken
The NextToken value that is returned in a paginated SearchResources request. To get the next page of
results, run the call again, add the NextToken parameter, and specify the NextToken value.
List<E> resourceIdentifiers
The ARNs and resource types of resources that are members of the group that you specified.
String nextToken
The NextToken value to include in a subsequent SearchResources request, to get more results.
List<E> queryErrors
A list of QueryError objects. Each error is an object that contains ErrorCode and
Message structures. Possible values for ErrorCode are
CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.
String groupName
The name of the resource group for which you want to edit the query.
ResourceQuery resourceQuery
The resource query that determines which AWS resources are members of the resource group.
GroupQuery groupQuery
The resource query associated with the resource group after the update.
Group group
The full description of the resource group after it has been updated.
Copyright © 2019. All rights reserved.