interface CfnZonalAutoshiftConfigurationMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ARCZonalShift.Mixins.CfnZonalAutoshiftConfigurationMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsarczonalshift/mixins#CfnZonalAutoshiftConfigurationMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.arczonalshift.mixins.CfnZonalAutoshiftConfigurationMixinProps |
Python | aws_cdk.mixins_preview.aws_arczonalshift.mixins.CfnZonalAutoshiftConfigurationMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_arczonalshift » mixins » CfnZonalAutoshiftConfigurationMixinProps |
Properties for CfnZonalAutoshiftConfigurationPropsMixin.
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 cfnZonalAutoshiftConfigurationMixinProps: arczonalshift_mixins.CfnZonalAutoshiftConfigurationMixinProps = {
practiceRunConfiguration: {
blockedDates: ['blockedDates'],
blockedWindows: ['blockedWindows'],
blockingAlarms: [{
alarmIdentifier: 'alarmIdentifier',
type: 'type',
}],
outcomeAlarms: [{
alarmIdentifier: 'alarmIdentifier',
type: 'type',
}],
},
resourceIdentifier: 'resourceIdentifier',
zonalAutoshiftStatus: 'zonalAutoshiftStatus',
};
Properties
| Name | Type | Description |
|---|---|---|
| practice | IResolvable | Practice | A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. |
| resource | string | The identifier for the resource that AWS shifts traffic for. |
| zonal | string | When zonal autoshift is ENABLED , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. |
practiceRunConfiguration?
Type:
IResolvable | Practice
(optional)
A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.
When a resource has a practice run configuration, ARC shifts traffic for the resource weekly for practice runs.
Practice runs are required for zonal autoshift. The zonal shifts that ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.
You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
resourceIdentifier?
Type:
string
(optional)
The identifier for the resource that AWS shifts traffic for.
The identifier is the Amazon Resource Name (ARN) for the resource.
At this time, supported resources are Network Load Balancers and Application Load Balancers.
zonalAutoshiftStatus?
Type:
string
(optional)
When zonal autoshift is ENABLED , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery.
Traffic is also shifted away for the required weekly practice runs.

.NET
Go
Java
Python
TypeScript