CreatePolicyRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

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

The firewall type associated with the resource.

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). Default: true.

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 name of the policy.

Link copied to clipboard

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

Link copied to clipboard

The tags to add to the resource when it is created.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String