Skip to content
v2.275.0

TriggerConditionProperty Struct ​

Defines a condition that must be met for a trigger to fire.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_arcregionswitch as arcregionswitch } from 'aws-cdk-lib';
const triggerConditionProperty: arcregionswitch.CfnPlan.TriggerConditionProperty = {
  associatedAlarmName: 'associatedAlarmName',
  condition: 'condition',
};

Properties ​

associatedAlarmNamestringassociated_alarm_namestrassociatedAlarmNameStringAssociatedAlarmNamestringAssociatedAlarmName*stringrequired#
The name of the CloudWatch alarm associated with the condition.
conditionstringconditionstrconditionStringConditionstringCondition*stringrequired#
The condition that must be met.

Valid values include ALARM and OK.