@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.270Z") @Stability(value=Experimental) 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)
(experimental) Trigger this action if the alarm fires.
|
void |
addInsufficientDataAction(IAlarmAction... actions)
(experimental) Trigger this action if there is insufficient data to evaluate the alarm.
|
void |
addOkAction(IAlarmAction... actions)
(experimental) Trigger this action if the alarm returns from breaching state into ok state.
|
protected List<String> |
getAlarmActionArns() |
abstract String |
getAlarmArn()
(experimental) Alarm ARN (i.e.
|
abstract String |
getAlarmName()
(experimental) Name of the alarm.
|
protected List<String> |
getInsufficientDataActionArns() |
protected List<String> |
getOkActionArns() |
String |
renderAlarmRule()
(experimental) 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, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AlarmBase(software.amazon.jsii.JsiiObjectRef objRef)
protected AlarmBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
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=Experimental)
protected AlarmBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental)
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=Experimental)
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=Experimental)
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=Experimental) @NotNull public String renderAlarmRule()
renderAlarmRule in interface IAlarmRule@Stability(value=Experimental) @NotNull public abstract String getAlarmArn()
getAlarmArn in interface IAlarm@Stability(value=Experimental) @NotNull public abstract String getAlarmName()
getAlarmName in interface IAlarm@Stability(value=Experimental) @Nullable protected List<String> getAlarmActionArns()
@Stability(value=Experimental)
protected void setAlarmActionArns(@Nullable
List<String> value)
@Stability(value=Experimental) @Nullable protected List<String> getInsufficientDataActionArns()
@Stability(value=Experimental)
protected void setInsufficientDataActionArns(@Nullable
List<String> value)
Copyright © 2021. All rights reserved.