View source: R/cloudwatchlogs_operations.R
cloudwatchlogs_put_account_policy | R Documentation |
Creates an account-level data protection policy that applies to all log groups in the account. A data protection policy can help safeguard sensitive data that's ingested by your log groups by auditing and masking the sensitive log data. Each account can have only one account-level policy.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_account_policy/ for full documentation.
cloudwatchlogs_put_account_policy(
policyName,
policyDocument,
policyType,
scope = NULL
)
policyName |
[required] A name for the policy. This must be unique within the account. |
policyDocument |
[required] Specify the data protection policy, in JSON. This policy must include two JSON blocks:
For an example data protection policy, see the Examples section on this page. The contents of the two In addition to the two JSON blocks, the The JSON specified in |
policyType |
[required] Currently the only valid value for this parameter is
|
scope |
Currently the only valid value for this parameter is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.