CreateRuleRequest

Types

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

Properties

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 configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type. For an AWS WAF INSPECTION rule, provide an AWS WAF rule group. For an AWS WAF CONFIGURATION rule, provide a single web ACL setting, such as DefaultAction or VisibilityConfig; use wafConfigDataType to declare which setting the document contains. For the schema of each setting and complete examples, see Writing rule configurations in the AWS Network Security Manager Developer Guide.

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

A description of the rule.

Link copied to clipboard

The name of the rule.

Link copied to clipboard

The type of the rule. CONFIGURATION rules contain firewall settings, and INSPECTION rules contain rule groups.

Link copied to clipboard

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

Functions

Link copied to clipboard
inline fun copy(block: CreateRuleRequest.Builder.() -> Unit = {}): CreateRuleRequest
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