# EC2 AMI

## 리소스 유형

`AWS.EC2.AMI`

## 리소스 ID 형식

EC2 AMI의 경우 리소스 ID는 ARN입니다.

`arn:aws:ec2:us-west-2:123456789012:image/ami-1`

## 배경

EC2 AMI에는 인스턴스를 시작하는 데 필요한 정보가 포함되어 있습니다.

## 필드

| 필드                    | 유형    | 설명                                                                          |
| --------------------- | ----- | --------------------------------------------------------------------------- |
| `아키텍처`                | `문자열` | 이미지의 아키텍처입니다.                                                               |
| `BlockDeviceMappings` | `목록`  | 모든 블록 디바이스 매핑 항목입니다.                                                        |
| `설명`                  | `문자열` | 이미지 생성 중에 제공된 AMI 설명입니다.                                                    |
| `EnaSupport`          | `불리언` |                                                                             |
| `하이퍼바이저`              | `문자열` | 이미지의 하이퍼바이저 유형입니다.                                                          |
| `ImageLocation`       | `문자열` | AMI의 위치입니다.                                                                 |
| `ImageOwnerAlias`     | `문자열` | AMI 소유자의 AWS 계정 별칭 또는 AWS 계정 ID                                             |
| `ImageType`           | `문자열` | 이미지 유형입니다.                                                                  |
| `KernelId`            | `문자열` | 이미지와 연결된 커널,                                                                |
| `OwnerId`             | `문자열` | 이미지 소유자의 AWS 계정 ID입니다.                                                      |
| `Platform`            | `문자열` | 인스턴스 운영 체제입니다.                                                              |
| `ProductCodes`        | `목록`  | AMI와 연결된 모든 제품 코드입니다.                                                       |
| `Public`              | `불리언` | 이미지에 공개 시작 권한이 있는지 여부를 나타냅니다.                                               |
| `RamdiskId`           | `문자열` | 이미지와 연결된 RAM 디스크입니다.                                                        |
| `RootDeviceName`      | `문자열` | 루트 디바이스 볼륨의 디바이스 이름입니다(예: /dev/sda1).                                       |
| `RootDeviceType`      | `문자열` | AMI에서 사용되는 루트 디바이스 유형입니다.                                                   |
| `SriovNetSupport`     | `문자열` | Intel 82599 가상 함수 인터페이스를 사용하는 향상된 네트워킹이 활성화되어 있는지 여부입니다.                    |
| `State`               | `문자열` | AMI의 현재 상태입니다. 상태가 `available`이면 이미지가 성공적으로 등록되었으며 인스턴스를 시작하는 데 사용할 수 있습니다. |
| `StateReason`         | `맵`   | 상태 변경 이유입니다.                                                                |
| `VirtualizationType`  | `문자열` | AMI의 가상화 유형입니다.                                                             |

```javascript
{
    "AccountId": "123456789012",
    "Architecture": "x86_64",
    "Arn": "arn:aws:ec2:us-west-2:123456789012:image/ami-1",
    "BlockDeviceMappings": [
        {
            "DeviceName": "/dev/xvda",
            "Ebs": {
                "AvailabilityZone": null,
                "AvailabilityZoneId": null,
                "DeleteOnTermination": true,
                "Encrypted": false,
                "Iops": 3000,
                "KmsKeyId": null,
                "OutpostArn": null,
                "SnapshotId": "snap-1",
                "Throughput": 125,
                "VolumeInitializationRate": null,
                "VolumeSize": 8,
                "VolumeType": "gp3"
            },
            "NoDevice": null,
            "VirtualName": null,
        }
    ],
    "Description": "이미지 설명",
    "EnaSupport": true,
    "Hypervisor": "xen",
    "Id": "ami-1",
    "ImageLocation": "amazon/amzn-ami.1",
    "ImageOwnerAlias": "amazon",
    "ImageType": "machine",
    "KernelId": null,
    "Name": "amzn-ami.1",
    "OwnerId": "123456789012",
    "Platform": null,
    "ProductCodes": null,
    "Public": true,
    "RamdiskId": null,
    "Region": "us-west-2",
    "ResourceId": "arn:aws:ec2:us-west-2:123456789012:image/ami-1",
    "ResourceType": "AWS.EC2.AMI",
    "RootDeviceName": "/dev/xvda",
    "RootDeviceType": "ebs",
    "SriovNetSupport": "simple",
    "State": "available",
    "StateReason": null,
    "Tags": null,
    "TimeCreated": "2019-01-01T00:00:00.000Z",
    "VirtualizationType": "hvm"
}
```


---

# Agent Instructions: 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/ec2-ami.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.
