AWS::Events::EndpointA 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 { CfnEndpoint } from 'aws-cdk-lib/aws-events';Or use the module namespace:
import * as events from 'aws-cdk-lib/aws-events';
// events.CfnEndpointConfiguration passed to the constructor as CfnEndpointProps.
eventBusesRequiredIResolvable | IResolvable | EndpointEventBusProperty[]The event buses being used by the endpoint. *Exactly* : `2`
routingConfigRequiredIResolvable | RoutingConfigPropertyThe routing configuration of the endpoint.
descriptionOptionalstringA description for the endpoint.
nameOptionalstringThe name of the endpoint.
replicationConfigOptionalIResolvable | ReplicationConfigPropertyWhether 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` .
roleArnOptionalstringThe ARN of the role used by event replication for the endpoint.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EventBridge on one page. HD quality, print-friendly.
Download Free Infographicaws-eventsAWS::Events::Endpoint