interface TriggerProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins.CfnPlanPropsMixin.TriggerProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsarcregionswitch/mixins#CfnPlanPropsMixin_TriggerProperty |
Java | software.amazon.awscdk.mixins.preview.services.arcregionswitch.mixins.CfnPlanPropsMixin.TriggerProperty |
Python | aws_cdk.mixins_preview.aws_arcregionswitch.mixins.CfnPlanPropsMixin.TriggerProperty |
TypeScript | @aws-cdk/mixins-preview » aws_arcregionswitch » mixins » CfnPlanPropsMixin » TriggerProperty |
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 { mixins as arcregionswitch_mixins } from '@aws-cdk/mixins-preview/aws-arcregionswitch';
const triggerProperty: arcregionswitch_mixins.CfnPlanPropsMixin.TriggerProperty = {
action: 'action',
conditions: [{
associatedAlarmName: 'associatedAlarmName',
condition: 'condition',
}],
description: 'description',
minDelayMinutesBetweenExecutions: 123,
targetRegion: 'targetRegion',
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | string | The action to perform when the trigger fires. |
| conditions? | IResolvable | (IResolvable | Trigger)[] | The conditions that must be met for the trigger to fire. |
| description? | string | The description for a trigger. |
| min | number | The minimum time, in minutes, that must elapse between automatic executions of the plan. |
| target | string | The AWS Region for a trigger. |
action?
Type:
string
(optional)
The action to perform when the trigger fires.
Valid values include ACTIVATE and DEACTIVATE.
conditions?
Type:
IResolvable | (IResolvable | Trigger)[]
(optional)
The conditions that must be met for the trigger to fire.
description?
Type:
string
(optional)
The description for a trigger.
minDelayMinutesBetweenExecutions?
Type:
number
(optional)
The minimum time, in minutes, that must elapse between automatic executions of the plan.
targetRegion?
Type:
string
(optional)
The AWS Region for a trigger.

.NET
Go
Java
Python
TypeScript