ResourceGroups / Client / get_group
get_group#
- ResourceGroups.Client.get_group(**kwargs)#
Returns information about a specified resource group.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:GetGroup
See also: AWS API Documentation
Request Syntax
response = client.get_group( GroupName='string', Group='string' )
- Parameters:
GroupName (string) – Deprecated - don’t use this parameter. Use
Group
instead.Group (string) – The name or the Amazon resource name (ARN) of the resource group to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ 'Group': { 'GroupArn': 'string', 'Name': 'string', 'Description': 'string', 'Criticality': 123, 'Owner': 'string', 'DisplayName': 'string', 'ApplicationTag': { 'string': 'string' } } }
Response Structure
(dict) –
Group (dict) –
A structure that contains the metadata details for the specified resource group. Use GetGroupQuery and GetGroupConfiguration to get those additional details of the resource group.
GroupArn (string) –
The Amazon resource name (ARN) of the resource group.
Name (string) –
The name of the resource group.
Description (string) –
The description of the resource group.
Criticality (integer) –
The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.
Owner (string) –
A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.
DisplayName (string) –
The name of the application group, which you can change at any time.
ApplicationTag (dict) –
A tag that defines the application group membership. This tag is only supported for application groups.
(string) –
(string) –
Exceptions
ResourceGroups.Client.exceptions.BadRequestException
ResourceGroups.Client.exceptions.ForbiddenException
ResourceGroups.Client.exceptions.NotFoundException
ResourceGroups.Client.exceptions.MethodNotAllowedException
ResourceGroups.Client.exceptions.TooManyRequestsException
ResourceGroups.Client.exceptions.InternalServerErrorException