Interface CfnPlanPropsMixin.TriggerProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlanPropsMixin.TriggerProperty.Jsii$Proxy
- Enclosing class:
CfnPlanPropsMixin
@Stability(Stable)
public static interface CfnPlanPropsMixin.TriggerProperty
extends software.amazon.jsii.JsiiSerializable
Defines a condition that can automatically trigger the execution of a Region switch plan.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.*;
TriggerProperty triggerProperty = TriggerProperty.builder()
.action("action")
.conditions(List.of(TriggerConditionProperty.builder()
.associatedAlarmName("associatedAlarmName")
.condition("condition")
.build()))
.description("description")
.minDelayMinutesBetweenExecutions(123)
.targetRegion("targetRegion")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlanPropsMixin.TriggerPropertystatic final classAn implementation forCfnPlanPropsMixin.TriggerProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe action to perform when the trigger fires.default ObjectThe conditions that must be met for the trigger to fire.default StringThe description for a trigger.default NumberThe minimum time, in minutes, that must elapse between automatic executions of the plan.default StringThe AWS Region for a trigger.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The action to perform when the trigger fires.Valid values include ACTIVATE and DEACTIVATE.
- See Also:
-
getConditions
The conditions that must be met for the trigger to fire.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPlanPropsMixin.TriggerConditionProperty>- See Also:
-
getDescription
The description for a trigger.- See Also:
-
getMinDelayMinutesBetweenExecutions
The minimum time, in minutes, that must elapse between automatic executions of the plan.- See Also:
-
getTargetRegion
The AWS Region for a trigger.- See Also:
-
builder
-