

# Amazon managed policies for License Manager
<a name="security-iam-awsmanpol"></a>

To add permissions to users, groups, and roles, it is easier to use Amazon managed policies than to write policies yourself. It takes time and expertise to [create IAM customer managed policies](https://docs.amazonaws.cn/IAM/latest/UserGuide/access_policies_create-console.html) that provide your team with only the permissions they need. To get started quickly, you can use our Amazon managed policies. These policies cover common use cases and are available in your Amazon Web Services account. For more information about Amazon managed policies, see [Amazon managed policies](https://docs.amazonaws.cn/IAM/latest/UserGuide/access_policies_managed-vs-inline.html#aws-managed-policies) in the *IAM User Guide*.

Amazon services maintain and update Amazon managed policies. You can't change the permissions in Amazon managed policies. Services occasionally add additional permissions to an Amazon managed policy to support new features. This type of update affects all identities (users, groups, and roles) where the policy is attached. Services are most likely to update an Amazon managed policy when a new feature is launched or when new operations become available. Services do not remove permissions from an Amazon managed policy, so policy updates won't break your existing permissions.

Additionally, Amazon supports managed policies for job functions that span multiple services. For example, the **ReadOnlyAccess** Amazon managed policy provides read-only access to all Amazon services and resources. When a service launches a new feature, Amazon adds read-only permissions for new operations and resources. For a list and descriptions of job function policies, see [Amazon managed policies for job functions](https://docs.amazonaws.cn/IAM/latest/UserGuide/access_policies_job-functions.html) in the *IAM User Guide*.

## Amazon managed policy: AWSLicenseManagerServiceRolePolicy
<a name="security-iam-AWSLicenseManagerServiceRolePolicy"></a>

This policy is attached to the service-linked role named `AWSServiceRoleForAWSLicenseManagerRole` to allow License Manager to call API actions to manage licenses on your behalf. For more information about the service-linked role, see [Permissions for the core role](license-manager-role-core.md#slr-permissions-core-role).

The role permissions policy allows License Manager to complete the following actions on the specified resources.


| Action | Resource ARN | 
| --- | --- | 
| iam:CreateServiceLinkedRole | arn:aws-cn:iam::\$1:role/aws-service-role/license-management.marketplace.amazonaws.com/AWSServiceRoleForMarketplaceLicenseManagement | 
| iam:CreateServiceLinkedRole | arn:aws-cn:iam::\$1:role/aws-service-role/license-manager.member-account.amazonaws.com/AWSServiceRoleForAWSLicenseManagerMemberAccountRole | 
| s3:GetBucketLocation | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:ListBucket | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:ListAllMyBuckets | \$1 | 
| s3:PutObject | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| sns:Publish | arn:aws-cn::sns:\$1:\$1:aws-license-manager-service-\$1 | 
| sns:ListTopics | \$1 | 
| ec2:DescribeInstances | \$1 | 
| ec2:DescribeImages | \$1 | 
| ec2:DescribeHosts | \$1 | 
| ssm:ListInventoryEntries | \$1 | 
| ssm:GetInventory | \$1 | 
| ssm:CreateAssociation | \$1 | 
| ssm:GetCommandInvocation | \$1 | 
| ssm:SendCommand | arn:aws-cn:ec2:\$1:\$1:instance/\$1 | 
| ssm:SendCommand | arn:aws-cn:ssm:\$1:\$1:managed-instance/\$1 | 
| ssm:SendCommand | arn:aws-cn:ssm:\$1::document/AWSLicenseManager-\$1 | 
| organizations:ListAWSServiceAccessForOrganization | \$1 | 
| organizations:DescribeOrganization | \$1 | 
| organizations:ListDelegatedAdministrators | \$1 | 
| license-manager:GetServiceSettings | \$1 | 
| license-manager:GetLicense\$1 | \$1 | 
| license-manager:UpdateLicenseSpecificationsForResource | \$1 | 
| license-manager:List\$1 | \$1 | 

To view the permissions for this policy in the Amazon Web Services Management Console, see [https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/aws-service-role/AWSLicenseManagerServiceRolePolicy](https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/aws-service-role/AWSLicenseManagerServiceRolePolicy).

## Amazon managed policy: AWSLicenseManagerMasterAccountRolePolicy
<a name="security-iam-AWSLicenseManagerMasterAccountRolePolicy"></a>

This policy is attached to the service-linked role named `AWSServiceRoleForAWSLicenseManagerMasterAccountRole` to allow License Manager to call API actions that perform license management for a central management account on your behalf. For more information about the service-linked role, see [License Manager – Management account role](management-role.md).

The role permissions policy allows License Manager to complete the following actions on the specified resources.


| Action | Resource ARN | 
| --- | --- | 
| s3:GetBucketLocation | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:ListBucket | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:GetLifecycleConfiguration | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:PutLifecycleConfiguration | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:GetBucketPolicy | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:PutBucketPolicy | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:AbortMultipartUpload | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:PutObject | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:GetObject | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:ListBucketMultipartUploads | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:ListMultipartUploadParts | arn:aws-cn:s3:::aws-license-manager-service-\$1 | 
| s3:DeleteObject | arn:aws-cn:s3:::aws-license-manager-service-\$1/resource-sync/\$1 | 
| athena:GetQueryExecution | \$1 | 
| athena:GetQueryResults | \$1 | 
| athena:StartQueryExecution | \$1 | 
| glue:GetTable | \$1 | 
| glue:GetPartition | \$1 | 
| glue:GetPartitions | \$1 | 
| glue:CreateTable | See footnote ¹ | 
| glue:UpdateTable | See footnote ¹ | 
| glue:DeleteTable | See footnote ¹ | 
| glue:UpdateJob | See footnote ¹ | 
| glue:UpdateCrawler | See footnote ¹ | 
| organizations:DescribeOrganization | \$1 | 
| organizations:ListAccounts | \$1 | 
| organizations:DescribeAccount | \$1 | 
| organizations:ListChildren | \$1 | 
| organizations:ListParents | \$1 | 
| organizations:ListAccountsForParent | \$1 | 
| organizations:ListRoots | \$1 | 
| organizations:ListAWSServiceAccessForOrganization | \$1 | 
| ram:GetResourceShares | \$1 | 
| ram:GetResourceShareAssociations | \$1 | 
| ram:TagResource | \$1 | 
| ram:CreateResourceShare | \$1 | 
| ram:AssociateResourceShare | \$1 | 
| ram:DisassociateResourceShare | \$1 | 
| ram:UpdateResourceShare | \$1 | 
| ram:DeleteResourceShare | \$1 | 
| resource-groups:PutGroupPolicy | \$1 | 
| iam:GetRole | \$1 | 
| iam:PassRole | arn:aws-cn:iam::\$1:role/LicenseManagerServiceResourceDataSyncRole\$1 | 
| cloudformation:UpdateStack | arn:aws-cn:cloudformation:\$1:\$1:stack/LicenseManagerCrossAccountCloudDiscoveryStack/\$1 | 
| cloudformation:CreateStack | arn:aws-cn:cloudformation:\$1:\$1:stack/LicenseManagerCrossAccountCloudDiscoveryStack/\$1 | 
| cloudformation:DeleteStack | arn:aws-cn:cloudformation:\$1:\$1:stack/LicenseManagerCrossAccountCloudDiscoveryStack/\$1 | 
| cloudformation:DescribeStacks | arn:aws-cn:cloudformation:\$1:\$1:stack/LicenseManagerCrossAccountCloudDiscoveryStack/\$1 | 

¹ The following are the resources defined for the Amazon Glue actions:
+ `arn:aws:glue:*:*:catalog`
+ `arn:aws:glue:*:*:crawler/LicenseManagerResourceSynDataCrawler`
+ `arn:aws:glue:*:*:job/LicenseManagerResourceSynDataProcessJob`
+ `arn:aws:glue:*:*:table/license_manager_resource_inventory_db/*`
+ `arn:aws:glue:*:*:table/license_manager_resource_sync/*`
+ `arn:aws:glue:*:*:database/license_manager_resource_inventory_db`
+ `arn:aws:glue:*:*:database/license_manager_resource_sync`

To view the permissions for this policy in the Amazon Web Services Management Console, see [https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/aws-service-role/AWSLicenseManagerMasterAccountRolePolicy](https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/aws-service-role/AWSLicenseManagerMasterAccountRolePolicy).

## Amazon managed policy: AWSLicenseManagerMemberAccountRolePolicy
<a name="security-iam-AWSLicenseManagerMemberAccountRolePolicy"></a>

This policy is attached to the service-linked role named `AWSServiceRoleForAWSLicenseManagerMemberAccountRole` to allow License Manager to call API actions for license management from a configured management account on your behalf. For more information, see [License Manager – Member account role](member-role.md).

The role permissions policy allows License Manager to complete the following actions on the specified resources.


| Action | Resource ARN | 
| --- | --- | 
| license-manager:UpdateLicenseSpecificationsForResource | \$1 | 
| license-manager:GetLicenseConfiguration | \$1 | 
| ssm:ListInventoryEntries | \$1 | 
| ssm:GetInventory | \$1 | 
| ssm:CreateAssociation | \$1 | 
| ssm:CreateResourceDataSync | \$1 | 
| ssm:DeleteResourceDataSync | \$1 | 
| ssm:ListResourceDataSync | \$1 | 
| ssm:ListAssociations | \$1 | 
| ram:AcceptResourceShareInvitation | \$1 | 
| ram:GetResourceShareInvitations | \$1 | 

To view the permissions for this policy in the Amazon Web Services Management Console, see [https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/aws-service-role/AWSLicenseManagerMemberAccountRolePolicy](https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/aws-service-role/AWSLicenseManagerMemberAccountRolePolicy).

## Amazon managed policy: AWSLicenseManagerConsumptionPolicy
<a name="security-iam-AWSLicenseManagerConsumptionPolicy"></a>

You can attach the `AWSLicenseManagerConsumptionPolicy` policy to your IAM identities. This policy grants permissions that allow access to the License Manager API actions required to consume licenses. For more information, see [Seller issued license usage in License Manager](license-usage.md).

To view the permissions for this policy, see [https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/AWSLicenseManagerConsumptionPolicy](https://console.amazonaws.cn/iam/home#/policies/arn:aws:iam::aws:policy/AWSLicenseManagerConsumptionPolicy) in the Amazon Web Services Management Console.

## License Manager updates to Amazon managed policies
<a name="security-iam-awsmanpol-updates"></a>

View details about updates to Amazon managed policies for License Manager since this service began tracking these changes.


| Change | Description | Date | 
| --- | --- | --- | 
| [AWSLicenseManagerMasterAccountRolePolicy](#security-iam-AWSLicenseManagerMasterAccountRolePolicy) – Update to an existing policy | License Manager added the resource-groups:PutGroupPolicy permission for resource groups managed by Amazon Resource Access Manager. | June 27, 2022 | 
| [AWSLicenseManagerMasterAccountRolePolicy](#security-iam-AWSLicenseManagerMasterAccountRolePolicy) – Update to an existing policy | License Manager changed the Amazon managed policy AWSLicenseManagerMasterAccountRolePolicy [condition key for Amazon Resource Access Manager](https://docs.amazonaws.cn/service-authorization/latest/reference/list_awsresourceaccessmanager.html) from using ram:ResourceTag to aws:ResourceTag. | November 16, 2021 | 
| [AWSLicenseManagerConsumptionPolicy](#security-iam-AWSLicenseManagerConsumptionPolicy) – New policy | License Manager added a new policy that grants permissions to consume licenses. | August 11, 2021 | 
| [AWSLicenseManagerServiceRolePolicy](#security-iam-AWSLicenseManagerServiceRolePolicy) – Update to an existing policy | License Manager added a permission to list delegated administrators and a permission to create the service-linked role named AWSServiceRoleForAWSLicenseManagerMemberAccountRole. | June 16, 2021 | 
| [AWSLicenseManagerServiceRolePolicy](#security-iam-AWSLicenseManagerServiceRolePolicy) – Update to an existing policy | License Manager added a permission to list all License Manager resources, such as license configurations, licenses, and grants. | June 15, 2021 | 
| [AWSLicenseManagerServiceRolePolicy](#security-iam-AWSLicenseManagerServiceRolePolicy) – Update to an existing policy | License Manager added a permission to create the service-linked role named AWSServiceRoleForMarketplaceLicenseManagement. This role provides Amazon Web Services Marketplace with permissions to create and manage licenses in License Manager. For more information, see [Service-linked roles for Amazon Web Services Marketplace](https://docs.amazonaws.cn/marketplace/latest/buyerguide/buyer-using-service-linked-roles.html) in the Amazon Web Services Marketplace Buyer Guide. | March 9, 2021 | 
| License Manager started tracking changes | License Manager started tracking changes to its Amazon managed policies. | March 9, 2021 | 