Skip to content

Get Data Protection Policy

cloudwatchlogs_get_data_protection_policy R Documentation

Returns information about a log group data protection policy

Description

Returns information about a log group data protection policy.

Usage

cloudwatchlogs_get_data_protection_policy(logGroupIdentifier)

Arguments

logGroupIdentifier

[required] The name or ARN of the log group that contains the data protection policy that you want to see.

Value

A list with the following syntax:

list(
  logGroupIdentifier = "string",
  policyDocument = "string",
  lastUpdatedTime = 123
)

Request syntax

svc$get_data_protection_policy(
  logGroupIdentifier = "string"
)