ServiceResource / Sub-Resource / Policy

Policy#

IAM.ServiceResource.Policy(policy_arn)#

Creates a Policy resource.:

policy = iam.Policy('policy_arn')
Parameters:

policy_arn (string) – The Policy’s policy_arn identifier. This must be set.

Return type:

IAM.Policy

Returns:

A Policy resource