Class: Aws::WAFV2::Types::ApiPattern

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

Overview

An API endpoint pattern that an API security event involves.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domains ⇒ Array<String>

The domains that the API pattern was observed on. For example, api.example.com.

Returns:

  • (Array<String>)


532
533
534
535
536
537
538
539
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 532

class ApiPattern < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end

#method ⇒ String

The HTTP method of the API pattern. For example, GET or POST.

Returns:

  • (String)


532
533
534
535
536
537
538
539
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 532

class ApiPattern < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end

#path_pattern ⇒ String

The normalized URI path of the API pattern. Templated path segments are shown in braces. For example, /api/v1/accounts/{id}.

Returns:

  • (String)


532
533
534
535
536
537
538
539
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 532

class ApiPattern < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end

#port ⇒ Integer

The port of the API pattern. For example, 443.

Returns:

  • (Integer)


532
533
534
535
536
537
538
539
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 532

class ApiPattern < Struct.new(
  :method,
  :path_pattern,
  :port,
  :domains)
  SENSITIVE = []
  include Aws::Structure
end