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

aws.globalaccelerator.CustomRoutingEndpointGroup

Explore with Pulumi AI

Provides a Global Accelerator custom routing endpoint group.

Example Usage

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

const example = new aws.globalaccelerator.CustomRoutingEndpointGroup("example", {
    listenerArn: exampleAwsGlobalacceleratorCustomRoutingListener.arn,
    destinationConfigurations: [{
        fromPort: 80,
        toPort: 8080,
        protocols: ["TCP"],
    }],
    endpointConfigurations: [{
        endpointId: exampleAwsSubnet.id,
    }],
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.globalaccelerator.CustomRoutingEndpointGroup("example",
    listener_arn=example_aws_globalaccelerator_custom_routing_listener["arn"],
    destination_configurations=[{
        "from_port": 80,
        "to_port": 8080,
        "protocols": ["TCP"],
    }],
    endpoint_configurations=[{
        "endpoint_id": example_aws_subnet["id"],
    }])
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := globalaccelerator.NewCustomRoutingEndpointGroup(ctx, "example", &globalaccelerator.CustomRoutingEndpointGroupArgs{
			ListenerArn: pulumi.Any(exampleAwsGlobalacceleratorCustomRoutingListener.Arn),
			DestinationConfigurations: globalaccelerator.CustomRoutingEndpointGroupDestinationConfigurationArray{
				&globalaccelerator.CustomRoutingEndpointGroupDestinationConfigurationArgs{
					FromPort: pulumi.Int(80),
					ToPort:   pulumi.Int(8080),
					Protocols: pulumi.StringArray{
						pulumi.String("TCP"),
					},
				},
			},
			EndpointConfigurations: globalaccelerator.CustomRoutingEndpointGroupEndpointConfigurationArray{
				&globalaccelerator.CustomRoutingEndpointGroupEndpointConfigurationArgs{
					EndpointId: pulumi.Any(exampleAwsSubnet.Id),
				},
			},
		})
		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 example = new Aws.GlobalAccelerator.CustomRoutingEndpointGroup("example", new()
    {
        ListenerArn = exampleAwsGlobalacceleratorCustomRoutingListener.Arn,
        DestinationConfigurations = new[]
        {
            new Aws.GlobalAccelerator.Inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs
            {
                FromPort = 80,
                ToPort = 8080,
                Protocols = new[]
                {
                    "TCP",
                },
            },
        },
        EndpointConfigurations = new[]
        {
            new Aws.GlobalAccelerator.Inputs.CustomRoutingEndpointGroupEndpointConfigurationArgs
            {
                EndpointId = exampleAwsSubnet.Id,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.globalaccelerator.CustomRoutingEndpointGroup;
import com.pulumi.aws.globalaccelerator.CustomRoutingEndpointGroupArgs;
import com.pulumi.aws.globalaccelerator.inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs;
import com.pulumi.aws.globalaccelerator.inputs.CustomRoutingEndpointGroupEndpointConfigurationArgs;
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 example = new CustomRoutingEndpointGroup("example", CustomRoutingEndpointGroupArgs.builder()
            .listenerArn(exampleAwsGlobalacceleratorCustomRoutingListener.arn())
            .destinationConfigurations(CustomRoutingEndpointGroupDestinationConfigurationArgs.builder()
                .fromPort(80)
                .toPort(8080)
                .protocols("TCP")
                .build())
            .endpointConfigurations(CustomRoutingEndpointGroupEndpointConfigurationArgs.builder()
                .endpointId(exampleAwsSubnet.id())
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:globalaccelerator:CustomRoutingEndpointGroup
    properties:
      listenerArn: ${exampleAwsGlobalacceleratorCustomRoutingListener.arn}
      destinationConfigurations:
        - fromPort: 80
          toPort: 8080
          protocols:
            - TCP
      endpointConfigurations:
        - endpointId: ${exampleAwsSubnet.id}
Copy

Create CustomRoutingEndpointGroup Resource

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

Constructor syntax

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

@overload
def CustomRoutingEndpointGroup(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               destination_configurations: Optional[Sequence[CustomRoutingEndpointGroupDestinationConfigurationArgs]] = None,
                               listener_arn: Optional[str] = None,
                               endpoint_configurations: Optional[Sequence[CustomRoutingEndpointGroupEndpointConfigurationArgs]] = None,
                               endpoint_group_region: Optional[str] = None)
func NewCustomRoutingEndpointGroup(ctx *Context, name string, args CustomRoutingEndpointGroupArgs, opts ...ResourceOption) (*CustomRoutingEndpointGroup, error)
public CustomRoutingEndpointGroup(string name, CustomRoutingEndpointGroupArgs args, CustomResourceOptions? opts = null)
public CustomRoutingEndpointGroup(String name, CustomRoutingEndpointGroupArgs args)
public CustomRoutingEndpointGroup(String name, CustomRoutingEndpointGroupArgs args, CustomResourceOptions options)
type: aws:globalaccelerator:CustomRoutingEndpointGroup
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. CustomRoutingEndpointGroupArgs
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. CustomRoutingEndpointGroupArgs
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. CustomRoutingEndpointGroupArgs
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. CustomRoutingEndpointGroupArgs
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. CustomRoutingEndpointGroupArgs
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 customRoutingEndpointGroupResource = new Aws.GlobalAccelerator.CustomRoutingEndpointGroup("customRoutingEndpointGroupResource", new()
{
    DestinationConfigurations = new[]
    {
        new Aws.GlobalAccelerator.Inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs
        {
            FromPort = 0,
            Protocols = new[]
            {
                "string",
            },
            ToPort = 0,
        },
    },
    ListenerArn = "string",
    EndpointConfigurations = new[]
    {
        new Aws.GlobalAccelerator.Inputs.CustomRoutingEndpointGroupEndpointConfigurationArgs
        {
            EndpointId = "string",
        },
    },
    EndpointGroupRegion = "string",
});
Copy
example, err := globalaccelerator.NewCustomRoutingEndpointGroup(ctx, "customRoutingEndpointGroupResource", &globalaccelerator.CustomRoutingEndpointGroupArgs{
	DestinationConfigurations: globalaccelerator.CustomRoutingEndpointGroupDestinationConfigurationArray{
		&globalaccelerator.CustomRoutingEndpointGroupDestinationConfigurationArgs{
			FromPort: pulumi.Int(0),
			Protocols: pulumi.StringArray{
				pulumi.String("string"),
			},
			ToPort: pulumi.Int(0),
		},
	},
	ListenerArn: pulumi.String("string"),
	EndpointConfigurations: globalaccelerator.CustomRoutingEndpointGroupEndpointConfigurationArray{
		&globalaccelerator.CustomRoutingEndpointGroupEndpointConfigurationArgs{
			EndpointId: pulumi.String("string"),
		},
	},
	EndpointGroupRegion: pulumi.String("string"),
})
Copy
var customRoutingEndpointGroupResource = new CustomRoutingEndpointGroup("customRoutingEndpointGroupResource", CustomRoutingEndpointGroupArgs.builder()
    .destinationConfigurations(CustomRoutingEndpointGroupDestinationConfigurationArgs.builder()
        .fromPort(0)
        .protocols("string")
        .toPort(0)
        .build())
    .listenerArn("string")
    .endpointConfigurations(CustomRoutingEndpointGroupEndpointConfigurationArgs.builder()
        .endpointId("string")
        .build())
    .endpointGroupRegion("string")
    .build());
Copy
custom_routing_endpoint_group_resource = aws.globalaccelerator.CustomRoutingEndpointGroup("customRoutingEndpointGroupResource",
    destination_configurations=[{
        "from_port": 0,
        "protocols": ["string"],
        "to_port": 0,
    }],
    listener_arn="string",
    endpoint_configurations=[{
        "endpoint_id": "string",
    }],
    endpoint_group_region="string")
Copy
const customRoutingEndpointGroupResource = new aws.globalaccelerator.CustomRoutingEndpointGroup("customRoutingEndpointGroupResource", {
    destinationConfigurations: [{
        fromPort: 0,
        protocols: ["string"],
        toPort: 0,
    }],
    listenerArn: "string",
    endpointConfigurations: [{
        endpointId: "string",
    }],
    endpointGroupRegion: "string",
});
Copy
type: aws:globalaccelerator:CustomRoutingEndpointGroup
properties:
    destinationConfigurations:
        - fromPort: 0
          protocols:
            - string
          toPort: 0
    endpointConfigurations:
        - endpointId: string
    endpointGroupRegion: string
    listenerArn: string
Copy

CustomRoutingEndpointGroup 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 CustomRoutingEndpointGroup resource accepts the following input properties:

DestinationConfigurations
This property is required.
Changes to this property will trigger replacement.
List<CustomRoutingEndpointGroupDestinationConfiguration>
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
ListenerArn
This property is required.
Changes to this property will trigger replacement.
string
The Amazon Resource Name (ARN) of the custom routing listener.
EndpointConfigurations Changes to this property will trigger replacement. List<CustomRoutingEndpointGroupEndpointConfiguration>
The list of endpoint objects. Fields documented below.
EndpointGroupRegion Changes to this property will trigger replacement. string
The name of the AWS Region where the custom routing endpoint group is located.
DestinationConfigurations
This property is required.
Changes to this property will trigger replacement.
[]CustomRoutingEndpointGroupDestinationConfigurationArgs
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
ListenerArn
This property is required.
Changes to this property will trigger replacement.
string
The Amazon Resource Name (ARN) of the custom routing listener.
EndpointConfigurations Changes to this property will trigger replacement. []CustomRoutingEndpointGroupEndpointConfigurationArgs
The list of endpoint objects. Fields documented below.
EndpointGroupRegion Changes to this property will trigger replacement. string
The name of the AWS Region where the custom routing endpoint group is located.
destinationConfigurations
This property is required.
Changes to this property will trigger replacement.
List<CustomRoutingEndpointGroupDestinationConfiguration>
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
listenerArn
This property is required.
Changes to this property will trigger replacement.
String
The Amazon Resource Name (ARN) of the custom routing listener.
endpointConfigurations Changes to this property will trigger replacement. List<CustomRoutingEndpointGroupEndpointConfiguration>
The list of endpoint objects. Fields documented below.
endpointGroupRegion Changes to this property will trigger replacement. String
The name of the AWS Region where the custom routing endpoint group is located.
destinationConfigurations
This property is required.
Changes to this property will trigger replacement.
CustomRoutingEndpointGroupDestinationConfiguration[]
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
listenerArn
This property is required.
Changes to this property will trigger replacement.
string
The Amazon Resource Name (ARN) of the custom routing listener.
endpointConfigurations Changes to this property will trigger replacement. CustomRoutingEndpointGroupEndpointConfiguration[]
The list of endpoint objects. Fields documented below.
endpointGroupRegion Changes to this property will trigger replacement. string
The name of the AWS Region where the custom routing endpoint group is located.
destination_configurations
This property is required.
Changes to this property will trigger replacement.
Sequence[CustomRoutingEndpointGroupDestinationConfigurationArgs]
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
listener_arn
This property is required.
Changes to this property will trigger replacement.
str
The Amazon Resource Name (ARN) of the custom routing listener.
endpoint_configurations Changes to this property will trigger replacement. Sequence[CustomRoutingEndpointGroupEndpointConfigurationArgs]
The list of endpoint objects. Fields documented below.
endpoint_group_region Changes to this property will trigger replacement. str
The name of the AWS Region where the custom routing endpoint group is located.
destinationConfigurations
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
listenerArn
This property is required.
Changes to this property will trigger replacement.
String
The Amazon Resource Name (ARN) of the custom routing listener.
endpointConfigurations Changes to this property will trigger replacement. List<Property Map>
The list of endpoint objects. Fields documented below.
endpointGroupRegion Changes to this property will trigger replacement. String
The name of the AWS Region where the custom routing endpoint group is located.

Outputs

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

Arn string
The Amazon Resource Name (ARN) of the custom routing endpoint group.
Id string
The provider-assigned unique ID for this managed resource.
Arn string
The Amazon Resource Name (ARN) of the custom routing endpoint group.
Id string
The provider-assigned unique ID for this managed resource.
arn String
The Amazon Resource Name (ARN) of the custom routing endpoint group.
id String
The provider-assigned unique ID for this managed resource.
arn string
The Amazon Resource Name (ARN) of the custom routing endpoint group.
id string
The provider-assigned unique ID for this managed resource.
arn str
The Amazon Resource Name (ARN) of the custom routing endpoint group.
id str
The provider-assigned unique ID for this managed resource.
arn String
The Amazon Resource Name (ARN) of the custom routing endpoint group.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing CustomRoutingEndpointGroup Resource

Get an existing CustomRoutingEndpointGroup 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?: CustomRoutingEndpointGroupState, opts?: CustomResourceOptions): CustomRoutingEndpointGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        destination_configurations: Optional[Sequence[CustomRoutingEndpointGroupDestinationConfigurationArgs]] = None,
        endpoint_configurations: Optional[Sequence[CustomRoutingEndpointGroupEndpointConfigurationArgs]] = None,
        endpoint_group_region: Optional[str] = None,
        listener_arn: Optional[str] = None) -> CustomRoutingEndpointGroup
func GetCustomRoutingEndpointGroup(ctx *Context, name string, id IDInput, state *CustomRoutingEndpointGroupState, opts ...ResourceOption) (*CustomRoutingEndpointGroup, error)
public static CustomRoutingEndpointGroup Get(string name, Input<string> id, CustomRoutingEndpointGroupState? state, CustomResourceOptions? opts = null)
public static CustomRoutingEndpointGroup get(String name, Output<String> id, CustomRoutingEndpointGroupState state, CustomResourceOptions options)
resources:  _:    type: aws:globalaccelerator:CustomRoutingEndpointGroup    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 Amazon Resource Name (ARN) of the custom routing endpoint group.
DestinationConfigurations Changes to this property will trigger replacement. List<CustomRoutingEndpointGroupDestinationConfiguration>
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
EndpointConfigurations Changes to this property will trigger replacement. List<CustomRoutingEndpointGroupEndpointConfiguration>
The list of endpoint objects. Fields documented below.
EndpointGroupRegion Changes to this property will trigger replacement. string
The name of the AWS Region where the custom routing endpoint group is located.
ListenerArn Changes to this property will trigger replacement. string
The Amazon Resource Name (ARN) of the custom routing listener.
Arn string
The Amazon Resource Name (ARN) of the custom routing endpoint group.
DestinationConfigurations Changes to this property will trigger replacement. []CustomRoutingEndpointGroupDestinationConfigurationArgs
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
EndpointConfigurations Changes to this property will trigger replacement. []CustomRoutingEndpointGroupEndpointConfigurationArgs
The list of endpoint objects. Fields documented below.
EndpointGroupRegion Changes to this property will trigger replacement. string
The name of the AWS Region where the custom routing endpoint group is located.
ListenerArn Changes to this property will trigger replacement. string
The Amazon Resource Name (ARN) of the custom routing listener.
arn String
The Amazon Resource Name (ARN) of the custom routing endpoint group.
destinationConfigurations Changes to this property will trigger replacement. List<CustomRoutingEndpointGroupDestinationConfiguration>
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
endpointConfigurations Changes to this property will trigger replacement. List<CustomRoutingEndpointGroupEndpointConfiguration>
The list of endpoint objects. Fields documented below.
endpointGroupRegion Changes to this property will trigger replacement. String
The name of the AWS Region where the custom routing endpoint group is located.
listenerArn Changes to this property will trigger replacement. String
The Amazon Resource Name (ARN) of the custom routing listener.
arn string
The Amazon Resource Name (ARN) of the custom routing endpoint group.
destinationConfigurations Changes to this property will trigger replacement. CustomRoutingEndpointGroupDestinationConfiguration[]
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
endpointConfigurations Changes to this property will trigger replacement. CustomRoutingEndpointGroupEndpointConfiguration[]
The list of endpoint objects. Fields documented below.
endpointGroupRegion Changes to this property will trigger replacement. string
The name of the AWS Region where the custom routing endpoint group is located.
listenerArn Changes to this property will trigger replacement. string
The Amazon Resource Name (ARN) of the custom routing listener.
arn str
The Amazon Resource Name (ARN) of the custom routing endpoint group.
destination_configurations Changes to this property will trigger replacement. Sequence[CustomRoutingEndpointGroupDestinationConfigurationArgs]
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
endpoint_configurations Changes to this property will trigger replacement. Sequence[CustomRoutingEndpointGroupEndpointConfigurationArgs]
The list of endpoint objects. Fields documented below.
endpoint_group_region Changes to this property will trigger replacement. str
The name of the AWS Region where the custom routing endpoint group is located.
listener_arn Changes to this property will trigger replacement. str
The Amazon Resource Name (ARN) of the custom routing listener.
arn String
The Amazon Resource Name (ARN) of the custom routing endpoint group.
destinationConfigurations Changes to this property will trigger replacement. List<Property Map>
The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
endpointConfigurations Changes to this property will trigger replacement. List<Property Map>
The list of endpoint objects. Fields documented below.
endpointGroupRegion Changes to this property will trigger replacement. String
The name of the AWS Region where the custom routing endpoint group is located.
listenerArn Changes to this property will trigger replacement. String
The Amazon Resource Name (ARN) of the custom routing listener.

Supporting Types

CustomRoutingEndpointGroupDestinationConfiguration
, CustomRoutingEndpointGroupDestinationConfigurationArgs

FromPort This property is required. int
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
Protocols This property is required. List<string>
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either "TCP" or "UDP".
ToPort This property is required. int
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
FromPort This property is required. int
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
Protocols This property is required. []string
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either "TCP" or "UDP".
ToPort This property is required. int
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
fromPort This property is required. Integer
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
protocols This property is required. List<String>
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either "TCP" or "UDP".
toPort This property is required. Integer
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
fromPort This property is required. number
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
protocols This property is required. string[]
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either "TCP" or "UDP".
toPort This property is required. number
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
from_port This property is required. int
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
protocols This property is required. Sequence[str]
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either "TCP" or "UDP".
to_port This property is required. int
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
fromPort This property is required. Number
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
protocols This property is required. List<String>
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either "TCP" or "UDP".
toPort This property is required. Number
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.

CustomRoutingEndpointGroupEndpointConfiguration
, CustomRoutingEndpointGroupEndpointConfigurationArgs

EndpointId string
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
EndpointId string
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
endpointId String
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
endpointId string
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
endpoint_id str
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
endpointId String
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.

Import

Using pulumi import, import Global Accelerator custom routing endpoint groups using the id. For example:

$ pulumi import aws:globalaccelerator/customRoutingEndpointGroup:CustomRoutingEndpointGroup example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxx/endpoint-group/xxxxxxxx
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.