Show / Hide Table of Contents

Class CfnNetworkAclEntry.PortRangeProperty

Describes a range of ports.

Inheritance
object
CfnNetworkAclEntry.PortRangeProperty
Implements
CfnNetworkAclEntry.IPortRangeProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNetworkAclEntry.PortRangeProperty : CfnNetworkAclEntry.IPortRangeProperty
Syntax (vb)
Public Class CfnNetworkAclEntry.PortRangeProperty Implements CfnNetworkAclEntry.IPortRangeProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-portrange.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.EC2;

             var portRangeProperty = new PortRangeProperty {
                 From = 123,
                 To = 123
             };

Synopsis

Constructors

PortRangeProperty()

Describes a range of ports.

Properties

From

The first port in the range.

To

The last port in the range.

Constructors

PortRangeProperty()

Describes a range of ports.

public PortRangeProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-portrange.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.EC2;

             var portRangeProperty = new PortRangeProperty {
                 From = 123,
                 To = 123
             };

Properties

From

The first port in the range.

public double? From { get; set; }
Property Value

double?

Remarks

Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-portrange.html#cfn-ec2-networkaclentry-portrange-from

To

The last port in the range.

public double? To { get; set; }
Property Value

double?

Remarks

Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-portrange.html#cfn-ec2-networkaclentry-portrange-to

Implements

CfnNetworkAclEntry.IPortRangeProperty
Back to top Generated by DocFX