CfnPolicyMixinProps

class aws_cdk.mixins_preview.aws_iot.mixins.CfnPolicyMixinProps(*, policy_document=None, policy_name=None, tags=None)

Bases: object

Properties for CfnPolicyPropsMixin.

Parameters:
  • policy_document (Any) – The JSON document that describes the policy.

  • policy_name (Optional[str]) – The policy name.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.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

# policy_document: Any

cfn_policy_mixin_props = iot_mixins.CfnPolicyMixinProps(
    policy_document=policy_document,
    policy_name="policyName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

policy_document

The JSON document that describes the policy.

See:

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

policy_name

The policy name.

See:

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

tags

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

Type:

see