1.0
1.0
scpcli application-apigateway stage set configuration
--api_id <value>
--stage_name <value>
--jwt_enabled <value>
--ip_restriction_enabled <value>
--cors_enabled <value>
[--allow_credentials <value>]
[--allow_headers <value>]
[--allow_methods <value>]
[--allow_origins <value>]
[--expose_headers <value>]
[--max_age <value>]
Description
스테이지 설정을 수정한다(ip_restriction_enabled 수정은 더 이상 지원되지 않음)
상태 ACTIVE (DEPRECATED)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| api_id required | string | Api ID | 27bb070b564349f8a31cc60734cc36a5 |
| stage_name required | string | 스테이지명 | test-stage |
| jwt_enabled required | boolean | JWT 사용여부 | False |
| ip_restriction_enabled required | boolean | IP 접근제어 사용여부 | False |
| cors_enabled required | boolean | CORS 사용여부 | False |
| allow_credentials optional | boolean | 허용 인증 | True |
| allow_headers optional | array | 허용 헤더 | Content-Type |
| allow_methods optional | array | 허용 메서드 | '{}' |
| allow_origins optional | array | 허용 원본 | * |
| expose_headers optional | array | 노출 헤더 | test1 |
| max_age optional | integer | 최대 캐시 기간 | 3600 |