CfnPolicyPrincipalAttachmentMixinProps

class aws_cdk.mixins_preview.aws_iot.mixins.CfnPolicyPrincipalAttachmentMixinProps(*, policy_name=None, principal=None)

Bases: object

Properties for CfnPolicyPrincipalAttachmentPropsMixin.

Parameters:
  • policy_name (Optional[str]) – The name of the AWS IoT policy.

  • principal (Optional[str]) – The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policyprincipalattachment.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_iot import mixins as iot_mixins

cfn_policy_principal_attachment_mixin_props = iot_mixins.CfnPolicyPrincipalAttachmentMixinProps(
    policy_name="policyName",
    principal="principal"
)

Attributes

policy_name

The name of the AWS IoT policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policyprincipalattachment.html#cfn-iot-policyprincipalattachment-policyname

principal

The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policyprincipalattachment.html#cfn-iot-policyprincipalattachment-principal