interface ConnectionPortRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins.CfnContainerFleetPropsMixin.ConnectionPortRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgamelift/mixins#CfnContainerFleetPropsMixin_ConnectionPortRangeProperty |
Java | software.amazon.awscdk.mixins.preview.services.gamelift.mixins.CfnContainerFleetPropsMixin.ConnectionPortRangeProperty |
Python | aws_cdk.mixins_preview.aws_gamelift.mixins.CfnContainerFleetPropsMixin.ConnectionPortRangeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_gamelift » mixins » 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 { mixins as gamelift_mixins } from '@aws-cdk/mixins-preview/aws-gamelift';
const connectionPortRangeProperty: gamelift_mixins.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