Skip to content
v2.278.0

AccessorReference Struct ​

A reference to a Accessor resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

accessorArnstringaccessor_arnstraccessorArnStringAccessorArnstringAccessorArn*string required #
The ARN of the Accessor resource.
accessorIdstringaccessor_idstraccessorIdStringAccessorIdstringAccessorId*string required #
The Id of the Accessor resource.