@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:30.780Z") @Stability(value=Stable) public interface CfnEndpointProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnEndpointProps cfnEndpointProps = CfnEndpointProps.builder()
.eventBuses(List.of(EndpointEventBusProperty.builder()
.eventBusArn("eventBusArn")
.build()))
.name("name")
.routingConfig(RoutingConfigProperty.builder()
.failoverConfig(FailoverConfigProperty.builder()
.primary(PrimaryProperty.builder()
.healthCheck("healthCheck")
.build())
.secondary(SecondaryProperty.builder()
.route("route")
.build())
.build())
.build())
// the properties below are optional
.description("description")
.replicationConfig(ReplicationConfigProperty.builder()
.state("state")
.build())
.roleArn("roleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpointProps.Builder
A builder for
CfnEndpointProps |
static class |
CfnEndpointProps.Jsii$Proxy
An implementation for
CfnEndpointProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpointProps.Builder |
builder() |
default String |
getDescription()
A description for the endpoint.
|
Object |
getEventBuses()
The event buses being used by the endpoint.
|
String |
getName()
The name of the endpoint.
|
default Object |
getReplicationConfig()
Whether event replication was enabled or disabled for this endpoint.
|
default String |
getRoleArn()
The ARN of the role used by event replication for the endpoint.
|
Object |
getRoutingConfig()
The routing configuration of the endpoint.
|
@Stability(value=Stable) @NotNull Object getEventBuses()
Exactly : 2
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Object getRoutingConfig()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getReplicationConfig()
@Stability(value=Stable) @Nullable default String getRoleArn()
@Stability(value=Stable) static CfnEndpointProps.Builder builder()
CfnEndpointProps.Builder of CfnEndpointPropsCopyright © 2022. All rights reserved.