RuleTransform - Elastic Load Balancing
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

RuleTransform

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

Contents

Type

The type of transform.

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

  • url-rewrite - Rewrite the request URL.

Type: String

Valid Values: host-header-rewrite | url-rewrite

Required: Yes

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.

Type: HostHeaderRewriteConfig object

Required: No

UrlRewriteConfig

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

Type: UrlRewriteConfig object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: