Builder

class Builder

Properties

Link copied to clipboard

Specify the policy, in JSON.

Link copied to clipboard

A name for the policy. This must be unique within the account.

Link copied to clipboard

The type of policy that you're creating or updating.

Link copied to clipboard
var scope: Scope?

Currently the only valid value for this parameter is ALL, which specifies that the data protection policy applies to all log groups in the account. If you omit this parameter, the default of ALL is used.

Link copied to clipboard

Use this parameter to apply the subscription filter policy to a subset of log groups in the account. Currently, the only supported filter is LogGroupName NOT IN []. The selectionCriteria string can be up to 25KB in length. The length is determined by using its UTF-8 bytes.