@Stability(value=Stable) public static final class CfnAlarmModel.Builder extends Object implements software.amazon.jsii.Builder<CfnAlarmModel>
CfnAlarmModel.| Modifier and Type | Method and Description |
|---|---|
CfnAlarmModel.Builder |
alarmCapabilities(CfnAlarmModel.AlarmCapabilitiesProperty alarmCapabilities)
Contains the configuration information of alarm state changes.
|
CfnAlarmModel.Builder |
alarmCapabilities(IResolvable alarmCapabilities)
Contains the configuration information of alarm state changes.
|
CfnAlarmModel.Builder |
alarmEventActions(CfnAlarmModel.AlarmEventActionsProperty alarmEventActions)
Contains information about one or more alarm actions.
|
CfnAlarmModel.Builder |
alarmEventActions(IResolvable alarmEventActions)
Contains information about one or more alarm actions.
|
CfnAlarmModel.Builder |
alarmModelDescription(String alarmModelDescription)
The description of the alarm model.
|
CfnAlarmModel.Builder |
alarmModelName(String alarmModelName)
The name of the alarm model.
|
CfnAlarmModel.Builder |
alarmRule(CfnAlarmModel.AlarmRuleProperty alarmRule)
Defines when your alarm is invoked.
|
CfnAlarmModel.Builder |
alarmRule(IResolvable alarmRule)
Defines when your alarm is invoked.
|
CfnAlarmModel |
build() |
static CfnAlarmModel.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAlarmModel.Builder |
key(String key)
An input attribute used as a key to create an alarm.
|
CfnAlarmModel.Builder |
roleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
CfnAlarmModel.Builder |
severity(Number severity)
A non-negative integer that reflects the severity level of the alarm.
|
CfnAlarmModel.Builder |
tags(List<? extends CfnTag> tags)
A list of key-value pairs that contain metadata for the alarm model.
|
@Stability(value=Stable) public static CfnAlarmModel.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAlarmModel.AcknowledgeFlowProperty.Builder.@Stability(value=Stable) public CfnAlarmModel.Builder alarmRule(CfnAlarmModel.AlarmRuleProperty alarmRule)
alarmRule - Defines when your alarm is invoked. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder alarmRule(IResolvable alarmRule)
alarmRule - Defines when your alarm is invoked. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder roleArn(String roleArn)
For more information, see Amazon Resource Names (ARNs) in the AWS General Reference .
roleArn - The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder alarmCapabilities(CfnAlarmModel.AlarmCapabilitiesProperty alarmCapabilities)
alarmCapabilities - Contains the configuration information of alarm state changes. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder alarmCapabilities(IResolvable alarmCapabilities)
alarmCapabilities - Contains the configuration information of alarm state changes. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder alarmEventActions(CfnAlarmModel.AlarmEventActionsProperty alarmEventActions)
alarmEventActions - Contains information about one or more alarm actions. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder alarmEventActions(IResolvable alarmEventActions)
alarmEventActions - Contains information about one or more alarm actions. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder alarmModelDescription(String alarmModelDescription)
alarmModelDescription - The description of the alarm model. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder alarmModelName(String alarmModelName)
alarmModelName - The name of the alarm model. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder key(String key)
AWS IoT Events routes inputs associated with this key to the alarm.
key - An input attribute used as a key to create an alarm. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder severity(Number severity)
severity - A non-negative integer that reflects the severity level of the alarm. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel.Builder tags(List<? extends CfnTag> tags)
The tags help you manage the alarm model. For more information, see Tagging your AWS IoT Events resources in the AWS IoT Events Developer Guide .
You can create up to 50 tags for one alarm model.
tags - A list of key-value pairs that contain metadata for the alarm model. This parameter is required.this@Stability(value=Stable) public CfnAlarmModel build()
build in interface software.amazon.jsii.Builder<CfnAlarmModel>Copyright © 2022. All rights reserved.