> For the complete documentation index, see [llms.txt](https://docs.panther.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.panther.com/ko/cloud-scanning/cloud-resource-attributes/aws/iam-role.md).

# IAM 역할

## 리소스 유형

`AWS.IAM.Role`

## 리소스 ID 형식

IAM 역할의 경우 리소스 ID는 ARN입니다.

`arn:aws:iam::123456789012:role/example-role`

## 배경

IAM 역할은 계정에서 생성할 수 있는 IAM ID로, 특정 권한을 가집니다. 그런 다음 AWS 사용자와 서비스는 해당 역할을 맡아 그 권한을 획득할 수 있습니다. IAM 역할은 AWS에서 해당 ID가 무엇을 할 수 있고 할 수 없는지를 결정하는 권한 정책을 가진 AWS ID라는 점에서 IAM 사용자와 유사합니다.

## 필드

| 유형                         | 설명    |                                                                                                                               |
| -------------------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------- |
| `AssumeRolePolicyDocument` | `문자열` | 이 역할을 맡을 수 있는 리소스를 지정하는 IAM 정책                                                                                                |
| `설명`                       | `문자열` | 사용자가 제공하는 역할에 대한 설명.                                                                                                          |
| `MaxSessionDuration`       | `Int` | 지정된 역할의 최대 세션 지속 시간(초)입니다.                                                                                                    |
| `경로`                       | `문자열` | 역할의 경로.                                                                                                                       |
| `PermissionsBoundary`      | `맵`   | 설정에 사용된 정책의 ARN과 유형 [권한 경계](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AttachedPermissionsBoundary.html) 역할에 대해. |
| `InlinePolicies`           | `맵`   | PolicyName을 키로 하고 Policy Document 값을 갖는 인라인 정책의 매핑                                                                            |
| `ManagedPolicyNames`       | `목록`  | 역할에 연결된 AWS 관리형 정책 이름입니다.                                                                                                     |

## 예시

```javascript
{
    "AccountId": "123456789012",
    "Arn": "arn:aws:iam::123456789012:role/example-role",
    "AssumeRolePolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":\"sts:AssumeRole\",\"Condition\":{\"Bool\":{\"aws:MultiFactorAuthPresent\":\"true\"}}}]}",
    "Description": null,
    "Id": "1111",
    "InlinePolicies": null,
    "ManagedPolicyNames": [
        "example-policy-1",
        "example-policy-2"
    ],
    "MaxSessionDuration": 3600,
    "Name": "example-role",
    "Path": "/",
    "PermissionsBoundary": null,
    "Region": "global",
    "ResourceId": "arn:aws:iam::123456789012:role/example-role",
    "ResourceType": "AWS.IAM.Role",
    "Tags": null,
    "TimeCreated": "2019-01-01T00:00:00.000Z"
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.panther.com/ko/cloud-scanning/cloud-resource-attributes/aws/iam-role.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
