Service configurations for resource groups
Resource groups enable you to manage collections of your Amazon resources as a unit. Some
Amazon services support this by performing requested operations on all members of the group.
Such services can store the settings to be applied to group members as a
configuration in the form of a JSON
This topic describes the available configuration settings for supported Amazon services.
Topics
How to access the service configuration attached to a resource group
Services that support service-linked groups typically set the configuration for you when you use the tools provided by that service, such as that service's management console or its Amazon CLI and Amazon SDK operations. Some services fully manage their service-linked groups and you can't modify them in any way except as allowed by the console or commands provided by the owning Amazon service. However, in some cases, you can interact with the service configuration by using the following API operations in the Amazon SDKs or their Amazon CLI equivalents:
-
You can attach your own configuration to a group when you create the group by using the CreateGroup operation.
-
You can modify the current configuration attached to a group by using the PutGroupConfiguration operation.
-
You can view the current configuration of a resource group by calling the GetGroupConfiguration operation.
JSON syntax of a service configuration
A resource group can contain a configuration that defines service-specific settings that apply to the resources that are members of that group.
A configuration is expressed as a JSONType
for the configuration and a set of Parameters
defined
by that type. Each parameter contains a Name
and an array of one or more
Values
. The following example with
placeholders
shows the basic syntax for a configuration
for a single sample resource type. This example shows a type with two parameters, and
each parameter with two values. The actual valid types, parameters, and values are
discussed in the next section.
[ { "Type": "
configuration-type
", "Parameters": [ { "Name": "parameter1-name
", "Values": [ "value1", "value2" ] }, { "Name": "parameter2-name
", "Values": [ "value3", "value4" ] } ] } ]