View source: R/cloudwatchlogs_operations.R
cloudwatchlogs_put_account_policy | R Documentation |
Creates an account-level data protection policy or subscription filter policy that applies to all log groups or a subset of log groups in the account.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_account_policy/ for full documentation.
cloudwatchlogs_put_account_policy(
policyName,
policyDocument,
policyType,
scope = NULL,
selectionCriteria = NULL
)
policyName |
[required] A name for the policy. This must be unique within the account. |
policyDocument |
[required] Specify the policy, in JSON. Data protection policy A data protection 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 Subscription filter policy A subscription filter policy can include the following attributes in a JSON block:
|
policyType |
[required] The type of policy that you're creating or updating. |
scope |
Currently the only valid value for this parameter is |
selectionCriteria |
Use this parameter to apply the subscription filter policy to a subset
of log groups in the account. Currently, the only supported filter is
Using the Specifing |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.