Class: Aws::ElasticLoadBalancingV2::Types::RuleTransform

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

Overview

Information about a transform to apply to requests that match a rule. Transforms are applied to requests before they are sent to targets.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#host_header_rewrite_configTypes::HostHeaderRewriteConfig

Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only when Type is host-header-rewrite.



3798
3799
3800
3801
3802
3803
3804
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3798

class RuleTransform < Struct.new(
  :type,
  :host_header_rewrite_config,
  :url_rewrite_config)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of transform.

  • host-header-rewrite - Rewrite the host header.

  • url-rewrite - Rewrite the request URL.

Returns:

  • (String)


3798
3799
3800
3801
3802
3803
3804
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3798

class RuleTransform < Struct.new(
  :type,
  :host_header_rewrite_config,
  :url_rewrite_config)
  SENSITIVE = []
  include Aws::Structure
end

#url_rewrite_configTypes::UrlRewriteConfig

Information about a URL rewrite transform. This transform modifies the request URL. Specify only when Type is url-rewrite.



3798
3799
3800
3801
3802
3803
3804
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3798

class RuleTransform < Struct.new(
  :type,
  :host_header_rewrite_config,
  :url_rewrite_config)
  SENSITIVE = []
  include Aws::Structure
end