IAlarm¶
-
class
aws_cdk.aws_cloudwatch.
IAlarm
(*args, **kwds)¶ Bases:
aws_cdk.aws_cloudwatch.IAlarmRule
,aws_cdk.core.IResource
,typing_extensions.Protocol
Represents a CloudWatch Alarm.
Methods
-
render_alarm_rule
()¶ serialized representation of Alarm Rule to be used when building the Composite Alarm resource.
- Return type
str
Attributes
-
alarm_arn
¶ cloudwatch:::alarm:Foo).
- Attribute
true
- Type
Alarm ARN (i.e. arn
- Type
aws
- Return type
str
-
alarm_name
¶ Name of the alarm.
- Attribute
true
- Return type
str
-
env
¶ The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Return type
-
node
¶ The construct tree node for this construct.
- Return type
-