interface TriggerConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins.CfnPlanPropsMixin.TriggerConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsarcregionswitch/mixins#CfnPlanPropsMixin_TriggerConditionProperty |
Java | software.amazon.awscdk.mixins.preview.services.arcregionswitch.mixins.CfnPlanPropsMixin.TriggerConditionProperty |
Python | aws_cdk.mixins_preview.aws_arcregionswitch.mixins.CfnPlanPropsMixin.TriggerConditionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_arcregionswitch » mixins » CfnPlanPropsMixin » 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 { mixins as arcregionswitch_mixins } from '@aws-cdk/mixins-preview/aws-arcregionswitch';
const triggerConditionProperty: arcregionswitch_mixins.CfnPlanPropsMixin.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
(optional)
The name of the CloudWatch alarm associated with the condition.
condition?
Type:
string
(optional)
The condition that must be met.
Valid values include ALARM and OK.

.NET
Go
Java
Python
TypeScript