listener
Gets an individual listener
resource
Overview
Name | listener |
Type | Resource |
Description | listener |
Id | awscc.globalaccelerator.listener |
Fields
Name | Datatype | Description |
---|---|---|
listener_arn | string | The Amazon Resource Name (ARN) of the listener. |
accelerator_arn | string | The Amazon Resource Name (ARN) of the accelerator. |
port_ranges | array | |
protocol | string | The protocol for the listener. |
client_affinity | string | Client affinity lets you direct all requests from a user to the same endpoint. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
listener_arn,
accelerator_arn,
port_ranges,
protocol,
client_affinity
FROM awscc.globalaccelerator.listener
WHERE data__Identifier = '<ListenerArn>';
Permissions
To operate on the listener
resource, the following permissions are required:
Read
globalaccelerator:DescribeListener
Update
globalaccelerator:UpdateListener,
globalaccelerator:DescribeListener,
globalaccelerator:DescribeAccelerator
Delete
globalaccelerator:DescribeListener,
globalaccelerator:DeleteListener,
globalaccelerator:DescribeAccelerator