aws::global-accelerator

Create a global accelerator.

Example

aws::global-accelerator accelerator
    name: "accelerator"
    enabled: true
end

aws::global-accelerator-listener accelerator
    accelerator: $(aws::global-accelerator accelerator)
    protocol: TCP

    port-range
        from-port: 80
        to-port: 80
    end

    port-range
        from-port: 443
        to-port: 443
    end
end

aws::global-accelerator-endpoint-group accelerator
    listener: $(aws::global-accelerator-listener accelerator)

    endpoint-group-region: us-east-1
    endpoint-configuration
        client-ip-preservation-enabled: true
        endpoint-id: $(aws::application-load-balancer alb-example).arn
        weight: 1.0
    end

    health-check-path: "/_ping"
    health-check-interval-seconds: 10
    health-check-protocol: HTTP
    health-check-port: 443
end

Attributes

Attribute Description
enabled If set to true, the accelerator is enabled.
name The name of the accelerator.
ip-addresses list The list of ip addresses when using BYOIP.
ip-address-type The type of IP addresses. Currently only IPV4 is supported. Currently the only supported value is IPV4.
tags map The tags for the accelerator.
attributes subresource

The attributes for this accelerator. Current supports enabling flow logs.

flow-logs-enabled
If set to true, flow logs are enabled.
flow-logs-s3-bucket
The bucket to upload flow logs to.
flow-logs-s3-prefix
The location to upload flow logs in the bucket.

Outputs

Attribute Description
arn The Amazon Resource Name (ARN) of the accelerator.
dns-name The DNS name that points to your accelerator.
status The deployment status of the accelerator.
ip-sets list subresource The static IPs assigned to the accelerator.