# EC2 VPC

## 리소스 유형

`AWS.EC2.VPC`

## 리소스 ID 형식

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

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

## 배경

이 리소스는 AWS EC2 VPC의 스냅샷을 나타냅니다.

## 필드

| 필드                            | 유형    | 설명                                                                                                                                                                                                                                                                                                                                                            |
| ----------------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `CidrBlock`                   | `문자열` | VPC의 IP 범위                                                                                                                                                                                                                                                                                                                                                    |
| `CidrBlockAssociationSet`     | `목록`  | VPC와 연결된 IP CIDR 블록에 대한 정보입니다.                                                                                                                                                                                                                                                                                                                                |
| `DhcpOptionsId`               | `문자열` | VPC에 연결한 DHCP 옵션 세트의 ID입니다.                                                                                                                                                                                                                                                                                                                                   |
| `InstanceTenancy`             | `문자열` | VPC에 시작된 인스턴스의 허용되는 테넌시입니다. VPC와 연결된 IPv6 CIDR 블록에 대한 정보입니다.                                                                                                                                                                                                                                                                                                  |
| `Ipv6CidrBlockAssociationSet` | `목록`  | VPC와 연결된 IPv6 CIDR 블록에 대한 정보입니다.                                                                                                                                                                                                                                                                                                                              |
| `기본값 여부`                      | `불리언` | VPC가 기본 VPC인지 여부입니다.                                                                                                                                                                                                                                                                                                                                          |
| `소유자 ID`                      | `문자열` | VPC를 소유한 Amazon Web Services 계정의 ID입니다.                                                                                                                                                                                                                                                                                                                       |
| `State`                       | `문자열` | VPC의 현재 상태입니다.                                                                                                                                                                                                                                                                                                                                                |
| `FlowLogs`                    | `목록`  | 흐름 로그에 대한 정보입니다.                                                                                                                                                                                                                                                                                                                                              |
| `NetworkAcls`                 | `목록`  | 설정된 네트워크 ACL을 나타내며, VPC의 기본 방화벽 역할을 합니다. 자세한 내용은 [AWS 사용자 설명서](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html) 를 참조하세요.                                                                                                                                                                                                               |
| `RouteTables`                 | `목록`  | 라우트 테이블이 구성되어 있으며, VPC의 기본 라우팅 테이블 역할을 합니다. 자세한 내용은 [AWS 사용자 설명서](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) 를 참조하세요.                                                                                                                                                                                                            |
| `SecurityGroups`              | `목록`  | 이 VPC에 구성된 보안 그룹으로, VPC 내 인스턴스의 방화벽 역할을 합니다. 자세한 내용은 [AWS 사용자 설명서](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) 를 참조하세요.                                                                                                                                                                                                         |
| `StaleSecurityGroups`         | `목록`  | VPC의 'stale' 보안 그룹으로, 해당 보안 그룹 또는 VPC 피어링 연결이 삭제되었음을 의미합니다. 아래 예시에는 `SecurityGroups`에 나열되지 않은 stale 보안 그룹이 표시되지만, 실제로는 그렇지 않습니다. `StaleSecurityGroups` 에 나열된 모든 보안 그룹은 `SecurityGroups`에도 표시됩니다. 자세한 내용은 [AWS 문서](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html#vpc-peering-stale-groups) 에서 stale 보안 그룹에 대한 자세한 내용을 참조하세요. |
| `VPC ID`                      | `문자열` | VPC의 고유 식별자                                                                                                                                                                                                                                                                                                                                                   |

## 예시

```javascript
{
    "AccountId": "123456789012",
    "Arn": "arn:aws:ec2:eu-west-3:123456789012:vpc/vpc-1",
    "CidrBlock": "10.0.0.0/16",
    "CidrBlockAssociationSet": [
        {
            "AssociationId": "vpc-cidr-assoc-1",
            "CidrBlock": "10.0.0.0/16",
            "CidrBlockState": {
                "State": "associated",
                "StatusMessage": null
            }
        }
    ],
    "DefaultNetworkAclId": "acl-1",
    "DefaultSecurityGroupId": "sg-1",
    "DhcpOptionsId": "dopt-1",
    "FlowLogs": [
        {
            "CreationTime": "2026-02-12T18:07:41.186Z",
            "DeliverCrossAccountRole": null,
            "DeliverLogsErrorMessage": null,
            "DeliverLogsPermissionArn": null,
            "DeliverLogsStatus": "SUCCESS",
            "DestinationOptions": {
                "FileFormat": "plain-text",
                "HiveCompatiblePartitions": false,
                "PerHourPartition": false
            },
            "FlowLogId": "fl-1",
            "FlowLogStatus": "ACTIVE",
            "LogDestination": "arn:aws:s3:::my-bucket/",
            "LogDestinationType": "s3",
            "LogFormat": "${account-id} ${interface-id} ${srcaddr} ${dstaddr} ${srcport} ${dstport}",
            "LogGroupName": null,
            "MaxAggregationInterval": 600,
            "ResourceId": "vpc-1",
            "Tags": [
                {
                    "Key": "name",
                    "Value": "value"
                }
            ],
            "TrafficType": "ALL"
        }
    ],
    "Id": "vpc-1",
    "InstanceTenancy": "default",
    "Ipv6CidrBlockAssociationSet": null,
    "IsDefault": true,
    "NetworkAcls": [
        "acl-1",
        "acl-2"
    ],
    "OwnerId": "123456789012",
    "Region": "eu-west-3",
    "ResourceId": "arn:aws:ec2:eu-west-3:123456789012:vpc/vpc-1",
    "ResourceType": "AWS.EC2.VPC",
    "RouteTables": [
        {
            "Associations": [
                {
                    "AssociationState": {
                        "State": "associated",
                        "StatusMessage": null
                    },
                    "GatewayId": null,
                    "Main": true,
                    "PublicIpv4Pool": null,
                    "RouteTableAssociationId": "rtbassoc-1",
                    "RouteTableId": "rtb-1",
                    "SubnetId": null
                }
            ],
            "OwnerId": "123456789012",
            "PropagatingVgws": null,
            "RouteTableId": "rtb-1",
            "Routes": [
                {
                    "CarrierGatewayId": null,
                    "CoreNetworkArn": null,
                    "DestinationCidrBlock": "10.0.0.0/24",
                    "DestinationIpv6CidrBlock": null,
                    "DestinationPrefixListId": null,
                    "EgressOnlyInternetGatewayId": null,
                    "GatewayId": "local",
                    "InstanceId": null,
                    "InstanceOwnerId": null,
                    "IpAddress": null,
                    "LocalGatewayId": null,
                    "NatGatewayId": null,
                    "NetworkInterfaceId": null,
                    "OdbNetworkArn": null,
                    "Origin": "CreateRouteTable",
                    "State": "active",
                    "TransitGatewayId": null,
                    "VpcPeeringConnectionId": null
                }
            ],
            "Tags": null,
            "VpcId": "vpc-1"
        }
    ],
    "SecurityGroups": [
        "sg-1",
        "sg-2"
    ],
    "StaleSecurityGroups": null,
    "State": "available",
    "Tags": null,
    "TimeCreated": null
}
```


---

# 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-vpc.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.
