AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Events::Endpoint

CfnEndpoint

A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see [Making applications Regional-fault tolerant with global endpoints and event replication](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html) in the **Amazon EventBridge User Guide** .

Import

import { CfnEndpoint } from 'aws-cdk-lib/aws-events';

Or use the module namespace:

import * as events from 'aws-cdk-lib/aws-events';
// events.CfnEndpoint

Properties

Configuration passed to the constructor as CfnEndpointProps.

eventBusesRequired
IResolvable | IResolvable | EndpointEventBusProperty[]

The event buses being used by the endpoint. *Exactly* : `2`

routingConfigRequired
IResolvable | RoutingConfigProperty

The routing configuration of the endpoint.

descriptionOptional
string

A description for the endpoint.

nameOptional
string

The name of the endpoint.

replicationConfigOptional
IResolvable | ReplicationConfigProperty

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` .

roleArnOptional
string

The ARN of the role used by event replication for the endpoint.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EventBridge Cheat Sheet

Everything you need to know about Amazon EventBridge on one page. HD quality, print-friendly.

Download Free Infographic