interface PortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.FMS.CfnPolicy.PortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsfms#CfnPolicy_PortRangeProperty |
Java | software.amazon.awscdk.services.fms.CfnPolicy.PortRangeProperty |
Python | aws_cdk.aws_fms.CfnPolicy.PortRangeProperty |
TypeScript | aws-cdk-lib » aws_fms » CfnPolicy » PortRangeProperty |
TCP or UDP protocols: The range of ports the rule applies to.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fms as fms } from 'aws-cdk-lib';
const portRangeProperty: fms.CfnPolicy.PortRangeProperty = {
from: 123,
to: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| from | number | The beginning port number of the range. |
| to | number | The ending port number of the range. |
from
Type:
number
The beginning port number of the range.
to
Type:
number
The ending port number of the range.

.NET
Go
Java
Python
TypeScript