Class CfnZonalAutoshiftConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnZonalAutoshiftConfiguration>
- Enclosing class:
CfnZonalAutoshiftConfiguration
CfnZonalAutoshiftConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
practiceRunConfiguration
(IResolvable practiceRunConfiguration) 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.practiceRunConfiguration
(CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty practiceRunConfiguration) 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.resourceIdentifier
(String resourceIdentifier) The identifier for the resource that AWS shifts traffic for.zonalAutoshiftStatus
(String zonalAutoshiftStatus) 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.
-
Method Details
-
create
@Stability(Stable) public static CfnZonalAutoshiftConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnZonalAutoshiftConfiguration.Builder
.
-
practiceRunConfiguration
@Stability(Stable) public CfnZonalAutoshiftConfiguration.Builder practiceRunConfiguration(IResolvable practiceRunConfiguration) 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, Route 53 ARC shifts traffic for the resource weekly for practice runs.
Practice runs are required for zonal autoshift. The zonal shifts that Route 53 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.
- Parameters:
practiceRunConfiguration
- 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. This parameter is required.- Returns:
this
- See Also:
-
practiceRunConfiguration
@Stability(Stable) public CfnZonalAutoshiftConfiguration.Builder practiceRunConfiguration(CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty practiceRunConfiguration) 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, Route 53 ARC shifts traffic for the resource weekly for practice runs.
Practice runs are required for zonal autoshift. The zonal shifts that Route 53 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.
- Parameters:
practiceRunConfiguration
- 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. This parameter is required.- Returns:
this
- See Also:
-
resourceIdentifier
@Stability(Stable) public CfnZonalAutoshiftConfiguration.Builder resourceIdentifier(String resourceIdentifier) 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 with cross-zone load balancing turned off.
- Parameters:
resourceIdentifier
- The identifier for the resource that AWS shifts traffic for. This parameter is required.- Returns:
this
- See Also:
-
zonalAutoshiftStatus
@Stability(Stable) public CfnZonalAutoshiftConfiguration.Builder zonalAutoshiftStatus(String zonalAutoshiftStatus) 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.
- Parameters:
zonalAutoshiftStatus
- 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. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnZonalAutoshiftConfiguration>
- Returns:
- a newly built instance of
CfnZonalAutoshiftConfiguration
.
-