CfnViewProps Struct
Properties for defining a CfnView.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const cfnViewProps: cloudwatch.CfnViewProps = {
definition: 'definition',
// the properties below are optional
description: 'description',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The SQL query that defines the view.
A description of the view.
The name of the view.
Must begin with the "view." prefix followed by lowercase alphanumeric characters, hyphens, and underscores. View names must be unique within the account and region. If not specified, a name is generated.