1. Packages
  2. AWS
  3. API Docs
  4. cloudwatch
  5. EventEndpoint
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.cloudwatch.EventEndpoint

Explore with Pulumi AI

Provides a resource to create an EventBridge Global Endpoint.

Note: EventBridge was formerly known as CloudWatch Events. The functionality is identical.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const _this = new aws.cloudwatch.EventEndpoint("this", {
    name: "global-endpoint",
    roleArn: replication.arn,
    eventBuses: [
        {
            eventBusArn: primary.arn,
        },
        {
            eventBusArn: secondary.arn,
        },
    ],
    replicationConfig: {
        state: "DISABLED",
    },
    routingConfig: {
        failoverConfig: {
            primary: {
                healthCheck: primaryAwsRoute53HealthCheck.arn,
            },
            secondary: {
                route: "us-east-2",
            },
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

this = aws.cloudwatch.EventEndpoint("this",
    name="global-endpoint",
    role_arn=replication["arn"],
    event_buses=[
        {
            "event_bus_arn": primary["arn"],
        },
        {
            "event_bus_arn": secondary["arn"],
        },
    ],
    replication_config={
        "state": "DISABLED",
    },
    routing_config={
        "failover_config": {
            "primary": {
                "health_check": primary_aws_route53_health_check["arn"],
            },
            "secondary": {
                "route": "us-east-2",
            },
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewEventEndpoint(ctx, "this", &cloudwatch.EventEndpointArgs{
			Name:    pulumi.String("global-endpoint"),
			RoleArn: pulumi.Any(replication.Arn),
			EventBuses: cloudwatch.EventEndpointEventBusArray{
				&cloudwatch.EventEndpointEventBusArgs{
					EventBusArn: pulumi.Any(primary.Arn),
				},
				&cloudwatch.EventEndpointEventBusArgs{
					EventBusArn: pulumi.Any(secondary.Arn),
				},
			},
			ReplicationConfig: &cloudwatch.EventEndpointReplicationConfigArgs{
				State: pulumi.String("DISABLED"),
			},
			RoutingConfig: &cloudwatch.EventEndpointRoutingConfigArgs{
				FailoverConfig: &cloudwatch.EventEndpointRoutingConfigFailoverConfigArgs{
					Primary: &cloudwatch.EventEndpointRoutingConfigFailoverConfigPrimaryArgs{
						HealthCheck: pulumi.Any(primaryAwsRoute53HealthCheck.Arn),
					},
					Secondary: &cloudwatch.EventEndpointRoutingConfigFailoverConfigSecondaryArgs{
						Route: pulumi.String("us-east-2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var @this = new Aws.CloudWatch.EventEndpoint("this", new()
    {
        Name = "global-endpoint",
        RoleArn = replication.Arn,
        EventBuses = new[]
        {
            new Aws.CloudWatch.Inputs.EventEndpointEventBusArgs
            {
                EventBusArn = primary.Arn,
            },
            new Aws.CloudWatch.Inputs.EventEndpointEventBusArgs
            {
                EventBusArn = secondary.Arn,
            },
        },
        ReplicationConfig = new Aws.CloudWatch.Inputs.EventEndpointReplicationConfigArgs
        {
            State = "DISABLED",
        },
        RoutingConfig = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigArgs
        {
            FailoverConfig = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigFailoverConfigArgs
            {
                Primary = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigFailoverConfigPrimaryArgs
                {
                    HealthCheck = primaryAwsRoute53HealthCheck.Arn,
                },
                Secondary = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigFailoverConfigSecondaryArgs
                {
                    Route = "us-east-2",
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudwatch.EventEndpoint;
import com.pulumi.aws.cloudwatch.EventEndpointArgs;
import com.pulumi.aws.cloudwatch.inputs.EventEndpointEventBusArgs;
import com.pulumi.aws.cloudwatch.inputs.EventEndpointReplicationConfigArgs;
import com.pulumi.aws.cloudwatch.inputs.EventEndpointRoutingConfigArgs;
import com.pulumi.aws.cloudwatch.inputs.EventEndpointRoutingConfigFailoverConfigArgs;
import com.pulumi.aws.cloudwatch.inputs.EventEndpointRoutingConfigFailoverConfigPrimaryArgs;
import com.pulumi.aws.cloudwatch.inputs.EventEndpointRoutingConfigFailoverConfigSecondaryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var this_ = new EventEndpoint("this", EventEndpointArgs.builder()
            .name("global-endpoint")
            .roleArn(replication.arn())
            .eventBuses(            
                EventEndpointEventBusArgs.builder()
                    .eventBusArn(primary.arn())
                    .build(),
                EventEndpointEventBusArgs.builder()
                    .eventBusArn(secondary.arn())
                    .build())
            .replicationConfig(EventEndpointReplicationConfigArgs.builder()
                .state("DISABLED")
                .build())
            .routingConfig(EventEndpointRoutingConfigArgs.builder()
                .failoverConfig(EventEndpointRoutingConfigFailoverConfigArgs.builder()
                    .primary(EventEndpointRoutingConfigFailoverConfigPrimaryArgs.builder()
                        .healthCheck(primaryAwsRoute53HealthCheck.arn())
                        .build())
                    .secondary(EventEndpointRoutingConfigFailoverConfigSecondaryArgs.builder()
                        .route("us-east-2")
                        .build())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  this:
    type: aws:cloudwatch:EventEndpoint
    properties:
      name: global-endpoint
      roleArn: ${replication.arn}
      eventBuses:
        - eventBusArn: ${primary.arn}
        - eventBusArn: ${secondary.arn}
      replicationConfig:
        state: DISABLED
      routingConfig:
        failoverConfig:
          primary:
            healthCheck: ${primaryAwsRoute53HealthCheck.arn}
          secondary:
            route: us-east-2
Copy

Create EventEndpoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EventEndpoint(name: string, args: EventEndpointArgs, opts?: CustomResourceOptions);
@overload
def EventEndpoint(resource_name: str,
                  args: EventEndpointArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def EventEndpoint(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  event_buses: Optional[Sequence[EventEndpointEventBusArgs]] = None,
                  routing_config: Optional[EventEndpointRoutingConfigArgs] = None,
                  description: Optional[str] = None,
                  name: Optional[str] = None,
                  replication_config: Optional[EventEndpointReplicationConfigArgs] = None,
                  role_arn: Optional[str] = None)
func NewEventEndpoint(ctx *Context, name string, args EventEndpointArgs, opts ...ResourceOption) (*EventEndpoint, error)
public EventEndpoint(string name, EventEndpointArgs args, CustomResourceOptions? opts = null)
public EventEndpoint(String name, EventEndpointArgs args)
public EventEndpoint(String name, EventEndpointArgs args, CustomResourceOptions options)
type: aws:cloudwatch:EventEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EventEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EventEndpointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EventEndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EventEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EventEndpointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var eventEndpointResource = new Aws.CloudWatch.EventEndpoint("eventEndpointResource", new()
{
    EventBuses = new[]
    {
        new Aws.CloudWatch.Inputs.EventEndpointEventBusArgs
        {
            EventBusArn = "string",
        },
    },
    RoutingConfig = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigArgs
    {
        FailoverConfig = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigFailoverConfigArgs
        {
            Primary = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigFailoverConfigPrimaryArgs
            {
                HealthCheck = "string",
            },
            Secondary = new Aws.CloudWatch.Inputs.EventEndpointRoutingConfigFailoverConfigSecondaryArgs
            {
                Route = "string",
            },
        },
    },
    Description = "string",
    Name = "string",
    ReplicationConfig = new Aws.CloudWatch.Inputs.EventEndpointReplicationConfigArgs
    {
        State = "string",
    },
    RoleArn = "string",
});
Copy
example, err := cloudwatch.NewEventEndpoint(ctx, "eventEndpointResource", &cloudwatch.EventEndpointArgs{
	EventBuses: cloudwatch.EventEndpointEventBusArray{
		&cloudwatch.EventEndpointEventBusArgs{
			EventBusArn: pulumi.String("string"),
		},
	},
	RoutingConfig: &cloudwatch.EventEndpointRoutingConfigArgs{
		FailoverConfig: &cloudwatch.EventEndpointRoutingConfigFailoverConfigArgs{
			Primary: &cloudwatch.EventEndpointRoutingConfigFailoverConfigPrimaryArgs{
				HealthCheck: pulumi.String("string"),
			},
			Secondary: &cloudwatch.EventEndpointRoutingConfigFailoverConfigSecondaryArgs{
				Route: pulumi.String("string"),
			},
		},
	},
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
	ReplicationConfig: &cloudwatch.EventEndpointReplicationConfigArgs{
		State: pulumi.String("string"),
	},
	RoleArn: pulumi.String("string"),
})
Copy
var eventEndpointResource = new EventEndpoint("eventEndpointResource", EventEndpointArgs.builder()
    .eventBuses(EventEndpointEventBusArgs.builder()
        .eventBusArn("string")
        .build())
    .routingConfig(EventEndpointRoutingConfigArgs.builder()
        .failoverConfig(EventEndpointRoutingConfigFailoverConfigArgs.builder()
            .primary(EventEndpointRoutingConfigFailoverConfigPrimaryArgs.builder()
                .healthCheck("string")
                .build())
            .secondary(EventEndpointRoutingConfigFailoverConfigSecondaryArgs.builder()
                .route("string")
                .build())
            .build())
        .build())
    .description("string")
    .name("string")
    .replicationConfig(EventEndpointReplicationConfigArgs.builder()
        .state("string")
        .build())
    .roleArn("string")
    .build());
Copy
event_endpoint_resource = aws.cloudwatch.EventEndpoint("eventEndpointResource",
    event_buses=[{
        "event_bus_arn": "string",
    }],
    routing_config={
        "failover_config": {
            "primary": {
                "health_check": "string",
            },
            "secondary": {
                "route": "string",
            },
        },
    },
    description="string",
    name="string",
    replication_config={
        "state": "string",
    },
    role_arn="string")
Copy
const eventEndpointResource = new aws.cloudwatch.EventEndpoint("eventEndpointResource", {
    eventBuses: [{
        eventBusArn: "string",
    }],
    routingConfig: {
        failoverConfig: {
            primary: {
                healthCheck: "string",
            },
            secondary: {
                route: "string",
            },
        },
    },
    description: "string",
    name: "string",
    replicationConfig: {
        state: "string",
    },
    roleArn: "string",
});
Copy
type: aws:cloudwatch:EventEndpoint
properties:
    description: string
    eventBuses:
        - eventBusArn: string
    name: string
    replicationConfig:
        state: string
    roleArn: string
    routingConfig:
        failoverConfig:
            primary:
                healthCheck: string
            secondary:
                route: string
Copy

EventEndpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EventEndpoint resource accepts the following input properties:

EventBuses This property is required. List<EventEndpointEventBus>
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
RoutingConfig This property is required. EventEndpointRoutingConfig
Parameters used for routing, including the health check and secondary Region. Documented below.
Description string
A description of the global endpoint.
Name Changes to this property will trigger replacement. string
The name of the global endpoint.
ReplicationConfig EventEndpointReplicationConfig
Parameters used for replication. Documented below.
RoleArn string
The ARN of the IAM role used for replication between event buses.
EventBuses This property is required. []EventEndpointEventBusArgs
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
RoutingConfig This property is required. EventEndpointRoutingConfigArgs
Parameters used for routing, including the health check and secondary Region. Documented below.
Description string
A description of the global endpoint.
Name Changes to this property will trigger replacement. string
The name of the global endpoint.
ReplicationConfig EventEndpointReplicationConfigArgs
Parameters used for replication. Documented below.
RoleArn string
The ARN of the IAM role used for replication between event buses.
eventBuses This property is required. List<EventEndpointEventBus>
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
routingConfig This property is required. EventEndpointRoutingConfig
Parameters used for routing, including the health check and secondary Region. Documented below.
description String
A description of the global endpoint.
name Changes to this property will trigger replacement. String
The name of the global endpoint.
replicationConfig EventEndpointReplicationConfig
Parameters used for replication. Documented below.
roleArn String
The ARN of the IAM role used for replication between event buses.
eventBuses This property is required. EventEndpointEventBus[]
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
routingConfig This property is required. EventEndpointRoutingConfig
Parameters used for routing, including the health check and secondary Region. Documented below.
description string
A description of the global endpoint.
name Changes to this property will trigger replacement. string
The name of the global endpoint.
replicationConfig EventEndpointReplicationConfig
Parameters used for replication. Documented below.
roleArn string
The ARN of the IAM role used for replication between event buses.
event_buses This property is required. Sequence[EventEndpointEventBusArgs]
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
routing_config This property is required. EventEndpointRoutingConfigArgs
Parameters used for routing, including the health check and secondary Region. Documented below.
description str
A description of the global endpoint.
name Changes to this property will trigger replacement. str
The name of the global endpoint.
replication_config EventEndpointReplicationConfigArgs
Parameters used for replication. Documented below.
role_arn str
The ARN of the IAM role used for replication between event buses.
eventBuses This property is required. List<Property Map>
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
routingConfig This property is required. Property Map
Parameters used for routing, including the health check and secondary Region. Documented below.
description String
A description of the global endpoint.
name Changes to this property will trigger replacement. String
The name of the global endpoint.
replicationConfig Property Map
Parameters used for replication. Documented below.
roleArn String
The ARN of the IAM role used for replication between event buses.

Outputs

All input properties are implicitly available as output properties. Additionally, the EventEndpoint resource produces the following output properties:

Arn string
The ARN of the endpoint that was created.
EndpointUrl string
The URL of the endpoint that was created.
Id string
The provider-assigned unique ID for this managed resource.
Arn string
The ARN of the endpoint that was created.
EndpointUrl string
The URL of the endpoint that was created.
Id string
The provider-assigned unique ID for this managed resource.
arn String
The ARN of the endpoint that was created.
endpointUrl String
The URL of the endpoint that was created.
id String
The provider-assigned unique ID for this managed resource.
arn string
The ARN of the endpoint that was created.
endpointUrl string
The URL of the endpoint that was created.
id string
The provider-assigned unique ID for this managed resource.
arn str
The ARN of the endpoint that was created.
endpoint_url str
The URL of the endpoint that was created.
id str
The provider-assigned unique ID for this managed resource.
arn String
The ARN of the endpoint that was created.
endpointUrl String
The URL of the endpoint that was created.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing EventEndpoint Resource

Get an existing EventEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EventEndpointState, opts?: CustomResourceOptions): EventEndpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        description: Optional[str] = None,
        endpoint_url: Optional[str] = None,
        event_buses: Optional[Sequence[EventEndpointEventBusArgs]] = None,
        name: Optional[str] = None,
        replication_config: Optional[EventEndpointReplicationConfigArgs] = None,
        role_arn: Optional[str] = None,
        routing_config: Optional[EventEndpointRoutingConfigArgs] = None) -> EventEndpoint
func GetEventEndpoint(ctx *Context, name string, id IDInput, state *EventEndpointState, opts ...ResourceOption) (*EventEndpoint, error)
public static EventEndpoint Get(string name, Input<string> id, EventEndpointState? state, CustomResourceOptions? opts = null)
public static EventEndpoint get(String name, Output<String> id, EventEndpointState state, CustomResourceOptions options)
resources:  _:    type: aws:cloudwatch:EventEndpoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
The ARN of the endpoint that was created.
Description string
A description of the global endpoint.
EndpointUrl string
The URL of the endpoint that was created.
EventBuses List<EventEndpointEventBus>
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
Name Changes to this property will trigger replacement. string
The name of the global endpoint.
ReplicationConfig EventEndpointReplicationConfig
Parameters used for replication. Documented below.
RoleArn string
The ARN of the IAM role used for replication between event buses.
RoutingConfig EventEndpointRoutingConfig
Parameters used for routing, including the health check and secondary Region. Documented below.
Arn string
The ARN of the endpoint that was created.
Description string
A description of the global endpoint.
EndpointUrl string
The URL of the endpoint that was created.
EventBuses []EventEndpointEventBusArgs
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
Name Changes to this property will trigger replacement. string
The name of the global endpoint.
ReplicationConfig EventEndpointReplicationConfigArgs
Parameters used for replication. Documented below.
RoleArn string
The ARN of the IAM role used for replication between event buses.
RoutingConfig EventEndpointRoutingConfigArgs
Parameters used for routing, including the health check and secondary Region. Documented below.
arn String
The ARN of the endpoint that was created.
description String
A description of the global endpoint.
endpointUrl String
The URL of the endpoint that was created.
eventBuses List<EventEndpointEventBus>
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
name Changes to this property will trigger replacement. String
The name of the global endpoint.
replicationConfig EventEndpointReplicationConfig
Parameters used for replication. Documented below.
roleArn String
The ARN of the IAM role used for replication between event buses.
routingConfig EventEndpointRoutingConfig
Parameters used for routing, including the health check and secondary Region. Documented below.
arn string
The ARN of the endpoint that was created.
description string
A description of the global endpoint.
endpointUrl string
The URL of the endpoint that was created.
eventBuses EventEndpointEventBus[]
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
name Changes to this property will trigger replacement. string
The name of the global endpoint.
replicationConfig EventEndpointReplicationConfig
Parameters used for replication. Documented below.
roleArn string
The ARN of the IAM role used for replication between event buses.
routingConfig EventEndpointRoutingConfig
Parameters used for routing, including the health check and secondary Region. Documented below.
arn str
The ARN of the endpoint that was created.
description str
A description of the global endpoint.
endpoint_url str
The URL of the endpoint that was created.
event_buses Sequence[EventEndpointEventBusArgs]
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
name Changes to this property will trigger replacement. str
The name of the global endpoint.
replication_config EventEndpointReplicationConfigArgs
Parameters used for replication. Documented below.
role_arn str
The ARN of the IAM role used for replication between event buses.
routing_config EventEndpointRoutingConfigArgs
Parameters used for routing, including the health check and secondary Region. Documented below.
arn String
The ARN of the endpoint that was created.
description String
A description of the global endpoint.
endpointUrl String
The URL of the endpoint that was created.
eventBuses List<Property Map>
The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
name Changes to this property will trigger replacement. String
The name of the global endpoint.
replicationConfig Property Map
Parameters used for replication. Documented below.
roleArn String
The ARN of the IAM role used for replication between event buses.
routingConfig Property Map
Parameters used for routing, including the health check and secondary Region. Documented below.

Supporting Types

EventEndpointEventBus
, EventEndpointEventBusArgs

EventBusArn This property is required. string
The ARN of the event bus the endpoint is associated with.
EventBusArn This property is required. string
The ARN of the event bus the endpoint is associated with.
eventBusArn This property is required. String
The ARN of the event bus the endpoint is associated with.
eventBusArn This property is required. string
The ARN of the event bus the endpoint is associated with.
event_bus_arn This property is required. str
The ARN of the event bus the endpoint is associated with.
eventBusArn This property is required. String
The ARN of the event bus the endpoint is associated with.

EventEndpointReplicationConfig
, EventEndpointReplicationConfigArgs

State string
The state of event replication. Valid values: ENABLED, DISABLED. The default state is ENABLED, which means you must supply a role_arn. If you don't have a role_arn or you don't want event replication enabled, set state to DISABLED.
State string
The state of event replication. Valid values: ENABLED, DISABLED. The default state is ENABLED, which means you must supply a role_arn. If you don't have a role_arn or you don't want event replication enabled, set state to DISABLED.
state String
The state of event replication. Valid values: ENABLED, DISABLED. The default state is ENABLED, which means you must supply a role_arn. If you don't have a role_arn or you don't want event replication enabled, set state to DISABLED.
state string
The state of event replication. Valid values: ENABLED, DISABLED. The default state is ENABLED, which means you must supply a role_arn. If you don't have a role_arn or you don't want event replication enabled, set state to DISABLED.
state str
The state of event replication. Valid values: ENABLED, DISABLED. The default state is ENABLED, which means you must supply a role_arn. If you don't have a role_arn or you don't want event replication enabled, set state to DISABLED.
state String
The state of event replication. Valid values: ENABLED, DISABLED. The default state is ENABLED, which means you must supply a role_arn. If you don't have a role_arn or you don't want event replication enabled, set state to DISABLED.

EventEndpointRoutingConfig
, EventEndpointRoutingConfigArgs

FailoverConfig This property is required. EventEndpointRoutingConfigFailoverConfig
Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
FailoverConfig This property is required. EventEndpointRoutingConfigFailoverConfig
Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
failoverConfig This property is required. EventEndpointRoutingConfigFailoverConfig
Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
failoverConfig This property is required. EventEndpointRoutingConfigFailoverConfig
Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
failover_config This property is required. EventEndpointRoutingConfigFailoverConfig
Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
failoverConfig This property is required. Property Map
Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.

EventEndpointRoutingConfigFailoverConfig
, EventEndpointRoutingConfigFailoverConfigArgs

Primary This property is required. EventEndpointRoutingConfigFailoverConfigPrimary
Parameters used for the primary Region. Documented below.
Secondary This property is required. EventEndpointRoutingConfigFailoverConfigSecondary
Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.
Primary This property is required. EventEndpointRoutingConfigFailoverConfigPrimary
Parameters used for the primary Region. Documented below.
Secondary This property is required. EventEndpointRoutingConfigFailoverConfigSecondary
Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.
primary This property is required. EventEndpointRoutingConfigFailoverConfigPrimary
Parameters used for the primary Region. Documented below.
secondary This property is required. EventEndpointRoutingConfigFailoverConfigSecondary
Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.
primary This property is required. EventEndpointRoutingConfigFailoverConfigPrimary
Parameters used for the primary Region. Documented below.
secondary This property is required. EventEndpointRoutingConfigFailoverConfigSecondary
Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.
primary This property is required. EventEndpointRoutingConfigFailoverConfigPrimary
Parameters used for the primary Region. Documented below.
secondary This property is required. EventEndpointRoutingConfigFailoverConfigSecondary
Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.
primary This property is required. Property Map
Parameters used for the primary Region. Documented below.
secondary This property is required. Property Map
Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.

EventEndpointRoutingConfigFailoverConfigPrimary
, EventEndpointRoutingConfigFailoverConfigPrimaryArgs

HealthCheck string
The ARN of the health check used by the endpoint to determine whether failover is triggered.
HealthCheck string
The ARN of the health check used by the endpoint to determine whether failover is triggered.
healthCheck String
The ARN of the health check used by the endpoint to determine whether failover is triggered.
healthCheck string
The ARN of the health check used by the endpoint to determine whether failover is triggered.
health_check str
The ARN of the health check used by the endpoint to determine whether failover is triggered.
healthCheck String
The ARN of the health check used by the endpoint to determine whether failover is triggered.

EventEndpointRoutingConfigFailoverConfigSecondary
, EventEndpointRoutingConfigFailoverConfigSecondaryArgs

Route string
The name of the secondary Region.
Route string
The name of the secondary Region.
route String
The name of the secondary Region.
route string
The name of the secondary Region.
route str
The name of the secondary Region.
route String
The name of the secondary Region.

Import

Using pulumi import, import EventBridge Global Endpoints using the name. For example:

$ pulumi import aws:cloudwatch/eventEndpoint:EventEndpoint imported_endpoint example-endpoint
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.