Skip to main content

listener

Gets an individual listener resource

Overview

Namelistener
TypeResource
Descriptionlistener
Idawscc.vpclattice.listener

Fields

NameDatatypeDescription
arnstring
default_actionobject
idstring
namestring
portinteger
protocolstring
service_arnstring
service_idstring
service_identifierstring
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
default_action,
id,
name,
port,
protocol,
service_arn,
service_id,
service_identifier,
tags
FROM awscc.vpclattice.listener
WHERE data__Identifier = '<Arn>';

Permissions

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

Read

vpc-lattice:GetListener,
vpc-lattice:ListTagsForResource

Update

vpc-lattice:UpdateListener,
vpc-lattice:TagResource,
vpc-lattice:UntagResource,
vpc-lattice:GetListener,
vpc-lattice:ListTagsForResource

Delete

vpc-lattice:DeleteListener