# AccessEntryAttributes

Represents the attributes of an access entry.

- Source: [`aws-eks/lib/access-entry.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-eks/lib/access-entry.ts#L40)
- Type last changed: v2.146.0 · 13 Jun 2024

## 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 as eks } from 'aws-cdk-lib';
const accessEntryAttributes: eks.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 as eks

access_entry_attributes = eks.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.*;

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.EKS;

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.
