@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.268Z") @Stability(value=Stable) public class CfnNetworkInsightsPath extends CfnResource implements IInspectable
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")
.destination("destination")
.protocol("protocol")
.source("source")
// the properties below are optional
.destinationIp("destinationIp")
.destinationPort(123)
.sourceIp("sourceIp")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnNetworkInsightsPath.Builder
A fluent builder for
CfnNetworkInsightsPath. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnNetworkInsightsPath(software.constructs.Construct scope,
String id,
CfnNetworkInsightsPathProps props)
Create a new `AWS::EC2::NetworkInsightsPath`.
|
protected |
CfnNetworkInsightsPath(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnNetworkInsightsPath(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrCreatedDate()
The time stamp when the path was created.
|
String |
getAttrNetworkInsightsPathArn()
The Amazon Resource Name (ARN) of the path.
|
String |
getAttrNetworkInsightsPathId()
The ID of the path.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDestination()
The AWS resource that is the destination of the path.
|
String |
getDestinationIp()
The IP address of the AWS resource that is the destination of the path.
|
Number |
getDestinationPort()
The destination port.
|
String |
getProtocol()
The protocol.
|
String |
getSource()
The AWS resource that is the source of the path.
|
String |
getSourceIp()
The IP address of the AWS resource that is the source of the path.
|
TagManager |
getTags()
The tags to add to the path.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDestination(String value)
The AWS resource that is the destination of the path.
|
void |
setDestinationIp(String value)
The IP address of the AWS resource that is the destination of the path.
|
void |
setDestinationPort(Number value)
The destination port.
|
void |
setProtocol(String value)
The protocol.
|
void |
setSource(String value)
The AWS resource that is the source of the path.
|
void |
setSourceIp(String value)
The IP address of the AWS resource that is the source of the path.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnNetworkInsightsPath(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnNetworkInsightsPath(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnNetworkInsightsPath(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnNetworkInsightsPathProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrCreatedDate()
@Stability(value=Stable) @NotNull public String getAttrNetworkInsightsPathArn()
@Stability(value=Stable) @NotNull public String getAttrNetworkInsightsPathId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getDestination()
@Stability(value=Stable)
public void setDestination(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getProtocol()
@Stability(value=Stable)
public void setProtocol(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getSource()
@Stability(value=Stable)
public void setSource(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDestinationIp()
@Stability(value=Stable)
public void setDestinationIp(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getDestinationPort()
@Stability(value=Stable)
public void setDestinationPort(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getSourceIp()
@Stability(value=Stable)
public void setSourceIp(@Nullable
String value)
Copyright © 2022. All rights reserved.