Skip to main content

listener

Gets an individual listener resource

Overview

Namelistener
TypeResource
Descriptionlistener
Idawscc.globalaccelerator.listener

Fields

NameDatatypeDescription
listener_arnstringThe Amazon Resource Name (ARN) of the listener.
accelerator_arnstringThe Amazon Resource Name (ARN) of the accelerator.
port_rangesarray
protocolstringThe protocol for the listener.
client_affinitystringClient affinity lets you direct all requests from a user to the same endpoint.
regionstringAWS 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