Redirect (AWS::ElasticLoadBalancingV2::Listener)

From wikieduonline
Jump to navigation Jump to search
HTTPlistener:
   Type: "AWS::ElasticLoadBalancingV2::Listener"
   Properties:
     DefaultActions:
       - Type: "redirect"
       RedirectConfig:
         Protocol: "HTTPS"
         Port: 443
         Host: "#{host}"
         Path: "/#{path}"
         Query: "#{query}"
         StatusCode: "HTTP_301"
      LoadBalancerArn: !Ref myLoadBalancer
      Port: 80
      Protocol: "HTTP"

Related terms[edit]


Changelog[edit]

See also[edit]

Advertising: