--- title: "get-bucket-location" slug: "get-bucket-location" updated: 2026-09-17T09:16:08Z published: 2026-09-17T09:16:08Z canonical: "cli.ncloud-docs.com/get-bucket-location" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # get-bucket-location Classic/VPC 환경에서 이용 가능합니다. Ncloud Storage 버킷의 리전 정보를 조회합니다. 참고 Sub Account 사용자가 이 명령어를 실행하려면 View/GetBucketLocation 액션 권한이 있어야 합니다. ## 구문 `get-bucket-location` 구문은 다음과 같습니다. ``` aws s3api get-bucket-location \ --bucket \ --endpoint-url ``` ## 옵션 `get-bucket-location` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `get-bucket-location`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--bucket` | String | Required | 버킷 이름 | ### 공통 옵션 `aws` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Ncloud Storage 옵션](/docs/storage-ncloudstorage#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 버킷 리전 조회 요청이 성공하면 버킷이 위치한 리전 정보가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` aws s3api get-bucket-location --bucket my-test-bucket \ --endpoint-url=https://kr.ncloudstorage.com ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "LocationConstraint": "kr" } ``` ## 연관 명령어 연관 명령어는 다음과 같습니다. - [get-object](/docs/get-object) - [create-bucket](/docs/create-bucket)