# AttachPointProperty

The logical attachment point in your AWS network where the managed connection will be connected.

- Source: Generated at build time
- Type last changed: v2.247.0 · 2 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_interconnect as interconnect } from 'aws-cdk-lib';
const attachPointProperty: interconnect.CfnConnection.AttachPointProperty = {
  arn: 'arn',
  directConnectGateway: 'directConnectGateway',
};
```

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_interconnect as interconnect

attach_point_property = interconnect.CfnConnection.AttachPointProperty(
    arn="arn",
    direct_connect_gateway="directConnectGateway"
)
```

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

AttachPointProperty attachPointProperty = AttachPointProperty.builder()
        .arn("arn")
        .directConnectGateway("directConnectGateway")
        .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.Interconnect;

var attachPointProperty = new AttachPointProperty {
    Arn = "arn",
    DirectConnectGateway = "directConnectGateway"
};
```

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"

attachPointProperty := &AttachPointProperty{
	Arn: jsii.String("arn"),
	DirectConnectGateway: jsii.String("directConnectGateway"),
}
```

## Properties

- `arn`: string — The ARN of the resource to attach to.

- `directConnectGateway`: string — The ID of the Direct Connect Gateway to attach to.
