Class CfnNetworkInsightsPath.FilterPortRangeProperty
Describes a port range.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNetworkInsightsPath.FilterPortRangeProperty : CfnNetworkInsightsPath.IFilterPortRangeProperty
Syntax (vb)
Public Class CfnNetworkInsightsPath.FilterPortRangeProperty Implements CfnNetworkInsightsPath.IFilterPortRangeProperty
Remarks
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.AWS.EC2;
var filterPortRangeProperty = new FilterPortRangeProperty {
FromPort = 123,
ToPort = 123
};
Synopsis
Constructors
| FilterPortRangeProperty() | Describes a port range. |
Properties
| FromPort | The first port in the range. |
| ToPort | The last port in the range. |
Constructors
FilterPortRangeProperty()
Describes a port range.
public FilterPortRangeProperty()
Remarks
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.AWS.EC2;
var filterPortRangeProperty = new FilterPortRangeProperty {
FromPort = 123,
ToPort = 123
};
Properties
FromPort
The first port in the range.
public double? FromPort { get; set; }
Property Value
Remarks
ToPort
The last port in the range.
public double? ToPort { get; set; }