alicloud_scdn_domain

Provides a SCDN Domain resource.

For information about SCDN Domain and how to use it, see What is Domain.

Example Usage

Basic Usage

resource "alicloud_scdn_domain" "example" {
  domain_name = "my-Domain"
  sources {
    content  = "xxx.aliyuncs.com"
    enabled  = "online"
    port     = 80
    priority = "20"
    type     = "oss"
  }
}

Argument Reference

The following arguments are supported:

Block sources

The sources supports the following:

Block function_args

The function_args supports the following:

Block cert_infos

The cert_infos supports the following:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

SCDN Domain can be imported using the id, e.g.

$ terraform import alicloud_scdn_domain.example <domain_name>