AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ARCZonalShift::ZonalAutoshiftConfiguration

CfnZonalAutoshiftConfiguration

The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation, ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone. You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. 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.

Import

import { CfnZonalAutoshiftConfiguration } from 'aws-cdk-lib/aws-arczonalshift';

Or use the module namespace:

import * as arczonalshift from 'aws-cdk-lib/aws-arczonalshift';
// arczonalshift.CfnZonalAutoshiftConfiguration

Properties

Configuration passed to the constructor as CfnZonalAutoshiftConfigurationProps.

resourceIdentifierRequired
string

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.

practiceRunConfigurationOptional
IResolvable | PracticeRunConfigurationProperty

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.

zonalAutoshiftStatusOptional
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. Traffic is also shifted away for the required weekly practice runs.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-arczonalshift
CFN TypeAWS::ARCZonalShift::ZonalAutoshiftConfiguration
Properties3

External Links