# EndpointAccessReference

A reference to a EndpointAccess resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as interfaces_redshift } from 'aws-cdk-lib/interfaces';
const endpointAccessReference: interfaces_redshift.EndpointAccessReference = {
  endpointName: 'endpointName',
};
```

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_redshift as interfaces_redshift

endpoint_access_reference = interfaces_redshift.EndpointAccessReference(
    endpoint_name="endpointName"
)
```

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

EndpointAccessReference endpointAccessReference = EndpointAccessReference.builder()
        .endpointName("endpointName")
        .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.Redshift;

var endpointAccessReference = new EndpointAccessReference {
    EndpointName = "endpointName"
};
```

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"

endpointAccessReference := &EndpointAccessReference{
	EndpointName: jsii.String("endpointName"),
}
```

## Properties

- `endpointName`: string (required) — The EndpointName of the EndpointAccess resource.
