Builder

class Builder

Properties

Link copied to clipboard

The templates and rules to associate with the policy. For AWS WAF policies, specify 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list must be empty.

Link copied to clipboard

A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.

Link copied to clipboard

Specifies whether to publish the resource. When true, the resource is saved in published (ACTIVE) state. When false, it is saved as a draft (DRAFT).

Link copied to clipboard

The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.

Link copied to clipboard

A description of the policy.

Link copied to clipboard

The identifier of the policy. This is the policy's Amazon Resource Name (ARN).

Link copied to clipboard

The priority of the resource. A lower number indicates a higher priority.

Link copied to clipboard

A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.