Show / Hide Table of Contents

Interface CfnContainerGroupDefinition.IContainerPortRangeProperty

A set of one or more port numbers that can be opened on the container, and the supported network protocol.

Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnContainerGroupDefinition.IContainerPortRangeProperty
Syntax (vb)
Public Interface CfnContainerGroupDefinition.IContainerPortRangeProperty
Remarks

Part of: ContainerPortConfiguration

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html

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 containerPortRangeProperty = new ContainerPortRangeProperty {
                 FromPort = 123,
                 Protocol = "protocol",
                 ToPort = 123
             };

Synopsis

Properties

FromPort

A starting value for the range of allowed port numbers.

Protocol

The network protocol that these ports support.

ToPort

An ending value for the range of allowed port numbers.

Properties

FromPort

A starting value for the range of allowed port numbers.

double FromPort { get; }
Property Value

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-fromport

Protocol

The network protocol that these ports support.

string Protocol { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-protocol

ToPort

An ending value for the range of allowed port numbers.

double ToPort { get; }
Property Value

double

Remarks

Port numbers are end-inclusive. This value must be equal to or greater than FromPort .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-toport

Back to top Generated by DocFX