Class CfnNetworkInsightsPath
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ec2.CfnNetworkInsightsPath
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-01T20:58:22.948Z")
@Stability(Stable)
public class CfnNetworkInsightsPath
extends CfnResource
implements IInspectable, ITaggable
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 .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; CfnNetworkInsightsPath cfnNetworkInsightsPath = CfnNetworkInsightsPath.Builder.create(this, "MyCfnNetworkInsightsPath") .protocol("protocol") .source("source") // the properties below are optional .destination("destination") .destinationIp("destinationIp") .destinationPort(123) .filterAtDestination(PathFilterProperty.builder() .destinationAddress("destinationAddress") .destinationPortRange(FilterPortRangeProperty.builder() .fromPort(123) .toPort(123) .build()) .sourceAddress("sourceAddress") .sourcePortRange(FilterPortRangeProperty.builder() .fromPort(123) .toPort(123) .build()) .build()) .filterAtSource(PathFilterProperty.builder() .destinationAddress("destinationAddress") .destinationPortRange(FilterPortRangeProperty.builder() .fromPort(123) .toPort(123) .build()) .sourceAddress("sourceAddress") .sourcePortRange(FilterPortRangeProperty.builder() .fromPort(123) .toPort(123) .build()) .build()) .sourceIp("sourceIp") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A fluent builder forCfnNetworkInsightsPath
.static interface
Describes a port range.static interface
Describes a set of filters for a path analysis.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnNetworkInsightsPath
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnNetworkInsightsPath
(software.amazon.jsii.JsiiObjectRef objRef) CfnNetworkInsightsPath
(software.constructs.Construct scope, String id, CfnNetworkInsightsPathProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe time stamp when the path was created.The Amazon Resource Name (ARN) of the destination.The Amazon Resource Name (ARN) of the path.The ID of the path.The Amazon Resource Name (ARN) of the source.The ID or ARN of the destination.The IP address of the destination.The destination port.Scopes the analysis to network paths that match specific filters at the destination.Scopes the analysis to network paths that match specific filters at the source.The protocol.The ID or ARN of the source.The IP address of the source.getTags()
Tag Manager which manages the tags for this resource.The tags to add to the path.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDestination
(String value) The ID or ARN of the destination.void
setDestinationIp
(String value) The IP address of the destination.void
setDestinationPort
(Number value) The destination port.void
Scopes the analysis to network paths that match specific filters at the destination.void
Scopes the analysis to network paths that match specific filters at the destination.void
setFilterAtSource
(IResolvable value) Scopes the analysis to network paths that match specific filters at the source.void
Scopes the analysis to network paths that match specific filters at the source.void
setProtocol
(String value) The protocol.void
The ID or ARN of the source.void
setSourceIp
(String value) The IP address of the source.void
setTagsRaw
(List<CfnTag> value) The tags to add to the path.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnNetworkInsightsPath
protected CfnNetworkInsightsPath(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNetworkInsightsPath
protected CfnNetworkInsightsPath(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNetworkInsightsPath
@Stability(Stable) public CfnNetworkInsightsPath(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNetworkInsightsPathProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreatedDate
The time stamp when the path was created. -
getAttrDestinationArn
The Amazon Resource Name (ARN) of the destination. -
getAttrNetworkInsightsPathArn
The Amazon Resource Name (ARN) of the path. -
getAttrNetworkInsightsPathId
The ID of the path. -
getAttrSourceArn
The Amazon Resource Name (ARN) of the source. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getProtocol
The protocol. -
setProtocol
The protocol. -
getSource
The ID or ARN of the source. -
setSource
The ID or ARN of the source. -
getDestination
The ID or ARN of the destination. -
setDestination
The ID or ARN of the destination. -
getDestinationIp
The IP address of the destination. -
setDestinationIp
The IP address of the destination. -
getDestinationPort
The destination port. -
setDestinationPort
The destination port. -
getFilterAtDestination
Scopes the analysis to network paths that match specific filters at the destination. -
setFilterAtDestination
Scopes the analysis to network paths that match specific filters at the destination. -
setFilterAtDestination
@Stability(Stable) public void setFilterAtDestination(@Nullable CfnNetworkInsightsPath.PathFilterProperty value) Scopes the analysis to network paths that match specific filters at the destination. -
getFilterAtSource
Scopes the analysis to network paths that match specific filters at the source. -
setFilterAtSource
Scopes the analysis to network paths that match specific filters at the source. -
setFilterAtSource
@Stability(Stable) public void setFilterAtSource(@Nullable CfnNetworkInsightsPath.PathFilterProperty value) Scopes the analysis to network paths that match specific filters at the source. -
getSourceIp
The IP address of the source. -
setSourceIp
The IP address of the source. -
getTagsRaw
The tags to add to the path. -
setTagsRaw
The tags to add to the path.
-