Class CfnEndpoint.RoutingConfigProperty
The routing configuration of the endpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEndpoint.RoutingConfigProperty : CfnEndpoint.IRoutingConfigProperty
Syntax (vb)
Public Class CfnEndpoint.RoutingConfigProperty Implements CfnEndpoint.IRoutingConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var routingConfigProperty = new RoutingConfigProperty {
FailoverConfig = new FailoverConfigProperty {
Primary = new PrimaryProperty {
HealthCheck = "healthCheck"
},
Secondary = new SecondaryProperty {
Route = "route"
}
}
};
Synopsis
Constructors
| RoutingConfigProperty() | The routing configuration of the endpoint. |
Properties
| FailoverConfig | The failover configuration for an endpoint. |
Constructors
RoutingConfigProperty()
The routing configuration of the endpoint.
public RoutingConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var routingConfigProperty = new RoutingConfigProperty {
FailoverConfig = new FailoverConfigProperty {
Primary = new PrimaryProperty {
HealthCheck = "healthCheck"
},
Secondary = new SecondaryProperty {
Route = "route"
}
}
};
Properties
FailoverConfig
The failover configuration for an endpoint.
public object FailoverConfig { get; set; }
Property Value
Remarks
This includes what triggers failover and what happens when it's triggered.
Type union: either IResolvable or CfnEndpoint.IFailoverConfigProperty