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

#regexString

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

Returns:

  • (String)


3577
3578
3579
3580
3581
3582
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3577

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

#replaceString

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)


3577
3578
3579
3580
3581
3582
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3577

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