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 new policy to a subset of log groups in the account.