Skip to content

DomainsProps

Properties for defining a Domains.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cdn-domains

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcdn/datasource"
&datasource.DomainsProps {
    DomainName: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
DomainName interface{} Property domainName: The accelerated domain name.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

DomainNameRequired

DomainName interface{}
  • Type: interface{}

Property domainName: The accelerated domain name.

You can specify only one domain name.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.