aws.globalaccelerator.EndpointGroup
Explore with Pulumi AI
Provides a Global Accelerator endpoint group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.globalaccelerator.EndpointGroup("example", {
listenerArn: exampleAwsGlobalacceleratorListener.id,
endpointConfigurations: [{
endpointId: exampleAwsLb.arn,
weight: 100,
}],
});
import pulumi
import pulumi_aws as aws
example = aws.globalaccelerator.EndpointGroup("example",
listener_arn=example_aws_globalaccelerator_listener["id"],
endpoint_configurations=[{
"endpoint_id": example_aws_lb["arn"],
"weight": 100,
}])
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.NewEndpointGroup(ctx, "example", &globalaccelerator.EndpointGroupArgs{
ListenerArn: pulumi.Any(exampleAwsGlobalacceleratorListener.Id),
EndpointConfigurations: globalaccelerator.EndpointGroupEndpointConfigurationArray{
&globalaccelerator.EndpointGroupEndpointConfigurationArgs{
EndpointId: pulumi.Any(exampleAwsLb.Arn),
Weight: pulumi.Int(100),
},
},
})
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 example = new Aws.GlobalAccelerator.EndpointGroup("example", new()
{
ListenerArn = exampleAwsGlobalacceleratorListener.Id,
EndpointConfigurations = new[]
{
new Aws.GlobalAccelerator.Inputs.EndpointGroupEndpointConfigurationArgs
{
EndpointId = exampleAwsLb.Arn,
Weight = 100,
},
},
});
});
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(exampleAwsGlobalacceleratorListener.id())
.endpointConfigurations(EndpointGroupEndpointConfigurationArgs.builder()
.endpointId(exampleAwsLb.arn())
.weight(100)
.build())
.build());
}
}
resources:
example:
type: aws:globalaccelerator:EndpointGroup
properties:
listenerArn: ${exampleAwsGlobalacceleratorListener.id}
endpointConfigurations:
- endpointId: ${exampleAwsLb.arn}
weight: 100
Create EndpointGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EndpointGroup(name: string, args: EndpointGroupArgs, opts?: CustomResourceOptions);
@overload
def EndpointGroup(resource_name: str,
args: EndpointGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EndpointGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
listener_arn: Optional[str] = None,
endpoint_configurations: Optional[Sequence[EndpointGroupEndpointConfigurationArgs]] = None,
endpoint_group_region: Optional[str] = None,
health_check_interval_seconds: Optional[int] = None,
health_check_path: Optional[str] = None,
health_check_port: Optional[int] = None,
health_check_protocol: Optional[str] = None,
port_overrides: Optional[Sequence[EndpointGroupPortOverrideArgs]] = None,
threshold_count: Optional[int] = None,
traffic_dial_percentage: Optional[float] = None)
func NewEndpointGroup(ctx *Context, name string, args EndpointGroupArgs, opts ...ResourceOption) (*EndpointGroup, error)
public EndpointGroup(string name, EndpointGroupArgs args, CustomResourceOptions? opts = null)
public EndpointGroup(String name, EndpointGroupArgs args)
public EndpointGroup(String name, EndpointGroupArgs args, CustomResourceOptions options)
type: aws:globalaccelerator:EndpointGroup
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 EndpointGroupArgs
- 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 EndpointGroupArgs
- 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 EndpointGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointGroupArgs
- 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 endpointGroupResource = new Aws.GlobalAccelerator.EndpointGroup("endpointGroupResource", new()
{
ListenerArn = "string",
EndpointConfigurations = new[]
{
new Aws.GlobalAccelerator.Inputs.EndpointGroupEndpointConfigurationArgs
{
AttachmentArn = "string",
ClientIpPreservationEnabled = false,
EndpointId = "string",
Weight = 0,
},
},
EndpointGroupRegion = "string",
HealthCheckIntervalSeconds = 0,
HealthCheckPath = "string",
HealthCheckPort = 0,
HealthCheckProtocol = "string",
PortOverrides = new[]
{
new Aws.GlobalAccelerator.Inputs.EndpointGroupPortOverrideArgs
{
EndpointPort = 0,
ListenerPort = 0,
},
},
ThresholdCount = 0,
TrafficDialPercentage = 0,
});
example, err := globalaccelerator.NewEndpointGroup(ctx, "endpointGroupResource", &globalaccelerator.EndpointGroupArgs{
ListenerArn: pulumi.String("string"),
EndpointConfigurations: globalaccelerator.EndpointGroupEndpointConfigurationArray{
&globalaccelerator.EndpointGroupEndpointConfigurationArgs{
AttachmentArn: pulumi.String("string"),
ClientIpPreservationEnabled: pulumi.Bool(false),
EndpointId: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
EndpointGroupRegion: pulumi.String("string"),
HealthCheckIntervalSeconds: pulumi.Int(0),
HealthCheckPath: pulumi.String("string"),
HealthCheckPort: pulumi.Int(0),
HealthCheckProtocol: pulumi.String("string"),
PortOverrides: globalaccelerator.EndpointGroupPortOverrideArray{
&globalaccelerator.EndpointGroupPortOverrideArgs{
EndpointPort: pulumi.Int(0),
ListenerPort: pulumi.Int(0),
},
},
ThresholdCount: pulumi.Int(0),
TrafficDialPercentage: pulumi.Float64(0),
})
var endpointGroupResource = new EndpointGroup("endpointGroupResource", EndpointGroupArgs.builder()
.listenerArn("string")
.endpointConfigurations(EndpointGroupEndpointConfigurationArgs.builder()
.attachmentArn("string")
.clientIpPreservationEnabled(false)
.endpointId("string")
.weight(0)
.build())
.endpointGroupRegion("string")
.healthCheckIntervalSeconds(0)
.healthCheckPath("string")
.healthCheckPort(0)
.healthCheckProtocol("string")
.portOverrides(EndpointGroupPortOverrideArgs.builder()
.endpointPort(0)
.listenerPort(0)
.build())
.thresholdCount(0)
.trafficDialPercentage(0)
.build());
endpoint_group_resource = aws.globalaccelerator.EndpointGroup("endpointGroupResource",
listener_arn="string",
endpoint_configurations=[{
"attachment_arn": "string",
"client_ip_preservation_enabled": False,
"endpoint_id": "string",
"weight": 0,
}],
endpoint_group_region="string",
health_check_interval_seconds=0,
health_check_path="string",
health_check_port=0,
health_check_protocol="string",
port_overrides=[{
"endpoint_port": 0,
"listener_port": 0,
}],
threshold_count=0,
traffic_dial_percentage=0)
const endpointGroupResource = new aws.globalaccelerator.EndpointGroup("endpointGroupResource", {
listenerArn: "string",
endpointConfigurations: [{
attachmentArn: "string",
clientIpPreservationEnabled: false,
endpointId: "string",
weight: 0,
}],
endpointGroupRegion: "string",
healthCheckIntervalSeconds: 0,
healthCheckPath: "string",
healthCheckPort: 0,
healthCheckProtocol: "string",
portOverrides: [{
endpointPort: 0,
listenerPort: 0,
}],
thresholdCount: 0,
trafficDialPercentage: 0,
});
type: aws:globalaccelerator:EndpointGroup
properties:
endpointConfigurations:
- attachmentArn: string
clientIpPreservationEnabled: false
endpointId: string
weight: 0
endpointGroupRegion: string
healthCheckIntervalSeconds: 0
healthCheckPath: string
healthCheckPort: 0
healthCheckProtocol: string
listenerArn: string
portOverrides:
- endpointPort: 0
listenerPort: 0
thresholdCount: 0
trafficDialPercentage: 0
EndpointGroup 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 EndpointGroup resource accepts the following input properties:
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- Endpoint
Configurations List<EndpointGroup Endpoint Configuration> - The list of endpoint objects. Fields documented below.
- Endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located.
- Health
Check intInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- Health
Check stringPath - 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. - Health
Check intPort - 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.
- Health
Check stringProtocol - 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.
- Port
Overrides List<EndpointGroup Port Override> - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- Threshold
Count int - 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.
- Traffic
Dial doublePercentage - 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.
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- Endpoint
Configurations []EndpointGroup Endpoint Configuration Args - The list of endpoint objects. Fields documented below.
- Endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located.
- Health
Check intInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- Health
Check stringPath - 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. - Health
Check intPort - 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.
- Health
Check stringProtocol - 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.
- Port
Overrides []EndpointGroup Port Override Args - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- Threshold
Count int - 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.
- Traffic
Dial float64Percentage - 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.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
- endpoint
Configurations List<EndpointGroup Endpoint Configuration> - The list of endpoint objects. Fields documented below.
- endpoint
Group StringRegion - The name of the AWS Region where the endpoint group is located.
- health
Check IntegerInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health
Check StringPath - 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. - health
Check IntegerPort - 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.
- health
Check StringProtocol - 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.
- port
Overrides List<EndpointGroup Port Override> - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold
Count Integer - 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.
- traffic
Dial DoublePercentage - 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.
- listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- endpoint
Configurations EndpointGroup Endpoint Configuration[] - The list of endpoint objects. Fields documented below.
- endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located.
- health
Check numberInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health
Check stringPath - 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. - health
Check numberPort - 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.
- health
Check stringProtocol - 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.
- port
Overrides EndpointGroup Port Override[] - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold
Count number - 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.
- traffic
Dial numberPercentage - 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.
- listener_
arn str - The Amazon Resource Name (ARN) of the listener.
- endpoint_
configurations Sequence[EndpointGroup Endpoint Configuration Args] - The list of endpoint objects. Fields documented below.
- endpoint_
group_ strregion - The name of the AWS Region where the endpoint group is located.
- health_
check_ intinterval_ seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health_
check_ strpath - 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. - health_
check_ intport - 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.
- health_
check_ strprotocol - 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.
- port_
overrides Sequence[EndpointGroup Port Override Args] - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold_
count int - 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.
- traffic_
dial_ floatpercentage - 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.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
- endpoint
Configurations List<Property Map> - The list of endpoint objects. Fields documented below.
- endpoint
Group StringRegion - The name of the AWS Region where the endpoint group is located.
- health
Check NumberInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health
Check StringPath - 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. - health
Check NumberPort - 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.
- health
Check StringProtocol - 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.
- port
Overrides List<Property Map> - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold
Count Number - 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.
- traffic
Dial NumberPercentage - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointGroup resource produces the following output properties:
Look up Existing EndpointGroup Resource
Get an existing EndpointGroup 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?: EndpointGroupState, opts?: CustomResourceOptions): EndpointGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
endpoint_configurations: Optional[Sequence[EndpointGroupEndpointConfigurationArgs]] = None,
endpoint_group_region: Optional[str] = None,
health_check_interval_seconds: Optional[int] = None,
health_check_path: Optional[str] = None,
health_check_port: Optional[int] = None,
health_check_protocol: Optional[str] = None,
listener_arn: Optional[str] = None,
port_overrides: Optional[Sequence[EndpointGroupPortOverrideArgs]] = None,
threshold_count: Optional[int] = None,
traffic_dial_percentage: Optional[float] = None) -> EndpointGroup
func GetEndpointGroup(ctx *Context, name string, id IDInput, state *EndpointGroupState, opts ...ResourceOption) (*EndpointGroup, error)
public static EndpointGroup Get(string name, Input<string> id, EndpointGroupState? state, CustomResourceOptions? opts = null)
public static EndpointGroup get(String name, Output<String> id, EndpointGroupState 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.
- Arn string
- The Amazon Resource Name (ARN) of the endpoint group.
- Endpoint
Configurations List<EndpointGroup Endpoint Configuration> - The list of endpoint objects. Fields documented below.
- Endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located.
- Health
Check intInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- Health
Check stringPath - 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. - Health
Check intPort - 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.
- Health
Check stringProtocol - 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.
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- Port
Overrides List<EndpointGroup Port Override> - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- Threshold
Count int - 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.
- Traffic
Dial doublePercentage - 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.
- Arn string
- The Amazon Resource Name (ARN) of the endpoint group.
- Endpoint
Configurations []EndpointGroup Endpoint Configuration Args - The list of endpoint objects. Fields documented below.
- Endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located.
- Health
Check intInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- Health
Check stringPath - 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. - Health
Check intPort - 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.
- Health
Check stringProtocol - 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.
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- Port
Overrides []EndpointGroup Port Override Args - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- Threshold
Count int - 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.
- Traffic
Dial float64Percentage - 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.
- arn String
- The Amazon Resource Name (ARN) of the endpoint group.
- endpoint
Configurations List<EndpointGroup Endpoint Configuration> - The list of endpoint objects. Fields documented below.
- endpoint
Group StringRegion - The name of the AWS Region where the endpoint group is located.
- health
Check IntegerInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health
Check StringPath - 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. - health
Check IntegerPort - 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.
- health
Check StringProtocol - 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.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
- port
Overrides List<EndpointGroup Port Override> - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold
Count Integer - 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.
- traffic
Dial DoublePercentage - 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.
- arn string
- The Amazon Resource Name (ARN) of the endpoint group.
- endpoint
Configurations EndpointGroup Endpoint Configuration[] - The list of endpoint objects. Fields documented below.
- endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located.
- health
Check numberInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health
Check stringPath - 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. - health
Check numberPort - 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.
- health
Check stringProtocol - 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.
- listener
Arn string - The Amazon Resource Name (ARN) of the listener.
- port
Overrides EndpointGroup Port Override[] - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold
Count number - 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.
- traffic
Dial numberPercentage - 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.
- arn str
- The Amazon Resource Name (ARN) of the endpoint group.
- endpoint_
configurations Sequence[EndpointGroup Endpoint Configuration Args] - The list of endpoint objects. Fields documented below.
- endpoint_
group_ strregion - The name of the AWS Region where the endpoint group is located.
- health_
check_ intinterval_ seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health_
check_ strpath - 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. - health_
check_ intport - 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.
- health_
check_ strprotocol - 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.
- listener_
arn str - The Amazon Resource Name (ARN) of the listener.
- port_
overrides Sequence[EndpointGroup Port Override Args] - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold_
count int - 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.
- traffic_
dial_ floatpercentage - 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.
- arn String
- The Amazon Resource Name (ARN) of the endpoint group.
- endpoint
Configurations List<Property Map> - The list of endpoint objects. Fields documented below.
- endpoint
Group StringRegion - The name of the AWS Region where the endpoint group is located.
- health
Check NumberInterval Seconds - The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- health
Check StringPath - 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. - health
Check NumberPort - 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.
- health
Check StringProtocol - 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.
- listener
Arn String - The Amazon Resource Name (ARN) of the listener.
- port
Overrides List<Property Map> - Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.
- threshold
Count Number - 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.
- traffic
Dial NumberPercentage - 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.
Supporting Types
EndpointGroupEndpointConfiguration, EndpointGroupEndpointConfigurationArgs
- Attachment
Arn string - An ARN of an exposed cross-account attachment. See the AWS documentation for more details.
- Client
Ip boolPreservation Enabled - Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the AWS documentation for more details. The default value is
false
. Note: When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC namedGlobalAccelerator
that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting aDependencyViolation
error. This cannot be resolved by re-running the provider. - Endpoint
Id string - An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
- Weight int
- The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
- Attachment
Arn string - An ARN of an exposed cross-account attachment. See the AWS documentation for more details.
- Client
Ip boolPreservation Enabled - Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the AWS documentation for more details. The default value is
false
. Note: When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC namedGlobalAccelerator
that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting aDependencyViolation
error. This cannot be resolved by re-running the provider. - Endpoint
Id string - An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
- Weight int
- The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
- attachment
Arn String - An ARN of an exposed cross-account attachment. See the AWS documentation for more details.
- client
Ip BooleanPreservation Enabled - Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the AWS documentation for more details. The default value is
false
. Note: When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC namedGlobalAccelerator
that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting aDependencyViolation
error. This cannot be resolved by re-running the provider. - endpoint
Id String - An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
- weight Integer
- The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
- attachment
Arn string - An ARN of an exposed cross-account attachment. See the AWS documentation for more details.
- client
Ip booleanPreservation Enabled - Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the AWS documentation for more details. The default value is
false
. Note: When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC namedGlobalAccelerator
that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting aDependencyViolation
error. This cannot be resolved by re-running the provider. - endpoint
Id string - An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
- weight number
- The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
- attachment_
arn str - An ARN of an exposed cross-account attachment. See the AWS documentation for more details.
- client_
ip_ boolpreservation_ enabled - Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the AWS documentation for more details. The default value is
false
. Note: When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC namedGlobalAccelerator
that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting aDependencyViolation
error. This cannot be resolved by re-running the provider. - endpoint_
id str - An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
- weight int
- The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
- attachment
Arn String - An ARN of an exposed cross-account attachment. See the AWS documentation for more details.
- client
Ip BooleanPreservation Enabled - Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. See the AWS documentation for more details. The default value is
false
. Note: When client IP address preservation is enabled, the Global Accelerator service creates an EC2 Security Group in the VPC namedGlobalAccelerator
that must be deleted (potentially outside of the provider) before the VPC will successfully delete. If this EC2 Security Group is not deleted, the provider will retry the VPC deletion for a few minutes before reporting aDependencyViolation
error. This cannot be resolved by re-running the provider. - endpoint
Id String - An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID.
- weight Number
- The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify.
EndpointGroupPortOverride, EndpointGroupPortOverrideArgs
- Endpoint
Port int - The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
- Listener
Port int - The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
- Endpoint
Port int - The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
- Listener
Port int - The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
- endpoint
Port Integer - The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
- listener
Port Integer - The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
- endpoint
Port number - The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
- listener
Port number - The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
- endpoint_
port int - The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
- listener_
port int - The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
- endpoint
Port Number - The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
- listener
Port Number - The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
Import
Using pulumi import
, import Global Accelerator endpoint groups using the id
. For example:
$ pulumi import aws:globalaccelerator/endpointGroup:EndpointGroup example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxx/endpoint-group/xxxxxxxx
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.