Show / Hide Table of Contents

Interface CfnContainerGroupDefinition.IPortConfigurationProperty

Defines the ports on a container.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-portconfiguration.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 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

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnContainerGroupDefinition.IContainerPortRangeProperty)[]

Back to top Generated by DocFX