CfnListenerProps

class aws_cdk.aws_globalaccelerator.CfnListenerProps(*, accelerator_arn, port_ranges, protocol, client_affinity=None)

Bases: object

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

Parameters
  • accelerator_arn (str) – AWS::GlobalAccelerator::Listener.AcceleratorArn.

  • port_ranges (Union[IResolvable, List[Union[IResolvable, PortRangeProperty]]]) – AWS::GlobalAccelerator::Listener.PortRanges.

  • protocol (str) – AWS::GlobalAccelerator::Listener.Protocol.

  • client_affinity (Optional[str]) – AWS::GlobalAccelerator::Listener.ClientAffinity.

See

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

Attributes

accelerator_arn

AWS::GlobalAccelerator::Listener.AcceleratorArn.

See

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

Return type

str

client_affinity

AWS::GlobalAccelerator::Listener.ClientAffinity.

See

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

Return type

Optional[str]

port_ranges

AWS::GlobalAccelerator::Listener.PortRanges.

See

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

Return type

Union[IResolvable, List[Union[IResolvable, PortRangeProperty]]]

protocol

AWS::GlobalAccelerator::Listener.Protocol.

See

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

Return type

str