interface TriggerProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ARCRegionSwitch.CfnPlanPropsMixin.TriggerProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsarcregionswitch#CfnPlanPropsMixin_TriggerProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.TriggerProperty |
Python | aws_cdk.cfn_property_mixins.aws_arcregionswitch.CfnPlanPropsMixin.TriggerProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_arcregionswitch » 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 { aws_arcregionswitch as arcregionswitch } from '@aws-cdk/cfn-property-mixins';
const triggerProperty: arcregionswitch.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