interface PortRangeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GlobalAccelerator.CfnListener.PortRangeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsglobalaccelerator#CfnListener_PortRangeProperty |
![]() | software.amazon.awscdk.services.globalaccelerator.CfnListener.PortRangeProperty |
![]() | aws_cdk.aws_globalaccelerator.CfnListener.PortRangeProperty |
![]() | 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
Name | Type | Description |
---|---|---|
from | number | The first port in the range of ports, inclusive. |
to | number | The 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.