Skip to content

Get Listener

vpclattice_get_listener R Documentation

Retrieves information about the specified listener for the specified service

Description

Retrieves information about the specified listener for the specified service.

Usage

vpclattice_get_listener(serviceIdentifier, listenerIdentifier)

Arguments

serviceIdentifier

[required] The ID or ARN of the service.

listenerIdentifier

[required] The ID or ARN of the listener.

Value

A list with the following syntax:

list(
  arn = "string",
  id = "string",
  name = "string",
  protocol = "HTTP"|"HTTPS"|"TLS_PASSTHROUGH",
  port = 123,
  serviceArn = "string",
  serviceId = "string",
  defaultAction = list(
    forward = list(
      targetGroups = list(
        list(
          targetGroupIdentifier = "string",
          weight = 123
        )
      )
    ),
    fixedResponse = list(
      statusCode = 123
    )
  ),
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_listener(
  serviceIdentifier = "string",
  listenerIdentifier = "string"
)