IpSet

class IpSet

Contains zero or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. For information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

WAF assigns an ARN to each IPSet that you create. To use an IP set in a rule, you provide the ARN to the Rule statement IPSetReferenceStatement.

Types

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

Properties

Link copied to clipboard

Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.

Link copied to clipboard
val arn: String

The Amazon Resource Name (ARN) of the entity.

Link copied to clipboard

A description of the IP set that helps with identification.

Link copied to clipboard
val id: String

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

Link copied to clipboard

The version of the IP addresses, either IPV4 or IPV6.

Link copied to clipboard

The name of the IP set. You cannot change the name of an IPSet after you create it.

Functions

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