UserPolicyReference
- class aws_cdk.aws_iam.UserPolicyReference(*, policy_name, user_name)
Bases:
object
A reference to a UserPolicy resource.
- Parameters:
policy_name (
str
) – The PolicyName of the UserPolicy resource.user_name (
str
) – The UserName of the UserPolicy 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 import aws_iam as iam user_policy_reference = iam.UserPolicyReference( policy_name="policyName", user_name="userName" )
Attributes
- policy_name
The PolicyName of the UserPolicy resource.
- user_name
The UserName of the UserPolicy resource.