Interface CfnEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.979Z")
@Stability(Stable)
public interface CfnEndpointProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEndpoint.
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()))
.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")
.name("name")
.replicationConfig(ReplicationConfigProperty.builder()
.state("state")
.build())
.roleArn("roleArn")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointPropsstatic final classAn implementation forCfnEndpointProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEndpointProps.Builderbuilder()default StringA description for the endpoint.The event buses being used by the endpoint.default StringgetName()The name of the endpoint.default ObjectWhether event replication was enabled or disabled for this endpoint.default StringThe ARN of the role used by event replication for the endpoint.The routing configuration of the endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventBuses
The event buses being used by the endpoint.Exactly :
2 -
getRoutingConfig
The routing configuration of the endpoint. -
getDescription
A description for the endpoint. -
getName
The name of the endpoint. -
getReplicationConfig
Whether event replication was enabled or disabled for this endpoint.The default state is
ENABLEDwhich means you must supply aRoleArn. If you don't have aRoleArnor you don't want event replication enabled, set the state toDISABLED. -
getRoleArn
The ARN of the role used by event replication for the endpoint. -
builder
- Returns:
- a
CfnEndpointProps.BuilderofCfnEndpointProps
-