Skip to main content

managed_policies_list_only

Lists managed_policies in a region or regions, for all properties use managed_policies

Overview

Namemanaged_policies_list_only
TypeResource
DescriptionCreates a new managed policy for your AWS-account.
This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy versions, see [Versioning for managed policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) in the *IAM User Guide*.
As a best practice, you can validate your IAM policies. To learn more, see [Validating IAM policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html) in the *IAM User Guide*.
For more information about managed policies in general, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
Idaws.iam.managed_policies_list_only

Fields

NameDatatypeDescription
policy_arnstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all managed_policies in a region.

SELECT
region,
policy_arn
FROM aws.iam.managed_policies_list_only
;

Permissions

For permissions required to operate on the managed_policies_list_only resource, see managed_policies