Class: Aws::WAFRegional::Types::CreateWebACLRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1080

class CreateWebACLRequest < Struct.new(
  :name,
  :metric_name,
  :default_action,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#default_actionTypes::WafAction

The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.

Returns:



1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1080

class CreateWebACLRequest < Struct.new(
  :name,
  :metric_name,
  :default_action,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

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.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1080

class CreateWebACLRequest < Struct.new(
  :name,
  :metric_name,
  :default_action,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A friendly name or description of the WebACL. You can't change Name after you create the WebACL.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1080

class CreateWebACLRequest < Struct.new(
  :name,
  :metric_name,
  :default_action,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Returns:



1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1080

class CreateWebACLRequest < Struct.new(
  :name,
  :metric_name,
  :default_action,
  :change_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end