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.020251231

Parameters

NameTypeDescriptionExample
api_id
required
stringApi ID27bb070b564349f8a31cc60734cc36a5
stage_name
required
string스테이지명test-stage
jwt_enabled
required
booleanJWT 사용여부False
ip_restriction_enabled
required
booleanIP 접근제어 사용여부False
cors_enabled
required
booleanCORS 사용여부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