Skip to content

Deletes the specified retention policy

Description

Deletes the specified retention policy.

Log events do not expire if they belong to log groups without a retention policy.

Usage

cloudwatchlogs_delete_retention_policy(logGroupName)

Arguments

  • logGroupName

    [required] The name of the log group.

Value

An empty list.

Request syntax

svc$delete_retention_policy(
  logGroupName = "string"
)