Skip to content
v2.278.0

AnalysisComponentProperty Struct ​

Describes a path component.

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 ec2 } from 'aws-cdk-lib';
const analysisComponentProperty: ec2.CfnNetworkInsightsAnalysis.AnalysisComponentProperty = {
  arn: 'arn',
  id: 'id',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

analysis_component_property = ec2.CfnNetworkInsightsAnalysis.AnalysisComponentProperty(
    arn="arn",
    id="id"
)
java
// 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.*;

AnalysisComponentProperty analysisComponentProperty = AnalysisComponentProperty.builder()
        .arn("arn")
        .id("id")
        .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.AWS.EC2;

var analysisComponentProperty = new AnalysisComponentProperty {
    Arn = "arn",
    Id = "id"
};
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"

analysisComponentProperty := &AnalysisComponentProperty{
	Arn: jsii.String("arn"),
	Id: jsii.String("id"),
}

Properties ​

arnoptionalstringarnoptionalstrarnoptionalStringArnoptionalstringArnoptional*string #
The Amazon Resource Name (ARN) of the component.
idoptionalstringidoptionalstridoptionalStringIdoptionalstringIdoptional*string #
The ID of the component.