interface PortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnVerifiedAccessEndpointPropsMixin.PortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnVerifiedAccessEndpointPropsMixin_PortRangeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVerifiedAccessEndpointPropsMixin.PortRangeProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnVerifiedAccessEndpointPropsMixin.PortRangeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnVerifiedAccessEndpointPropsMixin » PortRangeProperty |
Describes the port range for a Verified Access endpoint.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const portRangeProperty: ec2.CfnVerifiedAccessEndpointPropsMixin.PortRangeProperty = {
fromPort: 123,
toPort: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| from | number | The start of the port range. |
| to | number | The end of the port range. |
fromPort?
Type:
number
(optional)
The start of the port range.
toPort?
Type:
number
(optional)
The end of the port range.

.NET
Go
Java
Python
TypeScript