AWS::CloudWatch::ViewResource Type definition for AWS::CloudWatch::View. A view is a named, reusable SQL query that can be referenced from CloudWatch telemetry queries. View names must be unique within the account and region.
4 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Definition | string | Required |
Description | string | |
Name | string | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the view. |
CreatedAt | string | The timestamp when the view was created. |
Type | string | The ownership category of the view. Views created through CloudFormation are always USER views; MANAGED views are provisioned by AWS. |
UpdatedAt | string | The timestamp when the view was last updated. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudWatch::View
Resources:
MyResource:
Type: AWS::CloudWatch::View
Properties:
Definition: "value"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudwatch:CreateViewcloudwatch:TagResourcecloudwatch:GetViewcloudwatch:ListTagsForResourcecloudwatch:UpdateViewcloudwatch:GetViewcloudwatch:TagResourcecloudwatch:UntagResourcecloudwatch:ListTagsForResourcecloudwatch:DeleteViewcloudwatch:GetViewcloudwatch:ListTagsForResourcecloudwatch:ListViewsEverything you need to know about CloudWatch on one page. HD quality, print-friendly.
Download Free InfographicNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Name