Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
다른 AWS 계정에서 Amazon API Gateway API에 액세스하려면 어떻게 해야 합니까?
2분 분량
0
다른 AWS 계정에서 Amazon API Gateway API에 액세스하고 싶습니다.
해결 방법
퍼블릭 API 엔드포인트
API 스테이지 URL에서 직접 API Gateway 퍼블릭 엔드포인트(리전 또는 엣지 최적화)에 액세스할 수 있습니다. 예를 들어 https://0123456789.execute-api.{region}.amazonaws.com/{stage-name}입니다.
또한 퍼블릭 호스팅 영역에서 사용자 지정 도메인 이름을 사용하여 API Gateway 퍼블릭 엔드포인트에 액세스할 수 있습니다.
AWS Identity and Access Management(IAM) 인증을 사용하는 교차 계정 액세스를 통해 API Gateway API에 액세스하려면 추가 구성이 필요합니다. 소비자 계정의 IAM 개체에 ID 기반 정책을 통해 API를 호출할 권한이 있어야 합니다.