Skip to content
v2.278.0

CfnPartnerAccountProps Struct ​

Properties for defining a CfnPartnerAccount.

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 iotwireless } from 'aws-cdk-lib';
const cfnPartnerAccountProps: iotwireless.CfnPartnerAccountProps = {
  accountLinked: false,
  partnerAccountId: 'partnerAccountId',
  partnerType: 'partnerType',
  sidewalk: {
    appServerPrivateKey: 'appServerPrivateKey',
  },
  sidewalkResponse: {
    amazonId: 'amazonId',
    arn: 'arn',
    fingerprint: 'fingerprint',
  },
  sidewalkUpdate: {
    appServerPrivateKey: 'appServerPrivateKey',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotwireless as iotwireless

cfn_partner_account_props = iotwireless.CfnPartnerAccountProps(
    account_linked=False,
    partner_account_id="partnerAccountId",
    partner_type="partnerType",
    sidewalk=iotwireless.CfnPartnerAccount.SidewalkAccountInfoProperty(
        app_server_private_key="appServerPrivateKey"
    ),
    sidewalk_response=iotwireless.CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty(
        amazon_id="amazonId",
        arn="arn",
        fingerprint="fingerprint"
    ),
    sidewalk_update=iotwireless.CfnPartnerAccount.SidewalkUpdateAccountProperty(
        app_server_private_key="appServerPrivateKey"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.iotwireless.*;

CfnPartnerAccountProps cfnPartnerAccountProps = CfnPartnerAccountProps.builder()
        .accountLinked(false)
        .partnerAccountId("partnerAccountId")
        .partnerType("partnerType")
        .sidewalk(SidewalkAccountInfoProperty.builder()
                .appServerPrivateKey("appServerPrivateKey")
                .build())
        .sidewalkResponse(SidewalkAccountInfoWithFingerprintProperty.builder()
                .amazonId("amazonId")
                .arn("arn")
                .fingerprint("fingerprint")
                .build())
        .sidewalkUpdate(SidewalkUpdateAccountProperty.builder()
                .appServerPrivateKey("appServerPrivateKey")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.AWS.IoTWireless;

var cfnPartnerAccountProps = new CfnPartnerAccountProps {
    AccountLinked = false,
    PartnerAccountId = "partnerAccountId",
    PartnerType = "partnerType",
    Sidewalk = new SidewalkAccountInfoProperty {
        AppServerPrivateKey = "appServerPrivateKey"
    },
    SidewalkResponse = new SidewalkAccountInfoWithFingerprintProperty {
        AmazonId = "amazonId",
        Arn = "arn",
        Fingerprint = "fingerprint"
    },
    SidewalkUpdate = new SidewalkUpdateAccountProperty {
        AppServerPrivateKey = "appServerPrivateKey"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnPartnerAccountProps := &CfnPartnerAccountProps{
	AccountLinked: jsii.Boolean(false),
	PartnerAccountId: jsii.String("partnerAccountId"),
	PartnerType: jsii.String("partnerType"),
	Sidewalk: &SidewalkAccountInfoProperty{
		AppServerPrivateKey: jsii.String("appServerPrivateKey"),
	},
	SidewalkResponse: &SidewalkAccountInfoWithFingerprintProperty{
		AmazonId: jsii.String("amazonId"),
		Arn: jsii.String("arn"),
		Fingerprint: jsii.String("fingerprint"),
	},
	SidewalkUpdate: &SidewalkUpdateAccountProperty{
		AppServerPrivateKey: jsii.String("appServerPrivateKey"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

accountLinkedoptionalboolean | IResolvableaccount_linkedoptionaltyping.Union[bool, IResolvable]accountLinkedoptionalBooleanAccountLinkedoptionalboolAccountLinkedoptionalinterface{} #
Whether the partner account is linked to the AWS account.
partnerAccountIdoptionalstringpartner_account_idoptionalstrpartnerAccountIdoptionalStringPartnerAccountIdoptionalstringPartnerAccountIdoptional*string #
The ID of the partner account to update.
partnerTypeoptionalstringpartner_typeoptionalstrpartnerTypeoptionalStringPartnerTypeoptionalstringPartnerTypeoptional*string #
The partner type.
sidewalkoptionalIResolvable | CfnPartnerAccount.SidewalkAccountInfoPropertysidewalkoptionaltyping.Union[IResolvable, SidewalkAccountInfoProperty]sidewalkoptionalIResolvableSidewalkoptionalIResolvableSidewalkoptionalinterface{} #
The Sidewalk account credentials.
sidewalkResponseoptionalIResolvable | CfnPartnerAccount.SidewalkAccountInfoWithFingerprintPropertysidewalk_responseoptionaltyping.Union[IResolvable, SidewalkAccountInfoWithFingerprintProperty]sidewalkResponseoptionalIResolvableSidewalkResponseoptionalIResolvableSidewalkResponseoptionalinterface{} #
Information about a Sidewalk account.
sidewalkUpdateoptionalIResolvable | CfnPartnerAccount.SidewalkUpdateAccountPropertysidewalk_updateoptionaltyping.Union[IResolvable, SidewalkUpdateAccountProperty]sidewalkUpdateoptionalIResolvableSidewalkUpdateoptionalIResolvableSidewalkUpdateoptionalinterface{} #
Sidewalk update.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags are an array of key-value pairs to attach to the specified resource.

Tags can have a minimum of 0 and a maximum of 50 items.