Interface CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnZonalAutoshiftConfiguration

@Stability(Stable) public static interface CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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 configuation, Route 53 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 or delete a practice run configuration. When you delete a practice run configuration, zonal autoshift is disabled for the resource. A practice run configuration is required when zonal autoshift is enabled.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.arczonalshift.*;
 PracticeRunConfigurationProperty practiceRunConfigurationProperty = PracticeRunConfigurationProperty.builder()
         .outcomeAlarms(List.of(ControlConditionProperty.builder()
                 .alarmIdentifier("alarmIdentifier")
                 .type("type")
                 .build()))
         // the properties below are optional
         .blockedDates(List.of("blockedDates"))
         .blockedWindows(List.of("blockedWindows"))
         .blockingAlarms(List.of(ControlConditionProperty.builder()
                 .alarmIdentifier("alarmIdentifier")
                 .type("type")
                 .build()))
         .build();
 

See Also: