Skip to main content

accelerators

Creates, updates, deletes or gets an accelerator resource or lists accelerators in a region

Overview

Nameaccelerators
TypeResource
DescriptionResource Type definition for AWS::GlobalAccelerator::Accelerator
Idaws.globalaccelerator.accelerators

Fields

NameDatatypeDescription
namestringName of accelerator.
ip_address_typestringIP Address type.
ip_addressesarrayThe IP addresses from BYOIP Prefix pool.
enabledbooleanIndicates whether an accelerator is enabled. The value is true or false.
dns_namestringThe Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IPv4 addresses.
ipv4_addressesarrayThe IPv4 addresses assigned to the accelerator.
ipv6_addressesarrayThe IPv6 addresses assigned if the accelerator is dualstack
dual_stack_dns_namestringThe Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IPv4 and IPv6 addresses.
accelerator_arnstringThe Amazon Resource Name (ARN) of the accelerator.
tagsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all accelerators in a region.

SELECT
region,
name,
ip_address_type,
ip_addresses,
enabled,
dns_name,
ipv4_addresses,
ipv6_addresses,
dual_stack_dns_name,
accelerator_arn,
tags
FROM aws.globalaccelerator.accelerators
;

Gets all properties from an individual accelerator.

SELECT
region,
name,
ip_address_type,
ip_addresses,
enabled,
dns_name,
ipv4_addresses,
ipv6_addresses,
dual_stack_dns_name,
accelerator_arn,
tags
FROM aws.globalaccelerator.accelerators
WHERE data__Identifier = '<AcceleratorArn>';

INSERT example

Use the following StackQL query and manifest file to create a new accelerator resource, using stack-deploy.

/*+ create */
INSERT INTO aws.globalaccelerator.accelerators (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.globalaccelerator.accelerators
WHERE data__Identifier = '<AcceleratorArn>'
AND region = 'us-east-1';

Permissions

To operate on the accelerators resource, the following permissions are required:

Create

globalaccelerator:CreateAccelerator,
globalaccelerator:DescribeAccelerator,
globalaccelerator:TagResource

Read

globalaccelerator:DescribeAccelerator

Update

globalaccelerator:UpdateAccelerator,
globalaccelerator:TagResource,
globalaccelerator:UntagResource,
globalaccelerator:DescribeAccelerator

Delete

globalaccelerator:UpdateAccelerator,
globalaccelerator:DeleteAccelerator,
globalaccelerator:DescribeAccelerator

List

globalaccelerator:ListAccelerators