Skip to content

Returns a list of syslog configurations

Description

Returns a list of syslog configurations. You can optionally filter the results by log group or VPC endpoint.

Usage

cloudwatchlogs_list_syslog_configurations(logGroupIdentifier,
  vpcEndpointId, nextToken, maxResults)

Arguments

  • logGroupIdentifier

    The name or ARN of the log group to filter syslog configurations for.

  • vpcEndpointId

    The ID of the VPC endpoint to filter syslog configurations for.

  • nextToken

    The token for the next set of items to return. You received this token from a previous call.

  • maxResults

    The maximum number of syslog configurations to return in the response.

Value

A list with the following syntax:

list(
  syslogConfigurations = list(
    list(
      logGroupArn = "string",
      sourceType = "VPCE",
      vpcEndpointId = "string",
      createdAt = 123
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_syslog_configurations(
  logGroupIdentifier = "string",
  vpcEndpointId = "string",
  nextToken = "string",
  maxResults = 123
)