EndpointGroupArgs

data class EndpointGroupArgs(val endpointConfigurations: Output<List<EndpointGroupEndpointConfigurationArgs>>? = null, val endpointGroupRegion: Output<String>? = null, val healthCheckIntervalSeconds: Output<Int>? = null, val healthCheckPath: Output<String>? = null, val healthCheckPort: Output<Int>? = null, val healthCheckProtocol: Output<String>? = null, val listenerArn: Output<String>? = null, val portOverrides: Output<List<EndpointGroupPortOverrideArgs>>? = null, val thresholdCount: Output<Int>? = null, val trafficDialPercentage: Output<Double>? = null) : ConvertibleToJava<EndpointGroupArgs>

Provides a Global Accelerator 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.EndpointGroup;
import com.pulumi.aws.globalaccelerator.EndpointGroupArgs;
import com.pulumi.aws.globalaccelerator.inputs.EndpointGroupEndpointConfigurationArgs;
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 EndpointGroup("example", EndpointGroupArgs.builder()
.listenerArn(aws_globalaccelerator_listener.example().id())
.endpointConfigurations(EndpointGroupEndpointConfigurationArgs.builder()
.endpointId(aws_lb.example().arn())
.weight(100)
.build())
.build());
}
}

Import

Global Accelerator endpoint groups can be imported using the id, e.g.,

$ pulumi import aws:globalaccelerator/endpointGroup:EndpointGroup example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxx/endpoint-group/xxxxxxxx

Constructors

Link copied to clipboard
constructor(endpointConfigurations: Output<List<EndpointGroupEndpointConfigurationArgs>>? = null, endpointGroupRegion: Output<String>? = null, healthCheckIntervalSeconds: Output<Int>? = null, healthCheckPath: Output<String>? = null, healthCheckPort: Output<Int>? = null, healthCheckProtocol: Output<String>? = null, listenerArn: Output<String>? = null, portOverrides: Output<List<EndpointGroupPortOverrideArgs>>? = null, thresholdCount: Output<Int>? = null, trafficDialPercentage: Output<Double>? = null)

Properties

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 endpoint group is located.

Link copied to clipboard
val healthCheckIntervalSeconds: Output<Int>? = null

The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.

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

If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/). the provider will only perform drift detection of its value when present in a configuration.

Link copied to clipboard
val healthCheckPort: Output<Int>? = null

The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list. the provider will only perform drift detection of its value when present in a configuration.

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

The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.

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

The Amazon Resource Name (ARN) of the listener.

Link copied to clipboard

Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below. endpoint_configuration supports the following attributes:

Link copied to clipboard
val thresholdCount: Output<Int>? = null

The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.

Link copied to clipboard
val trafficDialPercentage: Output<Double>? = null

The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.

Functions

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