Skip to content

DomainsProps

Properties for defining a Domains.

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

Initializer

import com.aliyun.ros.cdk.cdn.datasource.DomainsProps;
DomainsProps.builder()
    .domainName(java.lang.String)
    .domainName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
domainName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property domainName: The accelerated domain name.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

domainNameRequired

public java.lang.Object getDomainName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property domainName: The accelerated domain name.

You can specify only one domain name.


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.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.