@Stability(value=Stable)
public static interface CfnSafetyRule.AssertionRuleProperty
extends software.amazon.jsii.JsiiSerializable
Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
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.route53recoverycontrol.*;
AssertionRuleProperty assertionRuleProperty = AssertionRuleProperty.builder()
.assertedControls(List.of("assertedControls"))
.waitPeriodMs(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSafetyRule.AssertionRuleProperty.Builder
A builder for
CfnSafetyRule.AssertionRuleProperty |
static class |
CfnSafetyRule.AssertionRuleProperty.Jsii$Proxy
An implementation for
CfnSafetyRule.AssertionRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSafetyRule.AssertionRuleProperty.Builder |
builder() |
List<String> |
getAssertedControls()
The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
|
Number |
getWaitPeriodMs()
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
|
@Stability(value=Stable) @NotNull List<String> getAssertedControls()
For example, you might include three routing controls, one for each of three AWS Regions.
@Stability(value=Stable) @NotNull Number getWaitPeriodMs()
This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
@Stability(value=Stable) static CfnSafetyRule.AssertionRuleProperty.Builder builder()
Copyright © 2022. All rights reserved.