IRecord
-
Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource
Represents a Record.
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node for this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
AttrAuthConf | interface{} | Attribute AuthConf: The origin authentication information of the CNAME record. |
AttrBizName | interface{} | Attribute BizName: The business scenario of the record for acceleration. |
AttrComment | interface{} | Attribute Comment: The comment of the record. |
AttrCreateTime | interface{} | Attribute CreateTime: The time when the record was created. |
AttrData | interface{} | Attribute Data: The DNS record information. |
AttrHostPolicy | interface{} | Attribute HostPolicy: The origin host policy. |
AttrModifyTime | interface{} | Attribute ModifyTime: The time when the record was updated. |
AttrProxied | interface{} | Attribute Proxied: Specifies whether to proxy the record. |
AttrRecordCname | interface{} | Attribute RecordCname: The CNAME. |
AttrRecordId | interface{} | Attribute RecordId: Record Id. |
AttrRecordName | interface{} | Attribute RecordName: The record name. |
AttrRecordType | interface{} | Attribute RecordType: The type of the DNS record, such as A/AAAA, CNAME, and TXT. |
AttrSiteId | interface{} | Attribute SiteId: The website ID. |
AttrSiteName | interface{} | Attribute SiteName: The website name. |
AttrSourceType | interface{} | Attribute SourceType: The origin type for the CNAME record. |
AttrTtl | interface{} | Attribute Ttl: The TTL of the record. |
Props | RecordProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node for this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
AttrAuthConfRequired
func AttrAuthConf() interface{}
- Type: interface{}
Attribute AuthConf: The origin authentication information of the CNAME record.
AttrBizNameRequired
func AttrBizName() interface{}
- Type: interface{}
Attribute BizName: The business scenario of the record for acceleration.
Leave the parameter empty if your record is not proxied.
AttrCommentRequired
func AttrComment() interface{}
- Type: interface{}
Attribute Comment: The comment of the record.
The maximum length is 100 characters.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
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
func AttrData() interface{}
- Type: interface{}
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
func AttrHostPolicy() interface{}
- Type: interface{}
Attribute HostPolicy: The origin host policy.
This policy takes effect when the record type is CNAME.
AttrModifyTimeRequired
func AttrModifyTime() interface{}
- Type: interface{}
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
func AttrProxied() interface{}
- Type: interface{}
Attribute Proxied: Specifies whether to proxy the record.
Only CNAME and A/AAAA records can be proxied.
AttrRecordCnameRequired
func AttrRecordCname() interface{}
- Type: interface{}
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
func AttrRecordId() interface{}
- Type: interface{}
Attribute RecordId: Record Id.
AttrRecordNameRequired
func AttrRecordName() interface{}
- Type: interface{}
Attribute RecordName: The record name.
This parameter specifies a filter condition for the query.
AttrRecordTypeRequired
func AttrRecordType() interface{}
- Type: interface{}
Attribute RecordType: The type of the DNS record, such as A/AAAA, CNAME, and TXT.
AttrSiteIdRequired
func AttrSiteId() interface{}
- Type: interface{}
Attribute SiteId: The website ID.
AttrSiteNameRequired
func AttrSiteName() interface{}
- Type: interface{}
Attribute SiteName: The website name.
AttrSourceTypeRequired
func AttrSourceType() interface{}
- Type: interface{}
Attribute SourceType: The origin type for the CNAME record.
This parameter is required when you add a CNAME record.
AttrTtlRequired
func AttrTtl() interface{}
- Type: interface{}
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
func Props() RecordProps
- Type: RecordProps