managed_policies_list_only
Lists managed_policies
in a region or regions, for all properties use managed_policies
Overview
Name | managed_policies_list_only |
Type | Resource |
Description | Creates 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*. |
Id | aws.iam.managed_policies_list_only |
Fields
Name | Datatype | Description |
---|---|---|
policy_arn | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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