import { Value } from '../../../cloudformation/Value';
/**
  Information about a redirect action.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-redirectconfig.html">the AWS Docs</a>
*/
export interface RedirectConfigProps {
    /** <code>Path</code>  <a name="cfn-elasticloadbalancingv2-listenerrule-redirectconfig-path"></a>
  The absolute path, starting with the leading “/”. This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    path?: Value<string>;
    /** <code>Query</code>  <a name="cfn-elasticloadbalancingv2-listenerrule-redirectconfig-query"></a>
  The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading “?”, as it is automatically added. You can specify any of the reserved keywords.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>128</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    query?: Value<string>;
    /** <code>Port</code>  <a name="cfn-elasticloadbalancingv2-listenerrule-redirectconfig-port"></a>
  The port. You can specify a value from 1 to 65535 or #{port}.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    port?: Value<string>;
    /** <code>Host</code>  <a name="cfn-elasticloadbalancingv2-listenerrule-redirectconfig-host"></a>
  The hostname. This component is not percent-encoded. The hostname can contain #{host}.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    host?: Value<string>;
    /** <code>Protocol</code>  <a name="cfn-elasticloadbalancingv2-listenerrule-redirectconfig-protocol"></a>
  The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.<br />
  
  Required: No<br />
  
  Pattern: <code>^(HTTPS?|#\{protocol\})$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    protocol?: Value<string>;
    /** <code>StatusCode</code>  <a name="cfn-elasticloadbalancingv2-listenerrule-redirectconfig-statuscode"></a>
  The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).<br />
  
  Required: Yes<br />
  
  Allowed values: <code>HTTP_301 | HTTP_302</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    statusCode: Value<'HTTP_301' | 'HTTP_302'>;
}
