Skip to content

Update Listener

vpclattice_update_listener R Documentation

Updates the specified listener for the specified service

Description

Updates the specified listener for the specified service.

Usage

vpclattice_update_listener(serviceIdentifier, listenerIdentifier,
  defaultAction)

Arguments

serviceIdentifier

[required] The ID or ARN of the service.

listenerIdentifier

[required] The ID or ARN of the listener.

defaultAction

[required] The action for the default rule.

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
    )
  )
)

Request syntax

svc$update_listener(
  serviceIdentifier = "string",
  listenerIdentifier = "string",
  defaultAction = list(
    forward = list(
      targetGroups = list(
        list(
          targetGroupIdentifier = "string",
          weight = 123
        )
      )
    ),
    fixedResponse = list(
      statusCode = 123
    )
  )
)