# CfnPartnerAccountProps

Properties for defining a `CfnPartnerAccount`.

Used as props by: [CfnPartnerAccount](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnPartnerAccount.html)

- Source: Generated at build time
- Type last changed: v2.60.0 · 12 Jan 2023

## Example

TypeScript:

```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:

```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:

```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();
```

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.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"
    } }
};
```

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"

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

- `accountLinked`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether the partner account is linked to the AWS account.

- `partnerAccountId`: string — The ID of the partner account to update.

- `partnerType`: string — The partner type.

- `sidewalk`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPartnerAccount.SidewalkAccountInfoProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnPartnerAccount.SidewalkAccountInfoProperty.html) — The Sidewalk account credentials.

- `sidewalkResponse`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty.html) — Information about a Sidewalk account.

- `sidewalkUpdate`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPartnerAccount.SidewalkUpdateAccountProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnPartnerAccount.SidewalkUpdateAccountProperty.html) — Sidewalk update.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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.
