interface CfnPolicyPrincipalAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnPolicyPrincipalAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnPolicyPrincipalAttachmentMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnPolicyPrincipalAttachmentMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnPolicyPrincipalAttachmentMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » CfnPolicyPrincipalAttachmentMixinProps |
Properties for CfnPolicyPrincipalAttachmentPropsMixin.
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/cfn-property-mixins';
const cfnPolicyPrincipalAttachmentMixinProps: iot.CfnPolicyPrincipalAttachmentMixinProps = {
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 CreateCertificate operation) or an Amazon Cognito ID. |
policyName?
Type:
string
(optional)
The name of the AWS IoT policy.
principal?
Type:
string
(optional)
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

.NET
Go
Java
Python
TypeScript