PolicyReference
- class aws_cdk.interfaces.aws_iot.PolicyReference(*, policy_arn, policy_name)
Bases:
objectA reference to a Policy resource.
- Parameters:
policy_arn (
str) – The ARN of the Policy resource.policy_name (
str) – The PolicyName of the Policy resource.
- 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.interfaces import aws_iot as interfaces_iot policy_reference = interfaces_iot.PolicyReference( policy_arn="policyArn", policy_name="policyName" )
Attributes
- policy_arn
The ARN of the Policy resource.
- policy_name
The PolicyName of the Policy resource.