Class CfnContainerGroupDefinition.PortConfigurationProperty
Defines the ports on a container.
Inheritance
System.Object
CfnContainerGroupDefinition.PortConfigurationProperty
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PortConfigurationProperty : Object, CfnContainerGroupDefinition.IPortConfigurationProperty
Syntax (vb)
Public Class PortConfigurationProperty
Inherits Object
Implements CfnContainerGroupDefinition.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
Constructors
PortConfigurationProperty() |
Properties
ContainerPortRanges | Specifies one or more ranges of ports on a container. |
Constructors
PortConfigurationProperty()
public PortConfigurationProperty()
Properties
ContainerPortRanges
Specifies one or more ranges of ports on a container.
public object ContainerPortRanges { get; set; }
Property Value
System.Object