Skip to main content

group_configurations

Creates, updates, deletes, gets or lists a group_configurations resource.

Overview

Namegroup_configurations
TypeResource
Idaws.resource_groups.group_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
configurationarrayThe configuration currently associated with the group and in effect.
failure_reasonstringIf present, the reason why a request to update the group configuration failed.
proposed_configurationarrayIf present, the new configuration that is in the process of being applied to the group.
statusstringThe current status of an attempt to update the group configuration. (UPDATING, UPDATE_COMPLETE, UPDATE_FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_group_configurationselectregionRetrieves the service configuration associated with the specified resource group. For details about the service configuration syntax, see Service configurations for Resource Groups. Minimum permissions To run this command, you must have the following permissions: resource-groups:GetGroupConfiguration
put_group_configurationreplaceregionAttaches a service configuration to the specified group. This occurs asynchronously, and can take time to complete. You can use GetGroupConfiguration to check the status of the update. Minimum permissions To run this command, you must have the following permissions: resource-groups:PutGroupConfiguration

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the service configuration associated with the specified resource group. For details about the service configuration syntax, see Service configurations for Resource Groups. Minimum permissions To run this command, you must have the following permissions: resource-groups:GetGroupConfiguration

SELECT
configuration,
failure_reason,
proposed_configuration,
status
FROM aws.resource_groups.group_configurations
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Attaches a service configuration to the specified group. This occurs asynchronously, and can take time to complete. You can use GetGroupConfiguration to check the status of the update. Minimum permissions To run this command, you must have the following permissions: resource-groups:PutGroupConfiguration

REPLACE aws.resource_groups.group_configurations
SET
Group = '{{ Group }}',
Configuration = '{{ Configuration }}'
WHERE
region = '{{ region }}' --required;