# AdditionalDetailProperty

Describes an additional detail for a path analysis.

For more information, see [Reachability Analyzer additional detail codes](https://docs.aws.amazon.com/vpc/latest/reachability/additional-detail-codes.html) .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 additionalDetailProperty: ec2.CfnNetworkInsightsAnalysis.AdditionalDetailProperty = {
  additionalDetailType: 'additionalDetailType',
  component: {
    arn: 'arn',
    id: 'id',
  },
  loadBalancers: [{
    arn: 'arn',
    id: 'id',
  }],
  serviceName: 'serviceName',
};
```

Python:

```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

additional_detail_property = ec2.CfnNetworkInsightsAnalysis.AdditionalDetailProperty(
    additional_detail_type="additionalDetailType",
    component=ec2.CfnNetworkInsightsAnalysis.AnalysisComponentProperty(
        arn="arn",
        id="id"
    ),
    load_balancers=[ec2.CfnNetworkInsightsAnalysis.AnalysisComponentProperty(
        arn="arn",
        id="id"
    )],
    service_name="serviceName"
)
```

Java:

```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.*;

AdditionalDetailProperty additionalDetailProperty = AdditionalDetailProperty.builder()
        .additionalDetailType("additionalDetailType")
        .component(AnalysisComponentProperty.builder()
                .arn("arn")
                .id("id")
                .build())
        .loadBalancers(List.of(AnalysisComponentProperty.builder()
                .arn("arn")
                .id("id")
                .build()))
        .serviceName("serviceName")
        .build();
```

C# / .NET:

```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 additionalDetailProperty = new AdditionalDetailProperty {
    AdditionalDetailType = "additionalDetailType",
    Component = new AnalysisComponentProperty {
        Arn = "arn",
        Id = "id"
    },
    LoadBalancers = new [] { new AnalysisComponentProperty {
        Arn = "arn",
        Id = "id"
    } },
    ServiceName = "serviceName"
};
```

Golang:

```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"

additionalDetailProperty := &AdditionalDetailProperty{
	AdditionalDetailType: jsii.String("additionalDetailType"),
	Component: &AnalysisComponentProperty{
		Arn: jsii.String("arn"),
		Id: jsii.String("id"),
	},
	LoadBalancers: []interface{}{
		&AnalysisComponentProperty{
			Arn: jsii.String("arn"),
			Id: jsii.String("id"),
		},
	},
	ServiceName: jsii.String("serviceName"),
}
```

## Properties

- `additionalDetailType`: string — The additional detail code.

- `component`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnNetworkInsightsAnalysis.AnalysisComponentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnNetworkInsightsAnalysis.AnalysisComponentProperty.html) — The path component.

- `loadBalancers`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnNetworkInsightsAnalysis.AnalysisComponentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnNetworkInsightsAnalysis.AnalysisComponentProperty.html)[] — The load balancers.

- `serviceName`: string — The name of the VPC endpoint service.
