Interface CfnContainerGroupDefinition.IPortConfigurationProperty
Defines the ports on a container.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPortConfigurationProperty
Syntax (vb)
Public Interface 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.AWS.GameLift;
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
System.Object