@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.211Z") @Stability(value=Stable) public abstract class AlarmBase extends Resource implements IAlarm
software.amazon.jsii.JsiiObject.InitializationModeIAlarm.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
AlarmBase(software.constructs.Construct scope,
String id) |
protected |
AlarmBase(software.constructs.Construct scope,
String id,
ResourceProps props) |
protected |
AlarmBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AlarmBase(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarmAction(IAlarmAction... actions)
Trigger this action if the alarm fires.
|
void |
addInsufficientDataAction(IAlarmAction... actions)
Trigger this action if there is insufficient data to evaluate the alarm.
|
void |
addOkAction(IAlarmAction... actions)
Trigger this action if the alarm returns from breaching state into ok state.
|
protected List<String> |
getAlarmActionArns() |
abstract String |
getAlarmArn()
Alarm ARN (i.e.
|
abstract String |
getAlarmName()
Name of the alarm.
|
protected List<String> |
getInsufficientDataActionArns() |
protected List<String> |
getOkActionArns() |
String |
renderAlarmRule()
AlarmRule indicating ALARM state for Alarm.
|
protected void |
setAlarmActionArns(List<String> value) |
protected void |
setInsufficientDataActionArns(List<String> value) |
protected void |
setOkActionArns(List<String> value) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected AlarmBase(software.amazon.jsii.JsiiObjectRef objRef)
protected AlarmBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected AlarmBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ResourceProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
protected AlarmBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable)
public void addAlarmAction(@NotNull
IAlarmAction... actions)
Typically the ARN of an SNS topic or ARN of an AutoScaling policy.
actions - This parameter is required.@Stability(value=Stable)
public void addInsufficientDataAction(@NotNull
IAlarmAction... actions)
Typically the ARN of an SNS topic or ARN of an AutoScaling policy.
actions - This parameter is required.@Stability(value=Stable)
public void addOkAction(@NotNull
IAlarmAction... actions)
Typically the ARN of an SNS topic or ARN of an AutoScaling policy.
actions - This parameter is required.@Stability(value=Stable) @NotNull public String renderAlarmRule()
renderAlarmRule in interface IAlarmRule@Stability(value=Stable) @NotNull public abstract String getAlarmArn()
getAlarmArn in interface IAlarm@Stability(value=Stable) @NotNull public abstract String getAlarmName()
getAlarmName in interface IAlarm@Stability(value=Stable)
protected void setAlarmActionArns(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable protected List<String> getInsufficientDataActionArns()
@Stability(value=Stable)
protected void setInsufficientDataActionArns(@Nullable
List<String> value)
Copyright © 2022. All rights reserved.