# AccessEntryAttributes

Represents the attributes of an access entry.

Used as argument in: [AccessEntry.fromAccessEntryAttributes](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_eks_v2.AccessEntry.html#fromaccessentryattributes)

- Source: [`aws-eks-v2/lib/access-entry.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-eks-v2/lib/access-entry.ts#L40)
- Type last changed: v2.240.0 · 23 Feb 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_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const accessEntryAttributes: eks_v2.AccessEntryAttributes = {
  accessEntryArn: 'accessEntryArn',
  accessEntryName: 'accessEntryName',
};
```

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_eks_v2 as eks_v2

access_entry_attributes = eks_v2.AccessEntryAttributes(
    access_entry_arn="accessEntryArn",
    access_entry_name="accessEntryName"
)
```

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

AccessEntryAttributes accessEntryAttributes = AccessEntryAttributes.builder()
        .accessEntryArn("accessEntryArn")
        .accessEntryName("accessEntryName")
        .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.EKSv2;

var accessEntryAttributes = new AccessEntryAttributes {
    AccessEntryArn = "accessEntryArn",
    AccessEntryName = "accessEntryName"
};
```

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"

accessEntryAttributes := &AccessEntryAttributes{
	AccessEntryArn: jsii.String("accessEntryArn"),
	AccessEntryName: jsii.String("accessEntryName"),
}
```

## Properties

- `accessEntryArn`: string (required) — The Amazon Resource Name (ARN) of the access entry.

- `accessEntryName`: string (required) — The name of the access entry.
