1. Packages
  2. Ibm Provider
  3. API Docs
  4. Cdn
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.Cdn

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Create, update, or delete a Content Delivery Networks (CDN) mapping. For more information, about IBM Cloud CDN, see about Content Delivery Networks.

    CDN has now deprecated, backend services will no longer available after 28th March 2025. This docs will be removed in coming release.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testCdn1 = new ibm.Cdn("testCdn1", {
        hostname: "www.default.com",
        originAddress: "111.111.111.5",
        originType: "HOST_SERVER",
        vendorName: "akamai",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_cdn1 = ibm.Cdn("testCdn1",
        hostname="www.default.com",
        origin_address="111.111.111.5",
        origin_type="HOST_SERVER",
        vendor_name="akamai")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCdn(ctx, "testCdn1", &ibm.CdnArgs{
    			Hostname:      pulumi.String("www.default.com"),
    			OriginAddress: pulumi.String("111.111.111.5"),
    			OriginType:    pulumi.String("HOST_SERVER"),
    			VendorName:    pulumi.String("akamai"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testCdn1 = new Ibm.Cdn("testCdn1", new()
        {
            Hostname = "www.default.com",
            OriginAddress = "111.111.111.5",
            OriginType = "HOST_SERVER",
            VendorName = "akamai",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.Cdn;
    import com.pulumi.ibm.CdnArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testCdn1 = new Cdn("testCdn1", CdnArgs.builder()
                .hostname("www.default.com")
                .originAddress("111.111.111.5")
                .originType("HOST_SERVER")
                .vendorName("akamai")
                .build());
    
        }
    }
    
    resources:
      testCdn1:
        type: ibm:Cdn
        properties:
          hostname: www.default.com
          originAddress: 111.111.111.5
          originType: HOST_SERVER
          vendorName: akamai
    

    Create Cdn Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Cdn(name: string, args: CdnArgs, opts?: CustomResourceOptions);
    @overload
    def Cdn(resource_name: str,
            args: CdnArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Cdn(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            host_name: Optional[str] = None,
            origin_address: Optional[str] = None,
            http_port: Optional[float] = None,
            https_port: Optional[float] = None,
            cname: Optional[str] = None,
            file_extension: Optional[str] = None,
            header: Optional[str] = None,
            cdn_id: Optional[str] = None,
            bucket_name: Optional[str] = None,
            certificate_type: Optional[str] = None,
            cache_key_query_rule: Optional[str] = None,
            origin_type: Optional[str] = None,
            path: Optional[str] = None,
            performance_configuration: Optional[str] = None,
            protocol: Optional[str] = None,
            respect_headers: Optional[bool] = None,
            vendor_name: Optional[str] = None)
    func NewCdn(ctx *Context, name string, args CdnArgs, opts ...ResourceOption) (*Cdn, error)
    public Cdn(string name, CdnArgs args, CustomResourceOptions? opts = null)
    public Cdn(String name, CdnArgs args)
    public Cdn(String name, CdnArgs args, CustomResourceOptions options)
    
    type: ibm:Cdn
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CdnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CdnArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CdnArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cdnResource = new Ibm.Cdn("cdnResource", new()
    {
        HostName = "string",
        OriginAddress = "string",
        HttpPort = 0,
        HttpsPort = 0,
        Cname = "string",
        FileExtension = "string",
        Header = "string",
        CdnId = "string",
        BucketName = "string",
        CertificateType = "string",
        CacheKeyQueryRule = "string",
        OriginType = "string",
        Path = "string",
        PerformanceConfiguration = "string",
        Protocol = "string",
        RespectHeaders = false,
        VendorName = "string",
    });
    
    example, err := ibm.NewCdn(ctx, "cdnResource", &ibm.CdnArgs{
    	HostName:                 pulumi.String("string"),
    	OriginAddress:            pulumi.String("string"),
    	HttpPort:                 pulumi.Float64(0),
    	HttpsPort:                pulumi.Float64(0),
    	Cname:                    pulumi.String("string"),
    	FileExtension:            pulumi.String("string"),
    	Header:                   pulumi.String("string"),
    	CdnId:                    pulumi.String("string"),
    	BucketName:               pulumi.String("string"),
    	CertificateType:          pulumi.String("string"),
    	CacheKeyQueryRule:        pulumi.String("string"),
    	OriginType:               pulumi.String("string"),
    	Path:                     pulumi.String("string"),
    	PerformanceConfiguration: pulumi.String("string"),
    	Protocol:                 pulumi.String("string"),
    	RespectHeaders:           pulumi.Bool(false),
    	VendorName:               pulumi.String("string"),
    })
    
    var cdnResource = new Cdn("cdnResource", CdnArgs.builder()
        .hostName("string")
        .originAddress("string")
        .httpPort(0)
        .httpsPort(0)
        .cname("string")
        .fileExtension("string")
        .header("string")
        .cdnId("string")
        .bucketName("string")
        .certificateType("string")
        .cacheKeyQueryRule("string")
        .originType("string")
        .path("string")
        .performanceConfiguration("string")
        .protocol("string")
        .respectHeaders(false)
        .vendorName("string")
        .build());
    
    cdn_resource = ibm.Cdn("cdnResource",
        host_name="string",
        origin_address="string",
        http_port=0,
        https_port=0,
        cname="string",
        file_extension="string",
        header="string",
        cdn_id="string",
        bucket_name="string",
        certificate_type="string",
        cache_key_query_rule="string",
        origin_type="string",
        path="string",
        performance_configuration="string",
        protocol="string",
        respect_headers=False,
        vendor_name="string")
    
    const cdnResource = new ibm.Cdn("cdnResource", {
        hostName: "string",
        originAddress: "string",
        httpPort: 0,
        httpsPort: 0,
        cname: "string",
        fileExtension: "string",
        header: "string",
        cdnId: "string",
        bucketName: "string",
        certificateType: "string",
        cacheKeyQueryRule: "string",
        originType: "string",
        path: "string",
        performanceConfiguration: "string",
        protocol: "string",
        respectHeaders: false,
        vendorName: "string",
    });
    
    type: ibm:Cdn
    properties:
        bucketName: string
        cacheKeyQueryRule: string
        cdnId: string
        certificateType: string
        cname: string
        fileExtension: string
        header: string
        hostName: string
        httpPort: 0
        httpsPort: 0
        originAddress: string
        originType: string
        path: string
        performanceConfiguration: string
        protocol: string
        respectHeaders: false
        vendorName: string
    

    Cdn Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Cdn resource accepts the following input properties:

    HostName string
    The host name that is associated with the CDN domain mapping.
    OriginAddress string
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    BucketName string
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    CacheKeyQueryRule string
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    CdnId string
    (String) The unique internal identifier of the CDN domain mapping.
    CertificateType string
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    Cname string
    The CNAME for your CDN.
    FileExtension string
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    Header string
    The header for the CDN.
    HttpPort double
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    HttpsPort double
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    OriginType string
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    Path string
    The path for the CDN.
    PerformanceConfiguration string
    The performance configuration. Default is General web delivery.
    Protocol string
    The protocol to use. Default value is HTTP.
    RespectHeaders bool
    If set to true, the TTL settings in the origin override CDN TTL settings.
    VendorName string
    Only akamai is supported for now.
    HostName string
    The host name that is associated with the CDN domain mapping.
    OriginAddress string
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    BucketName string
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    CacheKeyQueryRule string
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    CdnId string
    (String) The unique internal identifier of the CDN domain mapping.
    CertificateType string
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    Cname string
    The CNAME for your CDN.
    FileExtension string
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    Header string
    The header for the CDN.
    HttpPort float64
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    HttpsPort float64
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    OriginType string
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    Path string
    The path for the CDN.
    PerformanceConfiguration string
    The performance configuration. Default is General web delivery.
    Protocol string
    The protocol to use. Default value is HTTP.
    RespectHeaders bool
    If set to true, the TTL settings in the origin override CDN TTL settings.
    VendorName string
    Only akamai is supported for now.
    hostName String
    The host name that is associated with the CDN domain mapping.
    originAddress String
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    bucketName String
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cacheKeyQueryRule String
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdnId String
    (String) The unique internal identifier of the CDN domain mapping.
    certificateType String
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname String
    The CNAME for your CDN.
    fileExtension String
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header String
    The header for the CDN.
    httpPort Double
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    httpsPort Double
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    originType String
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path String
    The path for the CDN.
    performanceConfiguration String
    The performance configuration. Default is General web delivery.
    protocol String
    The protocol to use. Default value is HTTP.
    respectHeaders Boolean
    If set to true, the TTL settings in the origin override CDN TTL settings.
    vendorName String
    Only akamai is supported for now.
    hostName string
    The host name that is associated with the CDN domain mapping.
    originAddress string
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    bucketName string
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cacheKeyQueryRule string
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdnId string
    (String) The unique internal identifier of the CDN domain mapping.
    certificateType string
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname string
    The CNAME for your CDN.
    fileExtension string
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header string
    The header for the CDN.
    httpPort number
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    httpsPort number
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    originType string
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path string
    The path for the CDN.
    performanceConfiguration string
    The performance configuration. Default is General web delivery.
    protocol string
    The protocol to use. Default value is HTTP.
    respectHeaders boolean
    If set to true, the TTL settings in the origin override CDN TTL settings.
    vendorName string
    Only akamai is supported for now.
    host_name str
    The host name that is associated with the CDN domain mapping.
    origin_address str
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    bucket_name str
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cache_key_query_rule str
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdn_id str
    (String) The unique internal identifier of the CDN domain mapping.
    certificate_type str
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname str
    The CNAME for your CDN.
    file_extension str
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header str
    The header for the CDN.
    http_port float
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    https_port float
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    origin_type str
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path str
    The path for the CDN.
    performance_configuration str
    The performance configuration. Default is General web delivery.
    protocol str
    The protocol to use. Default value is HTTP.
    respect_headers bool
    If set to true, the TTL settings in the origin override CDN TTL settings.
    vendor_name str
    Only akamai is supported for now.
    hostName String
    The host name that is associated with the CDN domain mapping.
    originAddress String
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    bucketName String
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cacheKeyQueryRule String
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdnId String
    (String) The unique internal identifier of the CDN domain mapping.
    certificateType String
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname String
    The CNAME for your CDN.
    fileExtension String
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header String
    The header for the CDN.
    httpPort Number
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    httpsPort Number
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    originType String
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path String
    The path for the CDN.
    performanceConfiguration String
    The performance configuration. Default is General web delivery.
    protocol String
    The protocol to use. Default value is HTTP.
    respectHeaders Boolean
    If set to true, the TTL settings in the origin override CDN TTL settings.
    vendorName String
    Only akamai is supported for now.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cdn resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The Status of the CDN domain mapping.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The Status of the CDN domain mapping.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The Status of the CDN domain mapping.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    (String) The Status of the CDN domain mapping.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    (String) The Status of the CDN domain mapping.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The Status of the CDN domain mapping.

    Look up Existing Cdn Resource

    Get an existing Cdn resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CdnState, opts?: CustomResourceOptions): Cdn
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket_name: Optional[str] = None,
            cache_key_query_rule: Optional[str] = None,
            cdn_id: Optional[str] = None,
            certificate_type: Optional[str] = None,
            cname: Optional[str] = None,
            file_extension: Optional[str] = None,
            header: Optional[str] = None,
            host_name: Optional[str] = None,
            http_port: Optional[float] = None,
            https_port: Optional[float] = None,
            origin_address: Optional[str] = None,
            origin_type: Optional[str] = None,
            path: Optional[str] = None,
            performance_configuration: Optional[str] = None,
            protocol: Optional[str] = None,
            respect_headers: Optional[bool] = None,
            status: Optional[str] = None,
            vendor_name: Optional[str] = None) -> Cdn
    func GetCdn(ctx *Context, name string, id IDInput, state *CdnState, opts ...ResourceOption) (*Cdn, error)
    public static Cdn Get(string name, Input<string> id, CdnState? state, CustomResourceOptions? opts = null)
    public static Cdn get(String name, Output<String> id, CdnState state, CustomResourceOptions options)
    resources:  _:    type: ibm:Cdn    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BucketName string
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    CacheKeyQueryRule string
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    CdnId string
    (String) The unique internal identifier of the CDN domain mapping.
    CertificateType string
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    Cname string
    The CNAME for your CDN.
    FileExtension string
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    Header string
    The header for the CDN.
    HostName string
    The host name that is associated with the CDN domain mapping.
    HttpPort double
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    HttpsPort double
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    OriginAddress string
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    OriginType string
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    Path string
    The path for the CDN.
    PerformanceConfiguration string
    The performance configuration. Default is General web delivery.
    Protocol string
    The protocol to use. Default value is HTTP.
    RespectHeaders bool
    If set to true, the TTL settings in the origin override CDN TTL settings.
    Status string
    (String) The Status of the CDN domain mapping.
    VendorName string
    Only akamai is supported for now.
    BucketName string
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    CacheKeyQueryRule string
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    CdnId string
    (String) The unique internal identifier of the CDN domain mapping.
    CertificateType string
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    Cname string
    The CNAME for your CDN.
    FileExtension string
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    Header string
    The header for the CDN.
    HostName string
    The host name that is associated with the CDN domain mapping.
    HttpPort float64
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    HttpsPort float64
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    OriginAddress string
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    OriginType string
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    Path string
    The path for the CDN.
    PerformanceConfiguration string
    The performance configuration. Default is General web delivery.
    Protocol string
    The protocol to use. Default value is HTTP.
    RespectHeaders bool
    If set to true, the TTL settings in the origin override CDN TTL settings.
    Status string
    (String) The Status of the CDN domain mapping.
    VendorName string
    Only akamai is supported for now.
    bucketName String
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cacheKeyQueryRule String
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdnId String
    (String) The unique internal identifier of the CDN domain mapping.
    certificateType String
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname String
    The CNAME for your CDN.
    fileExtension String
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header String
    The header for the CDN.
    hostName String
    The host name that is associated with the CDN domain mapping.
    httpPort Double
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    httpsPort Double
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    originAddress String
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    originType String
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path String
    The path for the CDN.
    performanceConfiguration String
    The performance configuration. Default is General web delivery.
    protocol String
    The protocol to use. Default value is HTTP.
    respectHeaders Boolean
    If set to true, the TTL settings in the origin override CDN TTL settings.
    status String
    (String) The Status of the CDN domain mapping.
    vendorName String
    Only akamai is supported for now.
    bucketName string
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cacheKeyQueryRule string
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdnId string
    (String) The unique internal identifier of the CDN domain mapping.
    certificateType string
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname string
    The CNAME for your CDN.
    fileExtension string
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header string
    The header for the CDN.
    hostName string
    The host name that is associated with the CDN domain mapping.
    httpPort number
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    httpsPort number
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    originAddress string
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    originType string
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path string
    The path for the CDN.
    performanceConfiguration string
    The performance configuration. Default is General web delivery.
    protocol string
    The protocol to use. Default value is HTTP.
    respectHeaders boolean
    If set to true, the TTL settings in the origin override CDN TTL settings.
    status string
    (String) The Status of the CDN domain mapping.
    vendorName string
    Only akamai is supported for now.
    bucket_name str
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cache_key_query_rule str
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdn_id str
    (String) The unique internal identifier of the CDN domain mapping.
    certificate_type str
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname str
    The CNAME for your CDN.
    file_extension str
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header str
    The header for the CDN.
    host_name str
    The host name that is associated with the CDN domain mapping.
    http_port float
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    https_port float
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    origin_address str
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    origin_type str
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path str
    The path for the CDN.
    performance_configuration str
    The performance configuration. Default is General web delivery.
    protocol str
    The protocol to use. Default value is HTTP.
    respect_headers bool
    If set to true, the TTL settings in the origin override CDN TTL settings.
    status str
    (String) The Status of the CDN domain mapping.
    vendor_name str
    Only akamai is supported for now.
    bucketName String
    If origin_type is set to OBJECT_STORAGE, you must provide the name of the bucket to use.
    cacheKeyQueryRule String
    The rule for caching keys. Valid values are include-all - (includes all query arguments), ignore-all - (ignores all query arguments), ignore: space separated query-args - (ignores specific query arguments). The default value is include-all.
    cdnId String
    (String) The unique internal identifier of the CDN domain mapping.
    certificateType String
    The type of certificate to use. This value is required if protocol is set to HTTPS. Valid values are SHARED_SAN_CERT or WILDCARD_CERT.
    cname String
    The CNAME for your CDN.
    fileExtension String
    If origin_type is set to OBJECT_STORAGE, you can specify the file extensions that you want to cache.
    header String
    The header for the CDN.
    hostName String
    The host name that is associated with the CDN domain mapping.
    httpPort Number
    The port to be opened up. Default value is 80. This option can be set only if you use HTTP or HTTPS as the protocol.
    httpsPort Number
    The HTTPS port. Default value is 0. This option can be set only if you use HTTP or HTTPS as the protocol.
    originAddress String
    The IP address or hostname for the domain mapping. If origin_type=HOST_SERVER provide the hostname or IP address. If origin_type=OBJECT_STORAGE provide your COS endpoints.
    originType String
    The type of storage to use. Valid values are HOST_SERVER or OBJECT_STORAGE.
    path String
    The path for the CDN.
    performanceConfiguration String
    The performance configuration. Default is General web delivery.
    protocol String
    The protocol to use. Default value is HTTP.
    respectHeaders Boolean
    If set to true, the TTL settings in the origin override CDN TTL settings.
    status String
    (String) The Status of the CDN domain mapping.
    vendorName String
    Only akamai is supported for now.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud