ncloud_edge_create_edge
Create a Global Edge CDN edge with origin, caching, and distribution settings; optional sub-objects use defaults, and dryRun previews without creating.
Instructions
Create a new Global Edge CDN edge with origin, caching, and distribution settings. Sub-objects not exposed as parameters use sensible defaults (no edge logging, no edge auth, no caching rules, no header policies, WHITELIST access control with empty lists, which means no access restriction). For full control use ncloud_edge_edit_edge after creation. Use dryRun=true to preview without creating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profileId": "<profileId>",
"edgeName": "<edgeName>",
"protocolType": "<protocolType>",
"regionType": "<regionType>",
"serviceDomainType": "<serviceDomainType>",
"originType": "<originType>"
},
"name": "ncloud_edge_create_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cors | No | Add CORS headers (managed rule) | |
| hsts | No | Enable HSTS | |
| http2 | No | Enable HTTP/2 | |
| dryRun | No | If true, returns a preview without actually creating the edge | |
| cacheAge | No | Cache max-age (1 second to 365 days) | |
| edgeName | Yes | Edge name (3-35 chars: letters, digits, '-', '_') | |
| profileId | Yes | Profile ID to create the edge under | |
| originPath | No | Origin path appended to origin requests, e.g. /static/ | |
| originPort | No | Origin port number | |
| originType | Yes | Origin server type | |
| regionType | Yes | Service region: KOREA, JAPAN, or GLOBAL | |
| negativeTtl | No | Cache origin error responses (negative TTL) | |
| cacheAgeType | No | Cache max-age unit | DAYS |
| originRegion | No | Origin region (required for OBJECT_STORAGE or LOAD_BALANCER) | |
| protocolType | Yes | Service protocol: HTTPS or ALL (HTTP+HTTPS) | |
| httpCompression | No | Enable Gzip/Brotli compression | |
| cacheKeyHostname | No | Cache key hostname type | INCOMING_HOST_HEADER |
| customHostHeader | No | Host header value (required when forwardHostHeaderType is CUSTOM) | |
| originBucketName | No | Origin bucket name (required for OBJECT_STORAGE) | |
| removeVaryHeader | No | Remove Vary headers (other than Accept-Encoding) before caching | |
| accessControlType | No | Access control policy type: WHITELIST allows only the listed clients, BLACKLIST blocks them. It only takes effect when at least one of the IP/geo/referer lists is non-empty; with all three lists empty the edge has no access restriction and the API stores the type as WHITELIST regardless of this value | WHITELIST |
| certificateSlotId | No | Certificate slot ID (required for CUSTOM_DOMAIN served over HTTPS; see ncloud_edge_list_certificates) | |
| edgeLoggingRegion | No | Region of the edge-logging bucket (default KR) | |
| serviceDomainName | No | Domain name (required for NCP_DOMAIN_CUSTOM or CUSTOM_DOMAIN) | |
| serviceDomainType | Yes | Service domain type | |
| originProtocolType | No | Origin protocol type | HTTP |
| trueClientIpHeader | No | Forward the client IP header to the origin | |
| cacheRevalidateType | No | Stale object revalidation type | IF_POSSIBLE |
| cacheKeyQueryStrings | No | Query strings allowed in the cache key (required for ALLOW_SPECIFIC_STRING) | |
| originCustomLocation | No | Origin domain name (required for LOAD_BALANCER, API_GATEWAY, or CUSTOM) | |
| edgeLoggingBucketName | No | Enable edge logging into this Object Storage bucket (omit to disable logging) | |
| forwardHostHeaderType | No | Host header forwarding type | INCOMING_HOST_HEADER |
| largeFileOptimization | No | Enable large file optimization | |
| accessControlIpPolicies | No | Client IPs or CIDR blocks for access control | |
| cacheRuleDefinitionType | No | Default caching option | CACHING |
| edgeLoggingBucketPrefix | No | Log path prefix inside the logging bucket | |
| accessControlGeoPolicies | No | ISO 3166-1 alpha-2 country codes for access control | |
| accessControlRefererPolicies | No | Referer domains for access control | |
| cacheKeyIgnoreQueryStringType | No | How query strings are used in the cache key | ALL_ALLOWED |