CfnPolicyPrincipalAttachmentMixinProps
- class aws_cdk.mixins_preview.aws_iot.mixins.CfnPolicyPrincipalAttachmentMixinProps(*, policy_name=None, principal=None)
Bases:
objectProperties 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 theCreateCertificateoperation) or an Amazon Cognito ID.
- See:
- 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.
- principal
The principal, which can be a certificate ARN (as returned from the
CreateCertificateoperation) or an Amazon Cognito ID.