Class CfnTLSInspectionConfigurationPropsMixin.PortRangeProperty
A single port range specification.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTLSInspectionConfigurationPropsMixin.PortRangeProperty : CfnTLSInspectionConfigurationPropsMixin.IPortRangeProperty
Syntax (vb)
Public Class CfnTLSInspectionConfigurationPropsMixin.PortRangeProperty Implements CfnTLSInspectionConfigurationPropsMixin.IPortRangeProperty
Remarks
This is used for source and destination port ranges in the stateless rule MatchAttributes , SourcePorts , and DestinationPorts settings.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins;
var portRangeProperty = new PortRangeProperty {
FromPort = 123,
ToPort = 123
};
Synopsis
Constructors
| PortRangeProperty() | A single port range specification. |
Properties
| FromPort | The lower limit of the port range. |
| ToPort | The upper limit of the port range. |
Constructors
PortRangeProperty()
A single port range specification.
public PortRangeProperty()
Remarks
This is used for source and destination port ranges in the stateless rule MatchAttributes , SourcePorts , and DestinationPorts settings.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins;
var portRangeProperty = new PortRangeProperty {
FromPort = 123,
ToPort = 123
};
Properties
FromPort
The lower limit of the port range.
public double? FromPort { get; set; }
Property Value
Remarks
This must be less than or equal to the ToPort specification.
ToPort
The upper limit of the port range.
public double? ToPort { get; set; }
Property Value
Remarks
This must be greater than or equal to the FromPort specification.