interface TriggerConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ARCRegionSwitch.CfnPlan.TriggerConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsarcregionswitch#CfnPlan_TriggerConditionProperty |
Java | software.amazon.awscdk.services.arcregionswitch.CfnPlan.TriggerConditionProperty |
Python | aws_cdk.aws_arcregionswitch.CfnPlan.TriggerConditionProperty |
TypeScript | aws-cdk-lib » aws_arcregionswitch » CfnPlan » TriggerConditionProperty |
Defines a condition that must be met for a trigger to fire.
Example
// 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
| Name | Type | Description |
|---|---|---|
| associated | string | The name of the CloudWatch alarm associated with the condition. |
| condition | string | The condition that must be met. |
associatedAlarmName
Type:
string
The name of the CloudWatch alarm associated with the condition.
condition
Type:
string
The condition that must be met.
Valid values include ALARM and OK.

.NET
Go
Java
Python
TypeScript