Interface CfnEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:40.193Z")
@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();
- See Also:
-
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 :
2Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEndpoint.EndpointEventBusProperty>- See Also:
-
getRoutingConfig
The routing configuration of the endpoint.Returns union: either
IResolvableorCfnEndpoint.RoutingConfigProperty- See Also:
-
getDescription
A description for the endpoint.- See Also:
-
getName
The name of the endpoint.- See Also:
-
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.Returns union: either
IResolvableorCfnEndpoint.ReplicationConfigProperty- See Also:
-
getRoleArn
The ARN of the role used by event replication for the endpoint.- See Also:
-
builder
- Returns:
- a
CfnEndpointProps.BuilderofCfnEndpointProps
-