Skip to content
v2.277.0

AccountReference Struct ​

A reference to a Account resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_certificatemanager as interfaces_certificatemanager } from 'aws-cdk-lib/interfaces';
const accountReference: interfaces_certificatemanager.AccountReference = {
  accountId: 'accountId',
};
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_certificatemanager as interfaces_certificatemanager

account_reference = interfaces_certificatemanager.AccountReference(
    account_id="accountId"
)
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.certificatemanager.*;

AccountReference accountReference = AccountReference.builder()
        .accountId("accountId")
        .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.CertificateManager;

var accountReference = new AccountReference {
    AccountId = "accountId"
};
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"

accountReference := &AccountReference{
	AccountId: jsii.String("accountId"),
}

Properties ​

accountIdstringaccount_idstraccountIdStringAccountIdstringAccountId*stringrequired#
The AccountId of the Account resource.