Interface CfnZonalAutoshiftConfigurationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnZonalAutoshiftConfigurationMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.arczonalshift.*;
CfnZonalAutoshiftConfigurationMixinProps cfnZonalAutoshiftConfigurationMixinProps = CfnZonalAutoshiftConfigurationMixinProps.builder()
.practiceRunConfiguration(PracticeRunConfigurationProperty.builder()
.blockedDates(List.of("blockedDates"))
.blockedWindows(List.of("blockedWindows"))
.blockingAlarms(List.of(ControlConditionProperty.builder()
.alarmIdentifier("alarmIdentifier")
.type("type")
.build()))
.outcomeAlarms(List.of(ControlConditionProperty.builder()
.alarmIdentifier("alarmIdentifier")
.type("type")
.build()))
.build())
.resourceIdentifier("resourceIdentifier")
.zonalAutoshiftStatus("zonalAutoshiftStatus")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnZonalAutoshiftConfigurationMixinPropsstatic final classAn implementation forCfnZonalAutoshiftConfigurationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA 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.default StringThe identifier for the resource that AWS shifts traffic for.default StringWhen 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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPracticeRunConfiguration
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.
Returns union: either
IResolvableorCfnZonalAutoshiftConfigurationPropsMixin.PracticeRunConfigurationProperty- See Also:
-
getResourceIdentifier
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.
- See Also:
-
getZonalAutoshiftStatus
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 Also:
-
builder
-