CustomRoutingEndpointGroupArgs

data class CustomRoutingEndpointGroupArgs(val destinationConfigurations: Output<List<CustomRoutingEndpointGroupDestinationConfigurationArgs>>? = null, val endpointConfigurations: Output<List<CustomRoutingEndpointGroupEndpointConfigurationArgs>>? = null, val endpointGroupRegion: Output<String>? = null, val listenerArn: Output<String>? = null) : ConvertibleToJava<CustomRoutingEndpointGroupArgs>

Provides a Global Accelerator custom routing endpoint group.

Example Usage

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(aws_globalaccelerator_custom_routing_listener.example().id())
.destinationConfigurations(CustomRoutingEndpointGroupDestinationConfigurationArgs.builder()
.fromPort(80)
.toPort(8080)
.protocols("TCP")
.build())
.endpointConfigurations(CustomRoutingEndpointGroupEndpointConfigurationArgs.builder()
.endpointId(aws_subnet.example().id())
.build())
.build());
}
}

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

Constructors

Link copied to clipboard
fun CustomRoutingEndpointGroupArgs(destinationConfigurations: Output<List<CustomRoutingEndpointGroupDestinationConfigurationArgs>>? = null, endpointConfigurations: Output<List<CustomRoutingEndpointGroupEndpointConfigurationArgs>>? = null, endpointGroupRegion: Output<String>? = null, listenerArn: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CustomRoutingEndpointGroupArgs

Properties

Link copied to clipboard

The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.

Link copied to clipboard

The list of endpoint objects. Fields documented below.

Link copied to clipboard
val endpointGroupRegion: Output<String>? = null

The name of the AWS Region where the custom routing endpoint group is located.

Link copied to clipboard
val listenerArn: Output<String>? = null

The Amazon Resource Name (ARN) of the custom routing listener.