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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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`.



3887
3888
3889
3890
3891
3892
3893
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3887

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)


3887
3888
3889
3890
3891
3892
3893
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3887

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`.



3887
3888
3889
3890
3891
3892
3893
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3887

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