Interface CfnEndpoint.FailoverConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpoint.FailoverConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpoint
@Stability(Stable)
public static interface CfnEndpoint.FailoverConfigProperty
extends software.amazon.jsii.JsiiSerializable
The failover configuration for an endpoint.
This includes what triggers failover and what happens when it's triggered.
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.events.*; FailoverConfigProperty failoverConfigProperty = FailoverConfigProperty.builder() .primary(PrimaryProperty.builder() .healthCheck("healthCheck") .build()) .secondary(SecondaryProperty.builder() .route("route") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEndpoint.FailoverConfigProperty
static final class
An implementation forCfnEndpoint.FailoverConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The main Region of the endpoint.The Region that events are routed to when failover is triggered or event replication is enabled.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPrimary
The main Region of the endpoint.- See Also:
-
getSecondary
The Region that events are routed to when failover is triggered or event replication is enabled.- See Also:
-
builder
-