Interface CfnPlanPropsMixin.ArcRoutingControlConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlanPropsMixin.ArcRoutingControlConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlanPropsMixin
@Stability(Stable)
public static interface CfnPlanPropsMixin.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.mixins.preview.services.arcregionswitch.mixins.*;
ArcRoutingControlConfigurationProperty arcRoutingControlConfigurationProperty = ArcRoutingControlConfigurationProperty.builder()
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.regionAndRoutingControls(Map.of(
"regionAndRoutingControlsKey", List.of(ArcRoutingControlStateProperty.builder()
.routingControlArn("routingControlArn")
.state("state")
.build())))
.timeoutMinutes(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlanPropsMixin.ArcRoutingControlConfigurationPropertystatic final classAn implementation forCfnPlanPropsMixin.ArcRoutingControlConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe cross account role for the configuration.default StringThe external ID (secret key) for the configuration.default ObjectThe Region and ARC routing controls for the configuration.default NumberThe timeout value specified for the configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCrossAccountRole
The cross account role for the configuration.- See Also:
-
getExternalId
The external ID (secret key) for the configuration.- See Also:
-
getRegionAndRoutingControls
The Region and ARC routing controls for the configuration.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnPlanPropsMixin.ArcRoutingControlStateProperty>>- See Also:
-
getTimeoutMinutes
The timeout value specified for the configuration.Default: - 60
- See Also:
-
builder
@Stability(Stable) static CfnPlanPropsMixin.ArcRoutingControlConfigurationProperty.Builder builder()
-