Class CfnPolicyPropsMixin.PortRangeProperty
TCP or UDP protocols: The range of ports the rule applies to.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.FMS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPolicyPropsMixin.PortRangeProperty : CfnPolicyPropsMixin.IPortRangeProperty
Syntax (vb)
Public Class CfnPolicyPropsMixin.PortRangeProperty Implements CfnPolicyPropsMixin.IPortRangeProperty
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.CfnPropertyMixins.AWS.FMS;
var portRangeProperty = new PortRangeProperty {
From = 123,
To = 123
};
Synopsis
Constructors
| PortRangeProperty() | TCP or UDP protocols: The range of ports the rule applies to. |
Properties
| From | The beginning port number of the range. |
| To | The ending port number of the range. |
Constructors
PortRangeProperty()
TCP or UDP protocols: The range of ports the rule applies to.
public PortRangeProperty()
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.CfnPropertyMixins.AWS.FMS;
var portRangeProperty = new PortRangeProperty {
From = 123,
To = 123
};
Properties
From
The beginning port number of the range.
public double? From { get; set; }
Property Value
Remarks
To
The ending port number of the range.
public double? To { get; set; }