CreateWebACLRequest

public struct CreateWebACLRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The action to perform if none of the Rules contained in the WebACL match.

    Declaration

    Swift

    public let defaultAction: DefaultAction
  • A description of the Web ACL that helps with identification. You cannot change the description of a Web ACL after you create it.

    Declaration

    Swift

    public let description: String?
  • The name of the Web ACL. You cannot change the name of a Web ACL after you create it.

    Declaration

    Swift

    public let name: String
  • The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching web requests, and parameters that govern how AWS WAF handles them.

    Declaration

    Swift

    public let rules: [Rule]?
  • Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB) or an API Gateway stage. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: –scope=CLOUDFRONT –region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1.

    Declaration

    Swift

    public let scope: Scope
  • An array of key:value pairs to associate with the resource.

    Declaration

    Swift

    public let tags: [Tag]?
  • Defines and enables Amazon CloudWatch metrics and web request sample collection.

    Declaration

    Swift

    public let visibilityConfig: VisibilityConfig
  • Undocumented

    Declaration

    Swift

    public init(defaultAction: DefaultAction, description: String? = nil, name: String, rules: [Rule]? = nil, scope: Scope, tags: [Tag]? = nil, visibilityConfig: VisibilityConfig)
  • Declaration

    Swift

    public func validate(name: String) throws