interface PortConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.GameLift.CfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsgamelift#CfnContainerGroupDefinitionPropsMixin_PortConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_gamelift.CfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_gamelift » CfnContainerGroupDefinitionPropsMixin » 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/cfn-property-mixins';
const portConfigurationProperty: gamelift.CfnContainerGroupDefinitionPropsMixin.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)[]
(optional)
Specifies one or more ranges of ports on a container.

.NET
Go
Java
Python
TypeScript