Skip to content

Enables or disables bearer token authentication for the specified log group

Description

Enables or disables bearer token authentication for the specified log group. When enabled on a log group, bearer token authentication is enabled on operations until it is explicitly disabled.

For information about the parameters that are common to all actions, see Common Parameters.

Usage

cloudwatchlogs_put_bearer_token_authentication(logGroupIdentifier,
  bearerTokenAuthenticationEnabled)

Arguments

  • logGroupIdentifier

    [required] The name or ARN of the log group.

    Type: String

    Length Constraints: Minimum length of 1. Maximum length of 512.

    Pattern: [\.\-_/#A-Za-z0-9]+

    Required: Yes

  • bearerTokenAuthenticationEnabled

    [required] Whether to enable bearer token authentication.

    Type: Boolean

    Required: Yes

Value

An empty list.

Request syntax

svc$put_bearer_token_authentication(
  logGroupIdentifier = "string",
  bearerTokenAuthenticationEnabled = TRUE|FALSE
)