# EndpointReference

A reference to a Endpoint resource.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 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_dms as interfaces_dms } from 'aws-cdk-lib/interfaces';
const endpointReference: interfaces_dms.EndpointReference = {
  endpointArn: 'endpointArn',
};
```

Python:

```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_dms as interfaces_dms

endpoint_reference = interfaces_dms.EndpointReference(
    endpoint_arn="endpointArn"
)
```

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.interfaces.dms.*;

EndpointReference endpointReference = EndpointReference.builder()
        .endpointArn("endpointArn")
        .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.Interfaces.DMS;

var endpointReference = new EndpointReference {
    EndpointArn = "endpointArn"
};
```

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"

endpointReference := &EndpointReference{
	EndpointArn: jsii.String("endpointArn"),
}
```

## Properties

- `endpointArn`: string (required) — The EndpointArn of the Endpoint resource.
