Dimension

class aws_cdk.aws_cloudwatch.Dimension(*, name, value)

Bases: object

Metric dimension.

Parameters:
  • name (str) – Name of the dimension.

  • value (Any) – Value of the dimension.

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html

ExampleMetadata:

fixture=_generated

Example:

# 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

# value: Any

dimension = cloudwatch.Dimension(
    name="name",
    value=value
)

Attributes

name

Name of the dimension.

value

Value of the dimension.