Group declaration creates a group of nested items. Groups are useful for organizing related definitions together.
Nested items are accessed by combining the group name and item name with
::. For example, use
Reporting::Message to access the variable
Message in the group
Group: String Description: String Items: - ItemDefinition
Descriptionattribute specifies the group description.
Itemssection specifies the items defined in the group, such as parameters, variables, resources, conditions, mappings, functions, nested stacks, resource type definitions, macro definitions, and module imports.
Type: List of Item Definition
Groupattribute specifies the item name. The name must start with a letter and followed only by letters or digits. Punctuation marks are not allowed. All names are case-sensitive.
Organize related resources
- Group: Accounting Description: Resources for accounting capabilities Items: - Resource: LoggingBucket Type: AWS::S3::Bucket - Resource: ReportTopic Type: AWS::SNS::Topic - Variable: TopicForAccountingReports Value: !Ref Accounting::ReportTopic