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();
 
  • Method Details

    • getEventBuses

      @Stability(Stable) @NotNull Object getEventBuses()
      The event buses being used by the endpoint.

      Exactly : 2

    • getRoutingConfig

      @Stability(Stable) @NotNull Object getRoutingConfig()
      The routing configuration of the endpoint.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description for the endpoint.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the endpoint.
    • getReplicationConfig

      @Stability(Stable) @Nullable default Object getReplicationConfig()
      Whether event replication was enabled or disabled for this endpoint.

      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 .

    • getRoleArn

      @Stability(Stable) @Nullable default String getRoleArn()
      The ARN of the role used by event replication for the endpoint.
    • builder

      @Stability(Stable) static CfnEndpointProps.Builder builder()
      Returns:
      a CfnEndpointProps.Builder of CfnEndpointProps