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(defaultAction, listenerIdentifier,
  serviceIdentifier)

Arguments

defaultAction

[required] The action for the default rule.

listenerIdentifier

[required] The ID or Amazon Resource Name (ARN) of the listener.

serviceIdentifier

[required] The ID or Amazon Resource Name (ARN) of the service.

Value

A list with the following syntax:

list(
  arn = "string",
  defaultAction = list(
    fixedResponse = list(
      statusCode = 123
    ),
    forward = list(
      targetGroups = list(
        list(
          targetGroupIdentifier = "string",
          weight = 123
        )
      )
    )
  ),
  id = "string",
  name = "string",
  port = 123,
  protocol = "HTTP"|"HTTPS"|"TLS_PASSTHROUGH",
  serviceArn = "string",
  serviceId = "string"
)

Request syntax

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