ApplicationLoadBalancerRedirectConfig¶
-
class
aws_cdk.aws_elasticloadbalancingv2.
ApplicationLoadBalancerRedirectConfig
(*, source_port=None, source_protocol=None, target_port=None, target_protocol=None)¶ Bases:
object
Properties for a redirection config.
- Parameters
source_port (
Union
[int
,float
,None
]) – The port number to listen to. Default: 80source_protocol (
Optional
[ApplicationProtocol
]) – The protocol of the listener being created. Default: HTTPtarget_port (
Union
[int
,float
,None
]) – The port number to redirect to. Default: 443target_protocol (
Optional
[ApplicationProtocol
]) – The protocol of the redirection target. Default: HTTPS
Attributes
-
source_port
¶ The port number to listen to.
- Default
80
- Return type
Union
[int
,float
,None
]
-
source_protocol
¶ The protocol of the listener being created.
- Default
HTTP
- Return type
Optional
[ApplicationProtocol
]
-
target_port
¶ The port number to redirect to.
- Default
443
- Return type
Union
[int
,float
,None
]
-
target_protocol
¶ The protocol of the redirection target.
- Default
HTTPS
- Return type
Optional
[ApplicationProtocol
]