CfnViewProps
- class aws_cdk.aws_cloudwatch.CfnViewProps(*, definition, description=None, name=None, tags=None)
Bases:
objectProperties for defining a
CfnView.- Parameters:
definition (
str) – The SQL query that defines the view.description (
Optional[str]) – A description of the view.name (
Optional[str]) – 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 (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to the view.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-view.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_cloudwatch as cloudwatch cfn_view_props = cloudwatch.CfnViewProps( definition="definition", # the properties below are optional description="description", name="name", tags=[CfnTag( key="key", value="value" )] )
Attributes
- definition
The SQL query that defines the view.
- description
A description of the view.
- name
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
An array of key-value pairs to apply to the view.