AlarmReference

class aws_cdk.aws_lightsail.AlarmReference(*, alarm_arn, alarm_name)

Bases: object

A reference to a Alarm resource.

Parameters:
  • alarm_arn (str) – The ARN of the Alarm resource.

  • alarm_name (str) – The AlarmName of the Alarm resource.

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_lightsail as lightsail

alarm_reference = lightsail.AlarmReference(
    alarm_arn="alarmArn",
    alarm_name="alarmName"
)

Attributes

alarm_arn

The ARN of the Alarm resource.

alarm_name

The AlarmName of the Alarm resource.