aws-cdk-lib.aws_iot.CfnPolicyPrincipalAttachmentProps

interface CfnPolicyPrincipalAttachmentProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnPolicyPrincipalAttachmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnPolicyPrincipalAttachmentProps
Javasoftware.amazon.awscdk.services.iot.CfnPolicyPrincipalAttachmentProps
Pythonaws_cdk.aws_iot.CfnPolicyPrincipalAttachmentProps
TypeScript 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

NameTypeDescription
policyNamestringThe name of the AWS IoT policy.
principalstringThe 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.