---
title: IAM Role Inline Policy
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > IAM Role Inline Policy
---

# IAM Role Inline Policy

This table represents the IAM Role Inline Policy resource from Amazon Web Services.

```
aws.iam_role_inline_policy
```

## Fields

| Title                  | ID   | Type       | Data Type                                                                                                                                                                                                                                       | Description |
| ---------------------- | ---- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                   | core | string     |
| account_id             | core | string     |
| policy_document        | core | string     | The policy document. IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. |
| policy_name            | core | string     | The name of the policy.                                                                                                                                                                                                                         |
| role_inline_policy_arn | core | string     |
| role_name              | core | string     | The role the policy is associated with.                                                                                                                                                                                                         |
| tags                   | core | hstore_csv |
