Skip to content
v2.277.0

NetworkInsightsAnalysisReference Struct ​

A reference to a NetworkInsightsAnalysis resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const networkInsightsAnalysisReference: interfaces_ec2.NetworkInsightsAnalysisReference = {
  networkInsightsAnalysisArn: 'networkInsightsAnalysisArn',
  networkInsightsAnalysisId: 'networkInsightsAnalysisId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ec2 as interfaces_ec2

network_insights_analysis_reference = interfaces_ec2.NetworkInsightsAnalysisReference(
    network_insights_analysis_arn="networkInsightsAnalysisArn",
    network_insights_analysis_id="networkInsightsAnalysisId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ec2.*;

NetworkInsightsAnalysisReference networkInsightsAnalysisReference = NetworkInsightsAnalysisReference.builder()
        .networkInsightsAnalysisArn("networkInsightsAnalysisArn")
        .networkInsightsAnalysisId("networkInsightsAnalysisId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.EC2;

var networkInsightsAnalysisReference = new NetworkInsightsAnalysisReference {
    NetworkInsightsAnalysisArn = "networkInsightsAnalysisArn",
    NetworkInsightsAnalysisId = "networkInsightsAnalysisId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

networkInsightsAnalysisReference := &NetworkInsightsAnalysisReference{
	NetworkInsightsAnalysisArn: jsii.String("networkInsightsAnalysisArn"),
	NetworkInsightsAnalysisId: jsii.String("networkInsightsAnalysisId"),
}

Properties ​

networkInsightsAnalysisArnstringnetwork_insights_analysis_arnstrnetworkInsightsAnalysisArnStringNetworkInsightsAnalysisArnstringNetworkInsightsAnalysisArn*stringrequired#
The ARN of the NetworkInsightsAnalysis resource.
networkInsightsAnalysisIdstringnetwork_insights_analysis_idstrnetworkInsightsAnalysisIdStringNetworkInsightsAnalysisIdstringNetworkInsightsAnalysisId*stringrequired#
The NetworkInsightsAnalysisId of the NetworkInsightsAnalysis resource.