interface CfnPolicyPrincipalAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnPolicyPrincipalAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnPolicyPrincipalAttachmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnPolicyPrincipalAttachmentMixinProps |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnPolicyPrincipalAttachmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const cfnPolicyPrincipalAttachmentMixinProps: iot_mixins.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