Skip to content

IRecord

  • Extends: ros_cdk_core.IResource

  • Implemented By: Record, IRecord

Represents a Record.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_auth_conf typing.Union[str, ros_cdk_core.IResolvable] Attribute AuthConf: The origin authentication information of the CNAME record.
attr_biz_name typing.Union[str, ros_cdk_core.IResolvable] Attribute BizName: The business scenario of the record for acceleration.
attr_comment typing.Union[str, ros_cdk_core.IResolvable] Attribute Comment: The comment of the record.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The time when the record was created.
attr_data typing.Union[str, ros_cdk_core.IResolvable] Attribute Data: The DNS record information.
attr_host_policy typing.Union[str, ros_cdk_core.IResolvable] Attribute HostPolicy: The origin host policy.
attr_modify_time typing.Union[str, ros_cdk_core.IResolvable] Attribute ModifyTime: The time when the record was updated.
attr_proxied typing.Union[str, ros_cdk_core.IResolvable] Attribute Proxied: Specifies whether to proxy the record.
attr_record_cname typing.Union[str, ros_cdk_core.IResolvable] Attribute RecordCname: The CNAME.
attr_record_id typing.Union[str, ros_cdk_core.IResolvable] Attribute RecordId: Record Id.
attr_record_name typing.Union[str, ros_cdk_core.IResolvable] Attribute RecordName: The record name.
attr_record_type typing.Union[str, ros_cdk_core.IResolvable] Attribute RecordType: The type of the DNS record, such as A/AAAA, CNAME, and TXT.
attr_site_id typing.Union[str, ros_cdk_core.IResolvable] Attribute SiteId: The website ID.
attr_site_name typing.Union[str, ros_cdk_core.IResolvable] Attribute SiteName: The website name.
attr_source_type typing.Union[str, ros_cdk_core.IResolvable] Attribute SourceType: The origin type for the CNAME record.
attr_ttl typing.Union[str, ros_cdk_core.IResolvable] Attribute Ttl: The TTL of the record.
props RecordProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_auth_confRequired

attr_auth_conf: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_biz_nameRequired

attr_biz_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

Leave the parameter empty if your record is not proxied.


attr_commentRequired

attr_comment: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Comment: The comment of the record.

The maximum length is 100 characters.


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


attr_dataRequired

attr_data: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


attr_host_policyRequired

attr_host_policy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute HostPolicy: The origin host policy.

This policy takes effect when the record type is CNAME.


attr_modify_timeRequired

attr_modify_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


attr_proxiedRequired

attr_proxied: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Proxied: Specifies whether to proxy the record.

Only CNAME and A/AAAA records can be proxied.


attr_record_cnameRequired

attr_record_cname: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


attr_record_idRequired

attr_record_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RecordId: Record Id.


attr_record_nameRequired

attr_record_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RecordName: The record name.

This parameter specifies a filter condition for the query.


attr_record_typeRequired

attr_record_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_site_idRequired

attr_site_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SiteId: The website ID.


attr_site_nameRequired

attr_site_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SiteName: The website name.


attr_source_typeRequired

attr_source_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SourceType: The origin type for the CNAME record.

This parameter is required when you add a CNAME record.


attr_ttlRequired

attr_ttl: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

props: RecordProps