interface PortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.FMS.Mixins.CfnPolicyPropsMixin.PortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsfms/mixins#CfnPolicyPropsMixin_PortRangeProperty |
Java | software.amazon.awscdk.mixins.preview.services.fms.mixins.CfnPolicyPropsMixin.PortRangeProperty |
Python | aws_cdk.mixins_preview.aws_fms.mixins.CfnPolicyPropsMixin.PortRangeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_fms » mixins » CfnPolicyPropsMixin » 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 { mixins as fms_mixins } from '@aws-cdk/mixins-preview/aws-fms';
const portRangeProperty: fms_mixins.CfnPolicyPropsMixin.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
(optional)
The beginning port number of the range.
to?
Type:
number
(optional)
The ending port number of the range.

.NET
Go
Java
Python
TypeScript