interface CfnViewProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.CfnViewProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#CfnViewProps |
Java | software.amazon.awscdk.services.cloudwatch.CfnViewProps |
Python | aws_cdk.aws_cloudwatch.CfnViewProps |
TypeScript | aws-cdk-lib » aws_cloudwatch » CfnViewProps |
Properties for defining a CfnView.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-view.html
Example
// 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
| Name | Type | Description |
|---|---|---|
| definition | string | The SQL query that defines the view. |
| description? | string | A description of the view. |
| name? | string | The name of the view. |
| tags? | Cfn[] | An array of key-value pairs to apply to the view. |
definition
Type:
string
The SQL query that defines the view.
description?
Type:
string
(optional)
A description of the view.
name?
Type:
string
(optional)
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.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to the view.

.NET
Go
Java
Python
TypeScript