cloudwatchlogs_describe_account_policies: Returns a list of all CloudWatch Logs account policies in the...

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_describe_account_policiesR Documentation

Returns a list of all CloudWatch Logs account policies in the account

Description

Returns a list of all CloudWatch Logs account policies in the account.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_describe_account_policies/ for full documentation.

Usage

cloudwatchlogs_describe_account_policies(
  policyType,
  policyName = NULL,
  accountIdentifiers = NULL
)

Arguments

policyType

[required] Use this parameter to limit the returned policies to only the policies that match the policy type that you specify. Currently, the only valid value is DATA_PROTECTION_POLICY.

policyName

Use this parameter to limit the returned policies to only the policy with the name that you specify.

accountIdentifiers

If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

If you omit this parameter, only the policy in the current account is returned.


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.