Edge hostname

Create a new edge hostname.

Note: Edge hostnames are immutable once created. Attempting to pass updates results in a new edge hostname.

resource "akamai_deliverymanager_edge_hostname" "my_edge_hostname" {
  edge_hostname = "www.my_edge_hostname.com.edgesuite.net"
  product_id    = "Dynamic Site Delivery"
  group_id      = "12345"
  contract_id   = "C-0N7RAC7"
}

Arguments

Provide a CNAME target and product ID to create a new edge hostname.

ArgumentRequiredDescription
edge_hostnameāœ”ļøA DNS-based CNAME target to direct end-user traffic to instead of your origin. Value is one of:
  • edgesuite.net. Standard TLS
  • edgekey.net. Enhanced TLS
    product_idāœ”ļøYour product ID. Possible values are:
    • CloudWrapper_MultiCDN
    • Adaptive_Media_Delivery
    • Download_Delivery
    • Object_Delivery
    • API_Acceleration
    • Fresca
    • SPM
    • Dynamic_Site_Accelerator
    • Dynamic_Site_Delivery
    • Ion_Media_Advanced
    • Terra_Alta_Enterprise_Accelerator
    • Web_Application_Accelerator
    • Rich_Media_Accelerator
    contract_idThe contract ID used in the workspace.
    group_idYour group ID.
    ip_version_behaviorThe IP protocol to use for the edge hostname. Value is one of:
    • IPV4. Uses only IPv4 protocol.
    • IPV6. Uses only IPv6 protocol.
    • IPV6_IPV4_DUALSTACK. Uses both IPv4 and IPv6 protocols.

    Attributes

    Returned to you are your edge hostname's details.

    AttributesDescription
    ip_version_behaviorThe IP protocol to use for the edge hostname: IPV4 for version 4 only, IPV6 for version 6 only, or IPV6_IPV4_DUALSTACK for both 4 and 6.
    china_cdnSettings for serving content in China. Contains:
    • china_partner. The name of the China partner.
    • custom_china_cdn_map. Conditionally required, use with china_partner. A custom China CDN mapping domain assigned to an edge hostname.
    • gtm_domain. The Global Traffic Management domain that serves traffic in China.
    • is_china_cdn. When set to true, the edge hostname can deliver content in China.
    delivery_policyThe delivery policy controlling your application's edge traffic. Includes:
    • policy_attributes. A delivery policy's details. Contains:

      • attribute_type. A policy's attribute type. Value is GEO, keeping your edge traffic within a specified geographical region.
      • code. The code of the geographical region you want to keep your edge traffic within. Available regions are:
        • EU_CH_GB
        • IN
        • US
      • name. The geographical regions within which to keep your edge traffic. Possible values are:
        • European Union, Switzerland and Great Britain
        • India
        • USA
    • policy_type. A delivery policy's type. Value is GEO_OPT_IN, keeping your edge traffic within a specified geographical region.
    https_service_bindingA DNS record that provides information about alternative service endpoints.
    is_edge_ipbinding_enabledWhen set to true, Edge IP binding is enabled.
    is_secureWhen set to true, the edge hostname uses SSL.
    ttlHow long, in seconds, an edge hostname is assigned to a map or target. If omitted, the map's default TTL is used.
    use_casesA list of optional configurations used to map traffic across the Akamai edge network based on product use. Each entry overrides the product's default mapping logic to optimize traffic delivery to your business need.
    • option. Settings that clarify the traffic category and determine the final mapping solution.
    • type. The Akamai network your use case affects. Value is GLOBAL.
    • use_case. A use case ID.
    use_default_mapWhen set to true, the edge hostname uses the product's default map.
    use_default_ttlWhen set to true, the edge hostname uses the product's default time-to-live settings.


    Did this page help you?