aws-cdk-lib.aws_iot.CfnThingPrincipalAttachmentProps

interface CfnThingPrincipalAttachmentProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnThingPrincipalAttachmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnThingPrincipalAttachmentProps
Javasoftware.amazon.awscdk.services.iot.CfnThingPrincipalAttachmentProps
Pythonaws_cdk.aws_iot.CfnThingPrincipalAttachmentProps
TypeScript aws-cdk-lib » aws_iot » CfnThingPrincipalAttachmentProps

Properties for defining a CfnThingPrincipalAttachment.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnThingPrincipalAttachmentProps: iot.CfnThingPrincipalAttachmentProps = {
  principal: 'principal',
  thingName: 'thingName',
};

Properties

NameTypeDescription
principalstringThe principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
thingNamestringThe name of the AWS IoT thing.

principal

Type: string

The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.


thingName

Type: string

The name of the AWS IoT thing.