Skip to main content

zonal_autoshift_configurations

Creates, updates, deletes, gets or lists a zonal_autoshift_configurations resource.

Overview

Namezonal_autoshift_configurations
TypeResource
Idaws.arc_zonal_shift.zonal_autoshift_configurations

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
update_zonal_autoshift_configurationupdateresource_identifier, region, zonalAutoshiftStatusThe 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 configuration, 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 status to enable or disable zonal autoshift. When zonal autoshift is ENABLED, you authorize Amazon Web Services 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
resource_identifierstringThe identifier for the resource that you want to update the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

UPDATE examples

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 configuration, 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 status to enable or disable zonal autoshift. When zonal autoshift is ENABLED, you authorize Amazon Web Services 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.

UPDATE aws.arc_zonal_shift.zonal_autoshift_configurations
SET
zonalAutoshiftStatus = '{{ zonalAutoshiftStatus }}'
WHERE
resource_identifier = '{{ resource_identifier }}' --required
AND region = '{{ region }}' --required
AND zonalAutoshiftStatus = '{{ zonalAutoshiftStatus }}' --required
RETURNING
resource_identifier,
zonal_autoshift_status;