Class CfnNetworkInsightsAnalysis
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.CfnNetworkInsightsAnalysis
- All Implemented Interfaces:
IInspectable,ITaggable,INetworkInsightsAnalysisRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:09.333Z")
@Stability(Stable)
public class CfnNetworkInsightsAnalysis
extends CfnResource
implements IInspectable, INetworkInsightsAnalysisRef, ITaggable
Specifies a network insights analysis.
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.*;
CfnNetworkInsightsAnalysis cfnNetworkInsightsAnalysis = CfnNetworkInsightsAnalysis.Builder.create(this, "MyCfnNetworkInsightsAnalysis")
.networkInsightsPathId("networkInsightsPathId")
// the properties below are optional
.additionalAccounts(List.of("additionalAccounts"))
.filterInArns(List.of("filterInArns"))
.filterOutArns(List.of("filterOutArns"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes an additional detail for a path analysis.static interfaceDescribes an potential intermediate component of a feasible path.static interfaceDescribes a network access control (ACL) rule.static interfaceDescribes a path component.static interfaceDescribes a load balancer listener.static interfaceDescribes a load balancer target.static interfaceDescribes a header.static interfaceDescribes a route table route.static interfaceDescribes a security group rule.static final classA fluent builder forCfnNetworkInsightsAnalysis.static interfaceDescribes an explanation code for an unreachable path.static interfaceDescribes a path component.static interfaceDescribes a range of ports.static interfaceDescribes a route in a transit gateway route table.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.INetworkInsightsAnalysisRef
INetworkInsightsAnalysisRef.Jsii$Default, INetworkInsightsAnalysisRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnNetworkInsightsAnalysis(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNetworkInsightsAnalysis(software.amazon.jsii.JsiiObjectRef objRef) CfnNetworkInsightsAnalysis(software.constructs.Construct scope, String id, CfnNetworkInsightsAnalysisProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic INetworkInsightsAnalysisReffromNetworkInsightsAnalysisArn(software.constructs.Construct scope, String id, String arn) Creates a new INetworkInsightsAnalysisRef from an ARN.static INetworkInsightsAnalysisReffromNetworkInsightsAnalysisId(software.constructs.Construct scope, String id, String networkInsightsAnalysisId) Creates a new INetworkInsightsAnalysisRef from a networkInsightsAnalysisId.The member accounts that contain resources that the path can traverse.Potential intermediate components.The explanations.The components in the path from source to destination.The Amazon Resource Name (ARN) of the network insights analysis.The ID of the network insights analysis.Indicates whether the destination is reachable from the source.The components in the path from destination to source.The time the analysis started.The status of the network insights analysis.The status message, if the status isfailed.The IDs of potential intermediate accounts.The Amazon Resource Names (ARN) of the resources that the path must traverse.The Amazon Resource Names (ARN) of the resources that the path must ignore.A reference to a NetworkInsightsAnalysis resource.The ID of the path.getTags()Tag Manager which manages the tags for this resource.The tags to apply.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAdditionalAccounts(List<String> value) The member accounts that contain resources that the path can traverse.voidsetFilterInArns(List<String> value) The Amazon Resource Names (ARN) of the resources that the path must traverse.voidsetFilterOutArns(List<String> value) The Amazon Resource Names (ARN) of the resources that the path must ignore.voidsetNetworkInsightsPathId(String value) The ID of the path.voidsetTagsRaw(List<CfnTag> value) The tags to apply.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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods 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
-
CfnNetworkInsightsAnalysis
protected CfnNetworkInsightsAnalysis(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNetworkInsightsAnalysis
protected CfnNetworkInsightsAnalysis(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNetworkInsightsAnalysis
@Stability(Stable) public CfnNetworkInsightsAnalysis(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNetworkInsightsAnalysisProps 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
-
fromNetworkInsightsAnalysisArn
@Stability(Stable) @NotNull public static INetworkInsightsAnalysisRef fromNetworkInsightsAnalysisArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new INetworkInsightsAnalysisRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromNetworkInsightsAnalysisId
@Stability(Stable) @NotNull public static INetworkInsightsAnalysisRef fromNetworkInsightsAnalysisId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String networkInsightsAnalysisId) Creates a new INetworkInsightsAnalysisRef from a networkInsightsAnalysisId.- Parameters:
scope- This parameter is required.id- This parameter is required.networkInsightsAnalysisId- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAlternatePathHints
Potential intermediate components. -
getAttrExplanations
The explanations.For more information, see Reachability Analyzer explanation codes .
-
getAttrForwardPathComponents
The components in the path from source to destination. -
getAttrNetworkInsightsAnalysisArn
The Amazon Resource Name (ARN) of the network insights analysis. -
getAttrNetworkInsightsAnalysisId
The ID of the network insights analysis. -
getAttrNetworkPathFound
Indicates whether the destination is reachable from the source. -
getAttrReturnPathComponents
The components in the path from destination to source. -
getAttrStartDate
The time the analysis started. -
getAttrStatus
The status of the network insights analysis. -
getAttrStatusMessage
The status message, if the status isfailed. -
getAttrSuggestedAccounts
The IDs of potential intermediate accounts. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getNetworkInsightsAnalysisRef
A reference to a NetworkInsightsAnalysis resource.- Specified by:
getNetworkInsightsAnalysisRefin interfaceINetworkInsightsAnalysisRef
-
getTags
Tag Manager which manages the tags for this resource. -
getNetworkInsightsPathId
The ID of the path. -
setNetworkInsightsPathId
The ID of the path. -
getAdditionalAccounts
The member accounts that contain resources that the path can traverse. -
setAdditionalAccounts
The member accounts that contain resources that the path can traverse. -
getFilterInArns
The Amazon Resource Names (ARN) of the resources that the path must traverse. -
setFilterInArns
The Amazon Resource Names (ARN) of the resources that the path must traverse. -
getFilterOutArns
The Amazon Resource Names (ARN) of the resources that the path must ignore. -
setFilterOutArns
The Amazon Resource Names (ARN) of the resources that the path must ignore. -
getTagsRaw
The tags to apply. -
setTagsRaw
The tags to apply.
-