Class: Aws::ElasticLoadBalancingV2::Types::RewriteConfig

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

Overview

Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#regex ⇒ String

The regular expression to match in the input string. The maximum length of the string is 1,024 characters.

Returns:

  • (String)


3755
3756
3757
3758
3759
3760
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3755

class RewriteConfig < Struct.new(
  :regex,
  :replace)
  SENSITIVE = []
  include Aws::Structure
end

#replace ⇒ String

The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).

Returns:

  • (String)


3755
3756
3757
3758
3759
3760
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3755

class RewriteConfig < Struct.new(
  :regex,
  :replace)
  SENSITIVE = []
  include Aws::Structure
end