Interface CfnPlan.ArcRoutingControlConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlan.ArcRoutingControlConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlan
@Stability(Stable)
public static interface CfnPlan.ArcRoutingControlConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for ARC routing controls used in a Region switch plan.
Routing controls are simple on/off switches that you can use to shift traffic away from an impaired Region.
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.arcregionswitch.*;
ArcRoutingControlConfigurationProperty arcRoutingControlConfigurationProperty = ArcRoutingControlConfigurationProperty.builder()
.regionAndRoutingControls(Map.of(
"regionAndRoutingControlsKey", List.of(ArcRoutingControlStateProperty.builder()
.routingControlArn("routingControlArn")
.state("state")
.build())))
// the properties below are optional
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.timeoutMinutes(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlan.ArcRoutingControlConfigurationPropertystatic final classAn implementation forCfnPlan.ArcRoutingControlConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRegionAndRoutingControls
The Region and ARC routing controls for the configuration.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnPlan.ArcRoutingControlStateProperty>>- See Also:
-
getCrossAccountRole
The cross account role for the configuration.- See Also:
-
getExternalId
The external ID (secret key) for the configuration.- See Also:
-
getTimeoutMinutes
The timeout value specified for the configuration.Default: - 60
- See Also:
-
builder
-