Endpoint Group Args
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Link copied to clipboard
fun EndpointGroupArgs(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)
Functions
Properties
Link copied to clipboard
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