WebACL
public struct WebACL : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The action to perform if none of the Rules contained in the WebACL match. The action is specified by the WafAction object.
Declaration
Swift
public let defaultAction: WafAction
-
A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can’t contain whitespace or metric names reserved for AWS WAF, including “All” and “Default_Action.” You can’t change MetricName after you create the WebACL.
Declaration
Swift
public let metricName: String?
-
A friendly name or description of the WebACL. You can’t change the name of a WebACL after you create it.
Declaration
Swift
public let name: String?
-
An array that contains the action for each Rule in a WebACL, the priority of the Rule, and the ID of the Rule.
Declaration
Swift
public let rules: [ActivatedRule]
-
Tha Amazon Resource Name (ARN) of the web ACL.
Declaration
Swift
public let webACLArn: String?
-
A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL). WebACLId is returned by CreateWebACL and by ListWebACLs.
Declaration
Swift
public let webACLId: String
-
Undocumented
Declaration
Swift
public init(defaultAction: WafAction, metricName: String? = nil, name: String? = nil, rules: [ActivatedRule], webACLArn: String? = nil, webACLId: String)