interface CfnPolicyPrincipalAttachmentProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnPolicyPrincipalAttachmentProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnPolicyPrincipalAttachmentProps |
![]() | software.amazon.awscdk.services.iot.CfnPolicyPrincipalAttachmentProps |
![]() | aws_cdk.aws_iot.CfnPolicyPrincipalAttachmentProps |
![]() | aws-cdk-lib » 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 { aws_iot as iot } from 'aws-cdk-lib';
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 CreateCertificate operation) 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.