Class CfnAlarmModelPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModelPropsMixin>
- Enclosing class:
CfnAlarmModelPropsMixin
@Stability(Stable)
public static final class CfnAlarmModelPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModelPropsMixin>
A fluent builder for
CfnAlarmModelPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionalarmCapabilities(CfnAlarmModelPropsMixin.AlarmCapabilitiesProperty alarmCapabilities) Contains the configuration information of alarm state changes.alarmCapabilities(IResolvable alarmCapabilities) Contains the configuration information of alarm state changes.alarmEventActions(CfnAlarmModelPropsMixin.AlarmEventActionsProperty alarmEventActions) Contains information about one or more alarm actions.alarmEventActions(IResolvable alarmEventActions) Contains information about one or more alarm actions.alarmModelDescription(String alarmModelDescription) The description of the alarm model.alarmModelName(String alarmModelName) The name of the alarm model.Defines when your alarm is invoked.alarmRule(IResolvable alarmRule) Defines when your alarm is invoked.build()create()create(CfnPropertyMixinOptions options) An input attribute used as a key to create an alarm.The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.A non-negative integer that reflects the severity level of the alarm.A list of key-value pairs that contain metadata for the alarm model.
-
Method Details
-
create
@Stability(Stable) public static CfnAlarmModelPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAlarmModelPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAlarmModelPropsMixin.Builder.
-
alarmCapabilities
@Stability(Stable) public CfnAlarmModelPropsMixin.Builder alarmCapabilities(IResolvable alarmCapabilities) Contains the configuration information of alarm state changes.- Parameters:
alarmCapabilities- Contains the configuration information of alarm state changes. This parameter is required.- Returns:
this- See Also:
-
alarmCapabilities
@Stability(Stable) public CfnAlarmModelPropsMixin.Builder alarmCapabilities(CfnAlarmModelPropsMixin.AlarmCapabilitiesProperty alarmCapabilities) Contains the configuration information of alarm state changes.- Parameters:
alarmCapabilities- Contains the configuration information of alarm state changes. This parameter is required.- Returns:
this- See Also:
-
alarmEventActions
@Stability(Stable) public CfnAlarmModelPropsMixin.Builder alarmEventActions(IResolvable alarmEventActions) Contains information about one or more alarm actions.- Parameters:
alarmEventActions- Contains information about one or more alarm actions. This parameter is required.- Returns:
this- See Also:
-
alarmEventActions
@Stability(Stable) public CfnAlarmModelPropsMixin.Builder alarmEventActions(CfnAlarmModelPropsMixin.AlarmEventActionsProperty alarmEventActions) Contains information about one or more alarm actions.- Parameters:
alarmEventActions- Contains information about one or more alarm actions. This parameter is required.- Returns:
this- See Also:
-
alarmModelDescription
@Stability(Stable) public CfnAlarmModelPropsMixin.Builder alarmModelDescription(String alarmModelDescription) The description of the alarm model.- Parameters:
alarmModelDescription- The description of the alarm model. This parameter is required.- Returns:
this- See Also:
-
alarmModelName
The name of the alarm model.- Parameters:
alarmModelName- The name of the alarm model. This parameter is required.- Returns:
this- See Also:
-
alarmRule
Defines when your alarm is invoked.- Parameters:
alarmRule- Defines when your alarm is invoked. This parameter is required.- Returns:
this- See Also:
-
alarmRule
@Stability(Stable) public CfnAlarmModelPropsMixin.Builder alarmRule(CfnAlarmModelPropsMixin.AlarmRuleProperty alarmRule) Defines when your alarm is invoked.- Parameters:
alarmRule- Defines when your alarm is invoked. This parameter is required.- Returns:
this- See Also:
-
key
An input attribute used as a key to create an alarm.AWS IoT Events routes inputs associated with this key to the alarm.
- Parameters:
key- An input attribute used as a key to create an alarm. This parameter is required.- Returns:
this- See Also:
-
roleArn
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.For more information, see Amazon Resource Names (ARNs) in the AWS General Reference .
- Parameters:
roleArn- The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. This parameter is required.- Returns:
this- See Also:
-
severity
A non-negative integer that reflects the severity level of the alarm.- Parameters:
severity- A non-negative integer that reflects the severity level of the alarm. This parameter is required.- Returns:
this- See Also:
-
tags
A list of key-value pairs that contain metadata for the alarm model.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.
- Parameters:
tags- A list of key-value pairs that contain metadata for the alarm model. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmModelPropsMixin>- Returns:
- a newly built instance of
CfnAlarmModelPropsMixin.
-