Interface AlarmReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AlarmReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:44.696Z")
@Stability(Stable)
public interface AlarmReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Alarm resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;
AlarmReference alarmReference = AlarmReference.builder()
.alarmArn("alarmArn")
.alarmName("alarmName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAlarmReferencestatic final classAn implementation forAlarmReference -
Method Summary
Modifier and TypeMethodDescriptionstatic AlarmReference.Builderbuilder()The ARN of the Alarm resource.The AlarmName of the Alarm resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlarmArn
The ARN of the Alarm resource. -
getAlarmName
The AlarmName of the Alarm resource. -
builder
- Returns:
- a
AlarmReference.BuilderofAlarmReference
-