SCP::ResourceManager::ResourceGroup
SCP::ResourceManager::ResourceGroup
SCP::ResourceManager::ResourceGroup
Description
A Resource Group that groups the resources owned by the account into a single management unit. Grouped resources are managed, searched, and controlled together.
Version
1.0.0
Syntax
To declare this entity in your Infrastructure Builder template, use the following syntax:
JSON
{
"Type" : "SCP::ResourceManager::ResourceGroup",
"Properties" : {
"Name" : "String",
"Region" : "String",
"Description" : "String",
"ResourceTypes" : [String],
"GroupTags" : [GroupTags, ...]
}
}
YAML
Type: SCP::ResourceManager::ResourceGroup
Properties:
Name: String
Region: String
Description: String
ResourceTypes: [String]
GroupTags:
- GroupTags
Properties
Name
The name of the resource group. - minLength : 3 - maxLength : 64 - pattern : ^[가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z0-9+=,.@_-]+$
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | ^[가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z0-9+=,.\@_-]+$ |
| Length constraints | 3–64 |
| Update requires | Replacement |
Region
The region where the resource group belongs.
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Update requires | Replacement |
Description
A brief explanation or note about this resource group. The key is always sent on create/update (value may be null). - maxLength : 1000
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Length constraints | Max: 1000 |
| Update requires | No interruption |
ResourceTypes
The list of resource types included in the resource group in the form of service:type. Always sent on create/update ([] is valid and clears the list on update).
| Attribute | Value |
|---|---|
| Required | No |
| Type | Array of String |
| Update requires | No interruption |
GroupTags
The group definition tags sent to the resource group create/update API. Optional (omitted when not set).
| Attribute | Value |
|---|---|
| Required | No |
| Type | Array of GroupTags |
| Update requires | No interruption |
For more information, see GroupTags.
Return Values
Ref
When you pass the logical ID of this resource to the Ref function, Ref returns the value of the Id.
Fn::GetAtt
| Attribute | Description |
|---|---|
| Name | The name of the resource group. - minLength : 3 - maxLength : 64 - pattern : ^[가-힣ㄱ-ㅎㅏ-ㅣa-zA-Z0-9+=,.@_-]+$ |
| Region | The region where the resource group belongs. |
| Description | A brief explanation or note about this resource group. The key is always sent on create/update (value may be null). - maxLength : 1000 |
| ResourceTypes | The list of resource types included in the resource group in the form of service:type. Always sent on create/update ([] is valid and clears the list on update). |
| GroupTags | The group definition tags sent to the resource group create/update API. Optional (omitted when not set). |
| Srn | The SCP Resource Name (SRN) of the resource group. |