interface PortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins.CfnTLSInspectionConfigurationPropsMixin.PortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsnetworkfirewall/mixins#CfnTLSInspectionConfigurationPropsMixin_PortRangeProperty |
Java | software.amazon.awscdk.mixins.preview.services.networkfirewall.mixins.CfnTLSInspectionConfigurationPropsMixin.PortRangeProperty |
Python | aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnTLSInspectionConfigurationPropsMixin.PortRangeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_networkfirewall » mixins » CfnTLSInspectionConfigurationPropsMixin » PortRangeProperty |
A single port range specification.
This is used for source and destination port ranges in the stateless rule MatchAttributes , SourcePorts , and DestinationPorts settings.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as networkfirewall_mixins } from '@aws-cdk/mixins-preview/aws-networkfirewall';
const portRangeProperty: networkfirewall_mixins.CfnTLSInspectionConfigurationPropsMixin.PortRangeProperty = {
fromPort: 123,
toPort: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| from | number | The lower limit of the port range. |
| to | number | The upper limit of the port range. |
fromPort?
Type:
number
(optional)
The lower limit of the port range.
This must be less than or equal to the ToPort specification.
toPort?
Type:
number
(optional)
The upper limit of the port range.
This must be greater than or equal to the FromPort specification.

.NET
Go
Java
Python
TypeScript