AlarmReference

class aws_cdk.interfaces.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.interfaces import aws_lightsail as interfaces_lightsail

alarm_reference = interfaces_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.