DomainConfig

class DomainConfig : KotlinCustomResource

Provides a SCDN Accelerated Domain resource. For information about domain config and how to use it, see Batch set config

NOTE: Available in v1.131.0+. NOTE: Alibaba Cloud SCDN has stopped new customer purchases from January 26, 2023, and you can choose to buy Alibaba Cloud DCDN products with more comprehensive acceleration and protection capabilities. If you are already a SCDN customer, you can submit a work order at any time to apply for a smooth migration to Alibaba Cloud DCDN products. In the future, we will provide better acceleration and security protection services in Alibaba Cloud DCDN, thank you for your understanding and cooperation. DEPRECATED: This resource has been deprecated from version 1.219.0.

Example Usage

Basic Usage

resources:
# Create a new Domain config.
domain:
type: alicloud:scdn:Domain
properties:
domainName: mydomain.alicloud-provider.cn
cdnType: web
scope: overseas
sources:
- content: 1.1.1.1
type: ipaddr
priority: '20'
port: 80
config:
type: alicloud:scdn:DomainConfig
properties:
domainName: ${domain.domainName}
functionName: ip_allow_list_set
functionArgs:
- argName: ip_list
argValue: 110.110.110.110

Import

SCDN domain config can be imported using the id, e.g.

$ pulumi import alicloud:scdn/domainConfig:DomainConfig example <domain_name>:<function_name>:<config_id>

Properties

Link copied to clipboard
val configId: Output<String>

The SCDN domain config id.

Link copied to clipboard
val domainName: Output<String>

Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

Link copied to clipboard

The args of the domain config.

Link copied to clipboard
val functionName: Output<String>

The name of the domain config.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of this resource.

Link copied to clipboard
val urn: Output<String>