We recommend new projects start with resources from the AWS provider.
aws-native.globalaccelerator.EndpointGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::GlobalAccelerator::EndpointGroup
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,
endpoint_group_region: Optional[str] = None,
listener_arn: Optional[str] = None,
endpoint_configurations: Optional[Sequence[EndpointGroupEndpointConfigurationArgs]] = None,
health_check_interval_seconds: Optional[int] = None,
health_check_path: Optional[str] = None,
health_check_port: Optional[int] = None,
health_check_protocol: Optional[EndpointGroupHealthCheckProtocol] = 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-native: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.
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
The EndpointGroup resource accepts the following input properties:
- Endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener
- Endpoint
Configurations List<Pulumi.Aws Native. Global Accelerator. Inputs. Endpoint Group Endpoint Configuration> - The list of endpoint objects.
- Health
Check intInterval Seconds - The time in seconds between each health check for an endpoint. Must be a value of 10 or 30
- Health
Check stringPath - If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
- Health
Check intPort - The port that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- Health
Check Pulumi.Protocol Aws Native. Global Accelerator. Endpoint Group Health Check Protocol - The protocol that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- Port
Overrides List<Pulumi.Aws Native. Global Accelerator. Inputs. Endpoint Group Port Override> - Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
- Threshold
Count int - The number of consecutive health checks required to set the state of the endpoint to unhealthy.
- Traffic
Dial doublePercentage - The percentage of traffic to sent to an AWS Region
- Endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located
- Listener
Arn string - The Amazon Resource Name (ARN) of the listener
- Endpoint
Configurations []EndpointGroup Endpoint Configuration Args - The list of endpoint objects.
- Health
Check intInterval Seconds - The time in seconds between each health check for an endpoint. Must be a value of 10 or 30
- Health
Check stringPath - If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
- Health
Check intPort - The port that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- Health
Check EndpointProtocol Group Health Check Protocol - The protocol that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- Port
Overrides []EndpointGroup Port Override Args - Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
- Threshold
Count int - The number of consecutive health checks required to set the state of the endpoint to unhealthy.
- Traffic
Dial float64Percentage - The percentage of traffic to sent to an AWS Region
- endpoint
Group StringRegion - The name of the AWS Region where the endpoint group is located
- listener
Arn String - The Amazon Resource Name (ARN) of the listener
- endpoint
Configurations List<EndpointGroup Endpoint Configuration> - The list of endpoint objects.
- health
Check IntegerInterval Seconds - The time in seconds between each health check for an endpoint. Must be a value of 10 or 30
- health
Check StringPath - If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
- health
Check IntegerPort - The port that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- health
Check EndpointProtocol Group Health Check Protocol - The protocol that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- port
Overrides List<EndpointGroup Port Override> - Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
- threshold
Count Integer - The number of consecutive health checks required to set the state of the endpoint to unhealthy.
- traffic
Dial DoublePercentage - The percentage of traffic to sent to an AWS Region
- endpoint
Group stringRegion - The name of the AWS Region where the endpoint group is located
- listener
Arn string - The Amazon Resource Name (ARN) of the listener
- endpoint
Configurations EndpointGroup Endpoint Configuration[] - The list of endpoint objects.
- health
Check numberInterval Seconds - The time in seconds between each health check for an endpoint. Must be a value of 10 or 30
- health
Check stringPath - If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
- health
Check numberPort - The port that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- health
Check EndpointProtocol Group Health Check Protocol - The protocol that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- port
Overrides EndpointGroup Port Override[] - Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
- threshold
Count number - The number of consecutive health checks required to set the state of the endpoint to unhealthy.
- traffic
Dial numberPercentage - The percentage of traffic to sent to an AWS Region
- endpoint_
group_ strregion - The name of the AWS Region where the endpoint group is located
- listener_
arn str - The Amazon Resource Name (ARN) of the listener
- endpoint_
configurations Sequence[EndpointGroup Endpoint Configuration Args] - The list of endpoint objects.
- health_
check_ intinterval_ seconds - The time in seconds between each health check for an endpoint. Must be a value of 10 or 30
- health_
check_ strpath - If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
- health_
check_ intport - The port that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- health_
check_ Endpointprotocol Group Health Check Protocol - The protocol that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- port_
overrides Sequence[EndpointGroup Port Override Args] - Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
- threshold_
count int - The number of consecutive health checks required to set the state of the endpoint to unhealthy.
- traffic_
dial_ floatpercentage - The percentage of traffic to sent to an AWS Region
- endpoint
Group StringRegion - The name of the AWS Region where the endpoint group is located
- listener
Arn String - The Amazon Resource Name (ARN) of the listener
- endpoint
Configurations List<Property Map> - The list of endpoint objects.
- health
Check NumberInterval Seconds - The time in seconds between each health check for an endpoint. Must be a value of 10 or 30
- health
Check StringPath - If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
- health
Check NumberPort - The port that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- health
Check "TCP" | "HTTP" | "HTTPS"Protocol - The protocol that AWS Global Accelerator uses to check the health of endpoints in this endpoint group.
- port
Overrides List<Property Map> - Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
- threshold
Count Number - The number of consecutive health checks required to set the state of the endpoint to unhealthy.
- traffic
Dial NumberPercentage - The percentage of traffic to sent to an AWS Region
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointGroup resource produces the following output properties:
- Endpoint
Group stringArn - The Amazon Resource Name (ARN) of the endpoint group
- Id string
- The provider-assigned unique ID for this managed resource.
- Endpoint
Group stringArn - The Amazon Resource Name (ARN) of the endpoint group
- Id string
- The provider-assigned unique ID for this managed resource.
- endpoint
Group StringArn - The Amazon Resource Name (ARN) of the endpoint group
- id String
- The provider-assigned unique ID for this managed resource.
- endpoint
Group stringArn - The Amazon Resource Name (ARN) of the endpoint group
- id string
- The provider-assigned unique ID for this managed resource.
- endpoint_
group_ strarn - The Amazon Resource Name (ARN) of the endpoint group
- id str
- The provider-assigned unique ID for this managed resource.
- endpoint
Group StringArn - The Amazon Resource Name (ARN) of the endpoint group
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EndpointGroupEndpointConfiguration, EndpointGroupEndpointConfigurationArgs
- Endpoint
Id string - Id of the endpoint. For Network/Application Load Balancer this value is the ARN. For EIP, this value is the allocation ID. For EC2 instances, this is the EC2 instance ID
- Attachment
Arn string - Attachment ARN that provides access control to the cross account endpoint. Not required for resources hosted in the same account as the endpoint group.
- Client
Ip boolPreservation Enabled - true if client ip should be preserved
- Weight int
- The weight for the endpoint.
- Endpoint
Id string - Id of the endpoint. For Network/Application Load Balancer this value is the ARN. For EIP, this value is the allocation ID. For EC2 instances, this is the EC2 instance ID
- Attachment
Arn string - Attachment ARN that provides access control to the cross account endpoint. Not required for resources hosted in the same account as the endpoint group.
- Client
Ip boolPreservation Enabled - true if client ip should be preserved
- Weight int
- The weight for the endpoint.
- endpoint
Id String - Id of the endpoint. For Network/Application Load Balancer this value is the ARN. For EIP, this value is the allocation ID. For EC2 instances, this is the EC2 instance ID
- attachment
Arn String - Attachment ARN that provides access control to the cross account endpoint. Not required for resources hosted in the same account as the endpoint group.
- client
Ip BooleanPreservation Enabled - true if client ip should be preserved
- weight Integer
- The weight for the endpoint.
- endpoint
Id string - Id of the endpoint. For Network/Application Load Balancer this value is the ARN. For EIP, this value is the allocation ID. For EC2 instances, this is the EC2 instance ID
- attachment
Arn string - Attachment ARN that provides access control to the cross account endpoint. Not required for resources hosted in the same account as the endpoint group.
- client
Ip booleanPreservation Enabled - true if client ip should be preserved
- weight number
- The weight for the endpoint.
- endpoint_
id str - Id of the endpoint. For Network/Application Load Balancer this value is the ARN. For EIP, this value is the allocation ID. For EC2 instances, this is the EC2 instance ID
- attachment_
arn str - Attachment ARN that provides access control to the cross account endpoint. Not required for resources hosted in the same account as the endpoint group.
- client_
ip_ boolpreservation_ enabled - true if client ip should be preserved
- weight int
- The weight for the endpoint.
- endpoint
Id String - Id of the endpoint. For Network/Application Load Balancer this value is the ARN. For EIP, this value is the allocation ID. For EC2 instances, this is the EC2 instance ID
- attachment
Arn String - Attachment ARN that provides access control to the cross account endpoint. Not required for resources hosted in the same account as the endpoint group.
- client
Ip BooleanPreservation Enabled - true if client ip should be preserved
- weight Number
- The weight for the endpoint.
EndpointGroupHealthCheckProtocol, EndpointGroupHealthCheckProtocolArgs
- Tcp
- TCP
- Http
- HTTP
- Https
- HTTPS
- Endpoint
Group Health Check Protocol Tcp - TCP
- Endpoint
Group Health Check Protocol Http - HTTP
- Endpoint
Group Health Check Protocol Https - HTTPS
- Tcp
- TCP
- Http
- HTTP
- Https
- HTTPS
- Tcp
- TCP
- Http
- HTTP
- Https
- HTTPS
- TCP
- TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- "TCP"
- TCP
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.