@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.270Z") @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()
The default state is ENABLED which means you must supply a RoleArn . If you don't have a RoleArn or you don't want event replication enabled, set the state to DISABLED .
@Stability(value=Stable) @Nullable default String getRoleArn()
@Stability(value=Stable) static CfnEndpointProps.Builder builder()
CfnEndpointProps.Builder of CfnEndpointPropsCopyright © 2022. All rights reserved.