interface ControlConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ARCZonalShift.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsarczonalshift#CfnZonalAutoshiftConfigurationPropsMixin_ControlConditionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.arczonalshift.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty |
Python | aws_cdk.cfn_property_mixins.aws_arczonalshift.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_arczonalshift » CfnZonalAutoshiftConfigurationPropsMixin » ControlConditionProperty |
A control condition is an alarm that you specify for a practice run.
When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm , to monitor application health during practice runs and, optionally, a blocking alarm , to block practice runs from starting or to interrupt a practice run in progress.
Control condition alarms do not apply for autoshifts.
For more information, see Considerations when you configure zonal autoshift in the ARC Developer Guide.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_arczonalshift as arczonalshift } from '@aws-cdk/cfn-property-mixins';
const controlConditionProperty: arczonalshift.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty = {
alarmIdentifier: 'alarmIdentifier',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| alarm | string | The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run. |
| type? | string | The type of alarm specified for a practice run. |
alarmIdentifier?
Type:
string
(optional)
The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.
type?
Type:
string
(optional)
The type of alarm specified for a practice run.
You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is CLOUDWATCH .

.NET
Go
Java
Python
TypeScript