Skip to content

IRecord

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: Record, IRecord

Represents a Record.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrAuthConf java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AuthConf: The origin authentication information of the CNAME record.
attrBizName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute BizName: The business scenario of the record for acceleration.
attrComment java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Comment: The comment of the record.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The time when the record was created.
attrData java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Data: The DNS record information.
attrHostPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute HostPolicy: The origin host policy.
attrModifyTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ModifyTime: The time when the record was updated.
attrProxied java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Proxied: Specifies whether to proxy the record.
attrRecordCname java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RecordCname: The CNAME.
attrRecordId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RecordId: Record Id.
attrRecordName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RecordName: The record name.
attrRecordType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RecordType: The type of the DNS record, such as A/AAAA, CNAME, and TXT.
attrSiteId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SiteId: The website ID.
attrSiteName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SiteName: The website name.
attrSourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SourceType: The origin type for the CNAME record.
attrTtl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Ttl: The TTL of the record.
props RecordProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrAuthConfRequired

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

Attribute AuthConf: The origin authentication information of the CNAME record.


attrBizNameRequired

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

Attribute BizName: The business scenario of the record for acceleration.

Leave the parameter empty if your record is not proxied.


attrCommentRequired

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

Attribute Comment: The comment of the record.

The maximum length is 100 characters.


attrCreateTimeRequired

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

Attribute CreateTime: The time when the record was created.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


attrDataRequired

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

Attribute Data: The DNS record information.

The format of this field varies based on the record type. For more information, see [References]https://www.alibabacloud.com/help/doc-detail/2708761.html?spm=openapi-amp.newDocPublishment.0.0.6a0f281feoeVWr.


attrHostPolicyRequired

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

Attribute HostPolicy: The origin host policy.

This policy takes effect when the record type is CNAME.


attrModifyTimeRequired

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

Attribute ModifyTime: The time when the record was updated.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


attrProxiedRequired

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

Attribute Proxied: Specifies whether to proxy the record.

Only CNAME and A/AAAA records can be proxied.


attrRecordCnameRequired

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

Attribute RecordCname: The CNAME.

If you use CNAME setup when you add your website to ESA, the value is the CNAME that you configured then.


attrRecordIdRequired

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

Attribute RecordId: Record Id.


attrRecordNameRequired

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

Attribute RecordName: The record name.

This parameter specifies a filter condition for the query.


attrRecordTypeRequired

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

Attribute RecordType: The type of the DNS record, such as A/AAAA, CNAME, and TXT.


attrSiteIdRequired

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

Attribute SiteId: The website ID.


attrSiteNameRequired

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

Attribute SiteName: The website name.


attrSourceTypeRequired

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

Attribute SourceType: The origin type for the CNAME record.

This parameter is required when you add a CNAME record.


attrTtlRequired

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

Attribute Ttl: The TTL of the record.

Unit: seconds. If the value is 1, the TTL of the record is determined by the system.


propsRequired

public RecordProps getProps();