interface CfnPolicyPrincipalAttachmentProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.IoT.CfnPolicyPrincipalAttachmentProps | 
|  Java | software.amazon.awscdk.services.iot.CfnPolicyPrincipalAttachmentProps | 
|  Python | aws_cdk.aws_iot.CfnPolicyPrincipalAttachmentProps | 
|  TypeScript | @aws-cdk/aws-iot»CfnPolicyPrincipalAttachmentProps | 
Properties for defining a CfnPolicyPrincipalAttachment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const cfnPolicyPrincipalAttachmentProps: iot.CfnPolicyPrincipalAttachmentProps = {
  policyName: 'policyName',
  principal: 'principal',
};
Properties
| Name | Type | Description | 
|---|---|---|
| policy | string | The name of the AWS IoT policy. | 
| principal | string | The principal, which can be a certificate ARN (as returned from the CreateCertificateoperation) or an Amazon Cognito ID. | 
policyName
Type:
string
The name of the AWS IoT policy.
principal
Type:
string
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
