interface PortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.FMS.CfnPolicyPropsMixin.PortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsfms#CfnPolicyPropsMixin_PortRangeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.fms.CfnPolicyPropsMixin.PortRangeProperty |
Python | aws_cdk.cfn_property_mixins.aws_fms.CfnPolicyPropsMixin.PortRangeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_fms » 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 { aws_fms as fms } from '@aws-cdk/cfn-property-mixins';
const portRangeProperty: fms.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