interface ControlConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ARCZonalShift.Mixins.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsarczonalshift/mixins#CfnZonalAutoshiftConfigurationPropsMixin_ControlConditionProperty |
Java | software.amazon.awscdk.mixins.preview.services.arczonalshift.mixins.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty |
Python | aws_cdk.mixins_preview.aws_arczonalshift.mixins.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_arczonalshift » mixins » 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 { mixins as arczonalshift_mixins } from '@aws-cdk/mixins-preview/aws-arczonalshift';
const controlConditionProperty: arczonalshift_mixins.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