Skip to content
v2.278.0

PartnerAccountReference Struct ​

A reference to a PartnerAccount resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotwireless as interfaces_iotwireless } from 'aws-cdk-lib/interfaces';
const partnerAccountReference: interfaces_iotwireless.PartnerAccountReference = {
  partnerAccountArn: 'partnerAccountArn',
  partnerAccountId: 'partnerAccountId',
};
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_iotwireless as interfaces_iotwireless

partner_account_reference = interfaces_iotwireless.PartnerAccountReference(
    partner_account_arn="partnerAccountArn",
    partner_account_id="partnerAccountId"
)
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.iotwireless.*;

PartnerAccountReference partnerAccountReference = PartnerAccountReference.builder()
        .partnerAccountArn("partnerAccountArn")
        .partnerAccountId("partnerAccountId")
        .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.IoTWireless;

var partnerAccountReference = new PartnerAccountReference {
    PartnerAccountArn = "partnerAccountArn",
    PartnerAccountId = "partnerAccountId"
};
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"

partnerAccountReference := &PartnerAccountReference{
	PartnerAccountArn: jsii.String("partnerAccountArn"),
	PartnerAccountId: jsii.String("partnerAccountId"),
}

Properties ​

partnerAccountArnstringpartner_account_arnstrpartnerAccountArnStringPartnerAccountArnstringPartnerAccountArn*string required #
The ARN of the PartnerAccount resource.
partnerAccountIdstringpartner_account_idstrpartnerAccountIdStringPartnerAccountIdstringPartnerAccountId*string required #
The PartnerAccountId of the PartnerAccount resource.