CfnZonalAutoshiftConfigurationMixinProps
- class aws_cdk.mixins_preview.aws_arczonalshift.mixins.CfnZonalAutoshiftConfigurationMixinProps(*, practice_run_configuration=None, resource_identifier=None, zonal_autoshift_status=None)
Bases:
objectProperties for CfnZonalAutoshiftConfigurationPropsMixin.
- Parameters:
practice_run_configuration (
Union[IResolvable,PracticeRunConfigurationProperty,Dict[str,Any],None]) – 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.resource_identifier (
Optional[str]) – 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.zonal_autoshift_status (
Optional[str]) – When zonal autoshift isENABLED, 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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_arczonalshift import mixins as arczonalshift_mixins cfn_zonal_autoshift_configuration_mixin_props = arczonalshift_mixins.CfnZonalAutoshiftConfigurationMixinProps( practice_run_configuration=arczonalshift_mixins.CfnZonalAutoshiftConfigurationPropsMixin.PracticeRunConfigurationProperty( blocked_dates=["blockedDates"], blocked_windows=["blockedWindows"], blocking_alarms=[arczonalshift_mixins.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty( alarm_identifier="alarmIdentifier", type="type" )], outcome_alarms=[arczonalshift_mixins.CfnZonalAutoshiftConfigurationPropsMixin.ControlConditionProperty( alarm_identifier="alarmIdentifier", type="type" )] ), resource_identifier="resourceIdentifier", zonal_autoshift_status="zonalAutoshiftStatus" )
Attributes
- practice_run_configuration
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.
- resource_identifier
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.
- zonal_autoshift_status
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.