interface ConnectionPortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.GameLift.CfnContainerFleetPropsMixin.ConnectionPortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsgamelift#CfnContainerFleetPropsMixin_ConnectionPortRangeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnContainerFleetPropsMixin.ConnectionPortRangeProperty |
Python | aws_cdk.cfn_property_mixins.aws_gamelift.CfnContainerFleetPropsMixin.ConnectionPortRangeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_gamelift » CfnContainerFleetPropsMixin » ConnectionPortRangeProperty |
The set of port numbers to open on each instance in a container fleet.
Connection ports are used by inbound traffic to connect with processes that are running in containers on the fleet.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from '@aws-cdk/cfn-property-mixins';
const connectionPortRangeProperty: gamelift.CfnContainerFleetPropsMixin.ConnectionPortRangeProperty = {
fromPort: 123,
toPort: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| from | number | Starting value for the port range. |
| to | number | Ending value for the port. |
fromPort?
Type:
number
(optional)
Starting value for the port range.
toPort?
Type:
number
(optional)
Ending value for the port.
Port numbers are end-inclusive. This value must be equal to or greater than FromPort .

.NET
Go
Java
Python
TypeScript