

# AWS managed policies for AWS HealthLake
<a name="security-iam-awsmanpol"></a>





An AWS managed policy is a standalone policy that is created and administered by AWS. AWS managed policies are designed to provide permissions for many common use cases so that you can start assigning permissions to users, groups, and roles.

Keep in mind that AWS managed policies might not grant least-privilege permissions for your specific use cases because they're available for all AWS customers to use. We recommend that you reduce permissions further by defining [ customer managed policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html#customer-managed-policies) that are specific to your use cases.

You cannot change the permissions defined in AWS managed policies. If AWS updates the permissions defined in an AWS managed policy, the update affects all principal identities (users, groups, and roles) that the policy is attached to. AWS is most likely to update an AWS managed policy when a new AWS service is launched or new API operations become available for existing services.

For more information, see [AWS managed policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html#aws-managed-policies) in the *IAM User Guide*.













## AWS managed policy: AmazonHealthLakeFullAccess
<a name="security-iam-awsmanpol-AmazonHealthLakeFullAccess"></a>

The `AmazonHealthLakeFullAccess` policy provides full access to HealthLake. With this policy attached to their user or role, users can use HealthLake to access, query, import, and export data in HealthLake. To perform many common actions in HealthLake, you must add additional policies to the user or role. For more information, see [Setting up AWS HealthLake](getting-started-setting-up.md) and [HealthLake operations and permissions](#security-iam-awsmanpol-operations-and-permissions). 



You can attach the `AmazonHealthLakeFullAccess` policy to your IAM identities.

This policy grants administrative and contributor permissions that allow users and roles to query, search, import, and export with HealthLake, and it also makes it possible for HealthLake to perform actions on behalf of the users and roles that have these permissions.

**Permissions details**

This policy includes the following statement.







------
#### [ JSON ]

****  

```
{
	"Version":"2012-10-17",		 	 	 
	"Statement": [
		{
			"Action": [
				"healthlake:*",
				"s3:ListAllMyBuckets",
				"s3:ListBucket",
				"s3:GetBucketLocation",
				"iam:ListRoles"
			],
			"Resource": "*",
			"Effect": "Allow"
		},
		{
			"Effect": "Allow",
			"Action": "iam:PassRole",
			"Resource": "*",
			"Condition": {
				"StringEquals": {
					"iam:PassedToService": "healthlake.amazonaws.com"
				}
			}
		}
	]
}
```

------

## AWS managed policy: AmazonHealthLakeReadOnlyAccess
<a name="security-iam-awsmanpol-AmazonHealthLakeReadOnlyAccess"></a>

`AmazonHealthLakeReadOnlyAccess` policy grants read-only access and permissions to HealthLake and related resources in other AWS services. Apply this policy to users who you want to grant the ability to query and view HealthLake data store, but not the ability to create or make changes to them. 



You can attach the `AmazonHealthLakeReadOnlyAccess` policy to your IAM identities.

This policy grants *read-only* permissions that allow users and roles to query HealthLake.



**Permissions details**

This policy includes the following statement.







------
#### [ JSON ]

****  

```
{
    "Version":"2012-10-17",		 	 	 
    "Statement": [
        {
            "Action": [
                "healthlake:ListFHIRDatastores",
                "healthlake:DescribeFHIRDatastore",
                "healthlake:DescribeFHIRImportJob",
                "healthlake:DescribeFHIRExportJob",
                "healthlake:GetCapabilities",
                "healthlake:ReadResource",
                "healthlake:SearchWithGet",
                "healthlake:SearchWithPost",
                "healthlake:SearchEverything"
            ],
            "Effect": "Allow",
            "Resource": "*"
        }
    ]
}
```

------

## HealthLake operations and permissions
<a name="security-iam-awsmanpol-operations-and-permissions"></a>

The following table lists typical operations in HealthLake and the permissions needed to perform them.


| HealthLake operations | Required permissions | 
| --- | --- | 
|  Create a data store in HealthLake  |  `AmazonHealthLakeFullAccess`,`AmazonLakeFormationDataAdmin`, [inline policy](getting-started-setting-up.md), and AWS Lake Formation Administrator permissions managed by AWS Lake Formation  | 
|  Delete a data store in HealthLake  |  `AmazonHealthLakeFullAccess`, `AmazonLakeFormationDataAdmin`, [inline policy](getting-started-setting-up.md), and AWS Lake Formation Administrator permissions managed by AWS Lake Formation  | 
|  List, search, or query a data store in HealthLake  |  `AmazonHealthLakeReadOnlyAccess`  | 
|  Query a data store using Amazon Athena  |  `AmazonAthenaFullAccess`, `AmazonS3FullAccess`, AWS Lake Formation `Select` and `Describe` permissions on tables managed by AWS Lake Formation  | 
|  Import data from HealthLake  |  See [Setting up permissions for import jobs](getting-started-setting-up.md#setting-up-import-permissions).  | 
|  Export data from HealthLake  |  See [Setting up permissions for export jobs](getting-started-setting-up.md#setting-up-export-permissions).  | 

## HealthLake updates to AWS managed policies
<a name="security-iam-awsmanpol-updates"></a>

View details about updates to AWS managed policies for HealthLake from the time that this service began tracking these changes. For automatic alerts about changes to this page, subscribe to the RSS feed on the HealthLake Document history page.


| Change | Description | Date | 
| --- | --- | --- | 
|  [AmazonHealthLakeFullAccess](#security-iam-awsmanpol-AmazonHealthLakeFullAccess)  |  `AmazonHealthLakeFullAccess` policy required to allow full access to HealthLake.  | November, 14, 2022 | 
|  [AmazonHealthLakeReadOnlyAccess](#security-iam-awsmanpol-AmazonHealthLakeReadOnlyAccess)   |  `AmazonHealthLakeReadOnlyAccess` policy required for read-only access to HealthLake.  | November, 14, 2022 | 
|  HealthLake started tracking changes  |  HealthLake started tracking changes for its AWS managed policies.  | November, 14, 2022 | 