interface PortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnVerifiedAccessEndpointPropsMixin.PortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnVerifiedAccessEndpointPropsMixin_PortRangeProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVerifiedAccessEndpointPropsMixin.PortRangeProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnVerifiedAccessEndpointPropsMixin.PortRangeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const portRangeProperty: ec2_mixins.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