Class CfnNetworkInsightsPath
A CloudFormation AWS::EC2::NetworkInsightsPath
.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnNetworkInsightsPath : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnNetworkInsightsPath
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a path to analyze for reachability.
VPC Reachability Analyzer enables you to analyze and debug network reachability between two resources in your virtual private cloud (VPC). For more information, see the Reachability Analyzer User Guide .
CloudformationResource: AWS::EC2::NetworkInsightsPath
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 cfnNetworkInsightsPath = new CfnNetworkInsightsPath(this, "MyCfnNetworkInsightsPath", 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
CfnNetworkInsightsPath(Construct, String, ICfnNetworkInsightsPathProps) | Create a new |
CfnNetworkInsightsPath(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnNetworkInsightsPath(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrCreatedDate | The time stamp when the path was created. |
AttrDestinationArn | The Amazon Resource Name (ARN) of the destination. |
AttrNetworkInsightsPathArn | The Amazon Resource Name (ARN) of the path. |
AttrNetworkInsightsPathId | The ID of the path. |
AttrSourceArn | The Amazon Resource Name (ARN) of the source. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnNetworkInsightsPath(Construct, String, ICfnNetworkInsightsPathProps)
Create a new AWS::EC2::NetworkInsightsPath
.
public CfnNetworkInsightsPath(Construct scope, string id, ICfnNetworkInsightsPathProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnNetworkInsightsPathProps
- resource properties.
CfnNetworkInsightsPath(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnNetworkInsightsPath(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnNetworkInsightsPath(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnNetworkInsightsPath(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrCreatedDate
The time stamp when the path was created.
public virtual string AttrCreatedDate { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedDate
AttrDestinationArn
The Amazon Resource Name (ARN) of the destination.
public virtual string AttrDestinationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DestinationArn
AttrNetworkInsightsPathArn
The Amazon Resource Name (ARN) of the path.
public virtual string AttrNetworkInsightsPathArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: NetworkInsightsPathArn
AttrNetworkInsightsPathId
The ID of the path.
public virtual string AttrNetworkInsightsPathId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: NetworkInsightsPathId
AttrSourceArn
The Amazon Resource Name (ARN) of the source.
public virtual string AttrSourceArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: SourceArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Destination
The ID or ARN of the destination.
public virtual string Destination { get; set; }
Property Value
System.String
Remarks
If the resource is in another account, you must specify an ARN.
DestinationIp
The IP address of the destination.
public virtual string DestinationIp { get; set; }
Property Value
System.String
Remarks
DestinationPort
The destination port.
public virtual Nullable<double> DestinationPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
FilterAtDestination
Scopes the analysis to network paths that match specific filters at the destination.
public virtual 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.
FilterAtSource
Scopes the analysis to network paths that match specific filters at the source.
public virtual 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.
Protocol
The protocol.
public virtual string Protocol { get; set; }
Property Value
System.String
Remarks
Source
The ID or ARN of the source.
public virtual string Source { get; set; }
Property Value
System.String
Remarks
If the resource is in another account, you must specify an ARN.
SourceIp
The IP address of the source.
public virtual string SourceIp { get; set; }
Property Value
System.String
Remarks
Tags
The tags to add to the path.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>