CfnListenerProps

class aws_cdk.aws_elasticloadbalancingv2.CfnListenerProps(*, default_actions, load_balancer_arn, alpn_policy=None, certificates=None, port=None, protocol=None, ssl_policy=None)

Bases: object

Properties for defining a AWS::ElasticLoadBalancingV2::Listener.

Parameters
  • default_actions (Union[IResolvable, List[Union[ActionProperty, IResolvable]]]) – AWS::ElasticLoadBalancingV2::Listener.DefaultActions.

  • load_balancer_arn (str) – AWS::ElasticLoadBalancingV2::Listener.LoadBalancerArn.

  • alpn_policy (Optional[List[str]]) – AWS::ElasticLoadBalancingV2::Listener.AlpnPolicy.

  • certificates (Union[IResolvable, List[Union[IResolvable, CertificateProperty]], None]) – AWS::ElasticLoadBalancingV2::Listener.Certificates.

  • port (Union[int, float, None]) – AWS::ElasticLoadBalancingV2::Listener.Port.

  • protocol (Optional[str]) – AWS::ElasticLoadBalancingV2::Listener.Protocol.

  • ssl_policy (Optional[str]) – AWS::ElasticLoadBalancingV2::Listener.SslPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html

Attributes

alpn_policy

AWS::ElasticLoadBalancingV2::Listener.AlpnPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-alpnpolicy

Return type

Optional[List[str]]

certificates

AWS::ElasticLoadBalancingV2::Listener.Certificates.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-certificates

Return type

Union[IResolvable, List[Union[IResolvable, CertificateProperty]], None]

default_actions

AWS::ElasticLoadBalancingV2::Listener.DefaultActions.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-defaultactions

Return type

Union[IResolvable, List[Union[ActionProperty, IResolvable]]]

load_balancer_arn

AWS::ElasticLoadBalancingV2::Listener.LoadBalancerArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-loadbalancerarn

Return type

str

port

AWS::ElasticLoadBalancingV2::Listener.Port.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-port

Return type

Union[int, float, None]

protocol

AWS::ElasticLoadBalancingV2::Listener.Protocol.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-protocol

Return type

Optional[str]

ssl_policy

AWS::ElasticLoadBalancingV2::Listener.SslPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-sslpolicy

Return type

Optional[str]