Interface CfnContainerGroupDefinitionPropsMixin.IPortConfigurationProperty
Defines the ports on a container.
Namespace: Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnContainerGroupDefinitionPropsMixin.IPortConfigurationProperty
Syntax (vb)
Public Interface CfnContainerGroupDefinitionPropsMixin.IPortConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins;
var portConfigurationProperty = new PortConfigurationProperty {
ContainerPortRanges = new [] { new ContainerPortRangeProperty {
FromPort = 123,
Protocol = "protocol",
ToPort = 123
} }
};
Synopsis
Properties
| ContainerPortRanges | Specifies one or more ranges of ports on a container. |
Properties
ContainerPortRanges
Specifies one or more ranges of ports on a container.
object? ContainerPortRanges { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnContainerGroupDefinitionPropsMixin.IContainerPortRangeProperty)[]