GeoMatchStatement
public struct GeoMatchStatement : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
An array of two-character country codes, for example, [ “US”, “CN” ], from the alpha-2 country ISO codes of the ISO 3166 international standard.
Declaration
Swift
public let countryCodes: [CountryCode]?
-
The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that’s reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. If the specified header isn’t present in the request, AWS WAF doesn’t apply the rule to the web request at all.
Declaration
Swift
public let forwardedIPConfig: ForwardedIPConfig?
-
Undocumented
Declaration
Swift
public init(countryCodes: [CountryCode]? = nil, forwardedIPConfig: ForwardedIPConfig? = nil)
-
Declaration
Swift
public func validate(name: String) throws