Skip to content

DomainsProps

Properties for defining a Domains.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-cdn'
const domainsProps: datasource.DomainsProps = { ... }

Properties

Name Type Description
domainName string | @alicloud/ros-cdk-core.IResolvable Property domainName: The accelerated domain name.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

domainNameRequired

public readonly domainName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property domainName: The accelerated domain name.

You can specify only one domain name.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.