Skip to main content

custom_routing_endpoint_groups

Creates, updates, deletes, gets or lists a custom_routing_endpoint_groups resource.

Overview

Namecustom_routing_endpoint_groups
TypeResource
Idaws.globalaccelerator.custom_routing_endpoint_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destination_descriptionsarrayFor a custom routing accelerator, describes the port range and protocol for all endpoints (virtual private cloud subnets) in an endpoint group to accept client traffic on.
endpoint_descriptionsarrayFor a custom routing accelerator, describes the endpoints (virtual private cloud subnets) in an endpoint group to accept client traffic on.
endpoint_group_arnstringThe Amazon Resource Name (ARN) of the endpoint group.
endpoint_group_regionstringThe Amazon Web Services Region where the endpoint group is located.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_custom_routing_endpoint_groupselectregionDescribe an endpoint group for a custom routing accelerator.
list_custom_routing_endpoint_groupsselectregionList the endpoint groups that are associated with a listener for a custom routing accelerator.
create_custom_routing_endpoint_groupinsertregion, ListenerArn, EndpointGroupRegion, DestinationConfigurations, IdempotencyTokenCreate an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.
delete_custom_routing_endpoint_groupdeleteregionDelete an endpoint group from a listener for a custom routing accelerator.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describe an endpoint group for a custom routing accelerator.

SELECT
destination_descriptions,
endpoint_descriptions,
endpoint_group_arn,
endpoint_group_region
FROM aws.globalaccelerator.custom_routing_endpoint_groups
WHERE region = '{{ region }}' -- required
;

INSERT examples

Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.

INSERT INTO aws.globalaccelerator.custom_routing_endpoint_groups (
ListenerArn,
EndpointGroupRegion,
DestinationConfigurations,
IdempotencyToken,
region
)
SELECT
'{{ ListenerArn }}' /* required */,
'{{ EndpointGroupRegion }}' /* required */,
'{{ DestinationConfigurations }}' /* required */,
'{{ IdempotencyToken }}' /* required */,
'{{ region }}'
RETURNING
endpoint_group
;

DELETE examples

Delete an endpoint group from a listener for a custom routing accelerator.

DELETE FROM aws.globalaccelerator.custom_routing_endpoint_groups
WHERE region = '{{ region }}' --required
;