interface PortConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GameLift.CfnContainerGroupDefinition.PortConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnContainerGroupDefinition_PortConfigurationProperty |
Java | software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty |
Python | aws_cdk.aws_gamelift.CfnContainerGroupDefinition.PortConfigurationProperty |
TypeScript | aws-cdk-lib » aws_gamelift » CfnContainerGroupDefinition » PortConfigurationProperty |
Defines the ports on a container.
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-lib';
const portConfigurationProperty: gamelift.CfnContainerGroupDefinition.PortConfigurationProperty = {
containerPortRanges: [{
fromPort: 123,
protocol: 'protocol',
toPort: 123,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| container | IResolvable | (IResolvable | Container)[] | Specifies one or more ranges of ports on a container. |
containerPortRanges
Type:
IResolvable | (IResolvable | Container)[]
Specifies one or more ranges of ports on a container.

.NET
Go
Java
Python
TypeScript