Class: Aws::ElasticLoadBalancingV2::Types::RewriteConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::RewriteConfig
- 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
-
#regex ⇒ String
The regular expression to match in the input string.
-
#replace ⇒ String
The replacement string to use when rewriting the matched input.
Instance Attribute Details
#regex ⇒ String
The regular expression to match in the input string. The maximum length of the string is 1,024 characters.
3666 3667 3668 3669 3670 3671 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3666 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).
3666 3667 3668 3669 3670 3671 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3666 class RewriteConfig < Struct.new( :regex, :replace) SENSITIVE = [] include Aws::Structure end |