Show / Hide Table of Contents

Interface ICfnNetworkInsightsPathProps

Properties for defining a CfnNetworkInsightsPath.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnNetworkInsightsPathProps
Syntax (vb)
Public Interface ICfnNetworkInsightsPathProps
Remarks

See: 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

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.

Properties

Destination

The ID or ARN of the destination.

string? Destination { get; }
Property Value

string

Remarks

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

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

DestinationIp

The IP address of the destination.

string? DestinationIp { get; }
Property Value

string

Remarks

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

DestinationPort

The destination port.

double? DestinationPort { get; }
Property Value

double?

Remarks

See: 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.

object? FilterAtDestination { get; }
Property Value

object

Remarks

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

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

Type union: either IResolvable or CfnNetworkInsightsPath.IPathFilterProperty

FilterAtSource

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

object? FilterAtSource { get; }
Property Value

object

Remarks

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

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

Type union: either IResolvable or CfnNetworkInsightsPath.IPathFilterProperty

Protocol

The protocol.

string Protocol { get; }
Property Value

string

Remarks

See: 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.

string Source { get; }
Property Value

string

Remarks

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

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

SourceIp

The IP address of the source.

string? SourceIp { get; }
Property Value

string

Remarks

See: 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.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

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

Back to top Generated by DocFX