# AccessorReference

A reference to a Accessor 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_managedblockchain as interfaces_managedblockchain } from 'aws-cdk-lib/interfaces';
const accessorReference: interfaces_managedblockchain.AccessorReference = {
  accessorArn: 'accessorArn',
  accessorId: 'accessorId',
};
```

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_managedblockchain as interfaces_managedblockchain

accessor_reference = interfaces_managedblockchain.AccessorReference(
    accessor_arn="accessorArn",
    accessor_id="accessorId"
)
```

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

AccessorReference accessorReference = AccessorReference.builder()
        .accessorArn("accessorArn")
        .accessorId("accessorId")
        .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.ManagedBlockchain;

var accessorReference = new AccessorReference {
    AccessorArn = "accessorArn",
    AccessorId = "accessorId"
};
```

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"

accessorReference := &AccessorReference{
	AccessorArn: jsii.String("accessorArn"),
	AccessorId: jsii.String("accessorId"),
}
```

## Properties

- `accessorArn`: string (required) — The ARN of the Accessor resource.

- `accessorId`: string (required) — The Id of the Accessor resource.
