Application groups are logical collections of related stacks that can be managed together for configuration and monitoring purposes. They enable bulk operations like alert configuration across multiple stacks that share common characteristics.
id
integerThe unique identifier of the application group.
name
stringThe name of the application group (1-128 characters).
account_id
integerThe ID of the account that owns this application group.
created_at
stringThe ISO 8601 timestamp when the application group was created.
updated_at
stringThe ISO 8601 timestamp when the application group was last updated.
rules
arrayArray of rules that determine which stacks belong to this group (based on name, tag, branch, environment, or ID).
stacks
arrayArray of stacks that currently belong to this application group.
Grouping Rules: Application groups can automatically include stacks based on various criteria:
- name: Stack name patterns
- tag: Stack tags
- branch: Git branch names
- environment: Environment names (e.g., production, staging)
- id: Specific stack IDs
Use Cases:
- Bulk Alert Configuration: Set notification preferences for all stacks in a group
- Environment Management: Group stacks by environment for consistent operations
- Team Organization: Organize stacks by team or project ownership
Example
{
"id": 5678,
"name": "Production Apps",
"account_id": 12345,
"created_at": "2023-01-15T10:30:00Z",
"updated_at": "2024-02-20T14:45:00Z",
"rules": [
{
"type": "environment",
"value": "production"
},
{
"type": "tag",
"value": "web-app"
}
],
"stacks": [
{
"uid": "abc123def456",
"name": "my-web-app"
}
]
}