aws-cdk-lib.aws_globalaccelerator.CfnListener.PortRangeProperty

interface PortRangeProperty

LanguageType name
.NETAmazon.CDK.AWS.GlobalAccelerator.CfnListener.PortRangeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglobalaccelerator#CfnListener_PortRangeProperty
Javasoftware.amazon.awscdk.services.globalaccelerator.CfnListener.PortRangeProperty
Pythonaws_cdk.aws_globalaccelerator.CfnListener.PortRangeProperty
TypeScript aws-cdk-lib » aws_globalaccelerator » CfnListener » PortRangeProperty

A complex type for a range of ports for a listener.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_globalaccelerator as globalaccelerator } from 'aws-cdk-lib';
const portRangeProperty: globalaccelerator.CfnListener.PortRangeProperty = {
  fromPort: 123,
  toPort: 123,
};

Properties

NameTypeDescription
fromPortnumberThe first port in the range of ports, inclusive.
toPortnumberThe last port in the range of ports, inclusive.

fromPort

Type: number

The first port in the range of ports, inclusive.


toPort

Type: number

The last port in the range of ports, inclusive.