포스트 함수 정책 구성 참조
포스트 함수 정책 구성 참조 (Post-Function Policy Configuration Reference)
이 문서는 Kong AI Gateway의 Post-Function 정책에서 설정할 수 있는 구성 옵션을 JSON 스키마 형태로 정리한 참조 자료예요. config 객체에는 access, rewrite, header_filter, body_filter, log처럼 요청과 응답 처리의 각 실행 페이즈마다 Lua 코드를 담는 문자열 배열 필드가 정의되어 있어요. 여기에 WebSocket 관련 페이즈인 ws_handshake, ws_client_frame, ws_upstream_frame, ws_close와 certificate 필드까지 포함되어 있고, 모든 필드의 기본값은 빈 배열이에요
출처: 문서
본문
{
"properties": {
"config": {
"type": "object",
"properties": {
"ws_upstream_frame": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"certificate": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"rewrite": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"access": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ws_handshake": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ws_client_frame": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ws_close": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"header_filter": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"body_filter": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"log": {
"type": "array",
"items": {
"type": "string"
},
"default": []
}
}
}
}
}
관련 리소스
더 알아보기 (Learn more)
- 요청 처리 초기 단계에서 사용자 함수를 실행하는 선(先)함수 정책의 구성을 함께 참고할 수 있어요 — Pre-Function Policy
- 서버리스 카테고리로 분류된 다른 정책 문서들을 한데 모아 볼 수 있어요 — Serverless Policies