Show / Hide Table of Contents

Class CfnNetworkInsightsPathProps

Properties for defining a CfnNetworkInsightsPath.

Inheritance
System.Object
CfnNetworkInsightsPathProps
Implements
ICfnNetworkInsightsPathProps
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnNetworkInsightsPathProps : Object, ICfnNetworkInsightsPathProps
Syntax (vb)
Public Class CfnNetworkInsightsPathProps
    Inherits Object
    Implements ICfnNetworkInsightsPathProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.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 cfnNetworkInsightsPathProps = new CfnNetworkInsightsPathProps {
    Protocol = "protocol",
    Source = "source",

    // the properties below are optional
    Destination = "destination",
    DestinationIp = "destinationIp",
    DestinationPort = 123,
    FilterAtDestination = new PathFilterProperty {
        DestinationAddress = "destinationAddress",
        DestinationPortRange = new FilterPortRangeProperty {
            FromPort = 123,
            ToPort = 123
        },
        SourceAddress = "sourceAddress",
        SourcePortRange = new FilterPortRangeProperty {
            FromPort = 123,
            ToPort = 123
        }
    },
    FilterAtSource = new PathFilterProperty {
        DestinationAddress = "destinationAddress",
        DestinationPortRange = new FilterPortRangeProperty {
            FromPort = 123,
            ToPort = 123
        },
        SourceAddress = "sourceAddress",
        SourcePortRange = new FilterPortRangeProperty {
            FromPort = 123,
            ToPort = 123
        }
    },
    SourceIp = "sourceIp",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Constructors

CfnNetworkInsightsPathProps()

Properties

Destination

The ID or ARN of the destination.

DestinationIp

The IP address of the destination.

DestinationPort

The destination port.

FilterAtDestination

Scopes the analysis to network paths that match specific filters at the destination.

FilterAtSource

Scopes the analysis to network paths that match specific filters at the source.

Protocol

The protocol.

Source

The ID or ARN of the source.

SourceIp

The IP address of the source.

Tags

The tags to add to the path.

Constructors

CfnNetworkInsightsPathProps()

public CfnNetworkInsightsPathProps()

Properties

Destination

The ID or ARN of the destination.

public string Destination { get; set; }
Property Value

System.String

Remarks

If the resource is in another account, you must specify an ARN.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-destination

DestinationIp

The IP address of the destination.

public string DestinationIp { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-destinationip

DestinationPort

The destination port.

public Nullable<double> DestinationPort { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-destinationport

FilterAtDestination

Scopes the analysis to network paths that match specific filters at the destination.

public object FilterAtDestination { get; set; }
Property Value

System.Object

Remarks

If you specify this parameter, you can't specify the parameter for the destination IP address.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-filteratdestination

FilterAtSource

Scopes the analysis to network paths that match specific filters at the source.

public object FilterAtSource { get; set; }
Property Value

System.Object

Remarks

If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-filteratsource

Protocol

The protocol.

public string Protocol { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-protocol

Source

The ID or ARN of the source.

public string Source { get; set; }
Property Value

System.String

Remarks

If the resource is in another account, you must specify an ARN.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-source

SourceIp

The IP address of the source.

public string SourceIp { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-sourceip

Tags

The tags to add to the path.

public ICfnTag[] Tags { get; set; }
Property Value

ICfnTag[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-tags

Implements

ICfnNetworkInsightsPathProps
Back to top Generated by DocFX