@Stability(value=Stable)
public static interface CfnEndpoint.FailoverConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpoint.FailoverConfigProperty.Builder
A builder for
CfnEndpoint.FailoverConfigProperty |
static class |
CfnEndpoint.FailoverConfigProperty.Jsii$Proxy
An implementation for
CfnEndpoint.FailoverConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpoint.FailoverConfigProperty.Builder |
builder() |
Object |
getPrimary()
The main Region of the endpoint.
|
Object |
getSecondary()
The Region that events are routed to when failover is triggered or event replication is enabled.
|
@Stability(value=Stable) @NotNull Object getPrimary()
@Stability(value=Stable) @NotNull Object getSecondary()
@Stability(value=Stable) static CfnEndpoint.FailoverConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.