1. Packages
  2. AWS Classic
  3. API Docs
  4. cloudwatch
  5. EventEndpoint

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.cloudwatch.EventEndpoint

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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",
                },
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    this = aws.cloudwatch.EventEndpoint("this",
        name="global-endpoint",
        role_arn=replication["arn"],
        event_buses=[
            {
                "eventBusArn": primary["arn"],
            },
            {
                "eventBusArn": secondary["arn"],
            },
        ],
        replication_config={
            "state": "DISABLED",
        },
        routing_config={
            "failoverConfig": {
                "primary": {
                    "healthCheck": primary_aws_route53_health_check["arn"],
                },
                "secondary": {
                    "route": "us-east-2",
                },
            },
        })
    
    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
    	})
    }
    
    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",
                    },
                },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 string
    The unique name of the resource.
    args EventEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args EventEndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    event_endpoint_resource = aws.cloudwatch.EventEndpoint("eventEndpointResource",
        event_buses=[{
            "eventBusArn": "string",
        }],
        routing_config={
            "failoverConfig": {
                "primary": {
                    "healthCheck": "string",
                },
                "secondary": {
                    "route": "string",
                },
            },
        },
        description="string",
        name="string",
        replication_config={
            "state": "string",
        },
        role_arn="string")
    
    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",
    });
    
    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
    

    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

    The EventEndpoint resource accepts the following input properties:

    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.
    RoutingConfig EventEndpointRoutingConfig
    Parameters used for routing, including the health check and secondary Region. Documented below.
    Description string
    A description of the global endpoint.
    Name 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 []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 EventEndpointRoutingConfigArgs
    Parameters used for routing, including the health check and secondary Region. Documented below.
    Description string
    A description of the global endpoint.
    Name 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 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 EventEndpointRoutingConfig
    Parameters used for routing, including the health check and secondary Region. Documented below.
    description String
    A description of the global endpoint.
    name 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 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 EventEndpointRoutingConfig
    Parameters used for routing, including the health check and secondary Region. Documented below.
    description string
    A description of the global endpoint.
    name 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 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 EventEndpointRoutingConfigArgs
    Parameters used for routing, including the health check and secondary Region. Documented below.
    description str
    A description of the global endpoint.
    name 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 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 Property Map
    Parameters used for routing, including the health check and secondary Region. Documented below.
    description String
    A description of the global endpoint.
    name 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 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 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 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 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 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 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 string
    The ARN of the event bus the endpoint is associated with.
    EventBusArn string
    The ARN of the event bus the endpoint is associated with.
    eventBusArn String
    The ARN of the event bus the endpoint is associated with.
    eventBusArn string
    The ARN of the event bus the endpoint is associated with.
    event_bus_arn str
    The ARN of the event bus the endpoint is associated with.
    eventBusArn 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 EventEndpointRoutingConfigFailoverConfig
    Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
    FailoverConfig EventEndpointRoutingConfigFailoverConfig
    Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
    failoverConfig EventEndpointRoutingConfigFailoverConfig
    Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
    failoverConfig EventEndpointRoutingConfigFailoverConfig
    Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
    failover_config EventEndpointRoutingConfigFailoverConfig
    Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
    failoverConfig Property Map
    Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.

    EventEndpointRoutingConfigFailoverConfig, EventEndpointRoutingConfigFailoverConfigArgs

    Primary EventEndpointRoutingConfigFailoverConfigPrimary
    Parameters used for the primary Region. Documented below.
    Secondary 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 EventEndpointRoutingConfigFailoverConfigPrimary
    Parameters used for the primary Region. Documented below.
    Secondary 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 EventEndpointRoutingConfigFailoverConfigPrimary
    Parameters used for the primary Region. Documented below.
    secondary 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 EventEndpointRoutingConfigFailoverConfigPrimary
    Parameters used for the primary Region. Documented below.
    secondary 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 EventEndpointRoutingConfigFailoverConfigPrimary
    Parameters used for the primary Region. Documented below.
    secondary 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 Property Map
    Parameters used for the primary Region. Documented below.
    secondary 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
    

    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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi