Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::ESA::Record

Última atualização: Jun 27, 2026

Cria um registro DNS para um site do Edge Security Acceleration (ESA).

Sintaxe

{
  "Type": "ALIYUN::ESA::Record",
  "Properties": {
    "Data": Map,
    "RecordName": String,
    "RecordType": String,
    "SiteId": Integer,
    "AuthConf": Map,
    "BizName": String,
    "Comment": String,
    "HostPolicy": String,
    "Proxied": Boolean,
    "SourceType": String,
    "Ttl": Integer
  }
}

Propriedades

Nome da propriedade

Tipo

Obrigatório

Atualização permitida

Descrição

Restrições

Data

Map

Sim

Sim

Informações DNS do registro.

O conteúdo deste campo varia conforme o tipo de registro. Para mais informações, consulte Propriedades de Data.

RecordName

String

Sim

Não

Nome do registro.

Nenhuma

RecordType

String

Sim

Não

Tipo DNS do registro.

Valores válidos:

  • A/AAAA

  • CNAME

  • NS

  • MX

  • TXT

  • CAA

  • SRV

  • URI

  • CAA

  • CERT

  • SMIMEA

  • SSHFP

  • TLSA

SiteId

Integer

Sim

Não

ID do site.

Nenhuma

AuthConf

Map

Não

Sim

Informações de autenticação de origem para o registro CNAME.

Para mais informações, consulte Propriedades de AuthConf.

BizName

String

Não

Sim

Cenário de negócios do registro DNS.

Obrigatório quando Proxied estiver definido como true. Valores válidos:

  • image_video: Imagens e vídeos.

  • api: API.

  • web: Páginas da web.

Comment

String

Não

Sim

Comentários do registro.

Comprimento máximo: 100 caracteres.

HostPolicy

String

Não

Sim

Política de HOST para busca na origem.

Aplica-se a registros CNAME. Especifica a política do cabeçalho HOST durante a busca na origem. Valores válidos:

  • follow_hostname: Segue o HOST da solicitação.

  • follow_origin_domain: Segue o nome de domínio de origem.

Proxied

Boolean

Não

Sim

Indica se a aceleração por proxy está ativada para o registro.

Apenas registros CNAME ou A/AAAA podem ter aceleração por proxy ativada. Valores válidos:

  • true: Ativa o proxy.

  • false: Desativa a aceleração por proxy.

SourceType

String

Não

Sim

Tipo de origem do registro CNAME.

Parâmetro obrigatório ao adicionar um registro CNAME. Valores válidos:

  • OSS: Origem OSS.

  • S3: Origem S3.

  • LB: Origem Server Load Balancer.

  • OP: Pool de endereços de origem.

  • Domain: Origem de nome de domínio comum.

Valor padrão: Domain (origem de nome de domínio comum).

Ttl

Integer

Não

Sim

TTL do registro.

Unidade: segundos. O valor 1 indica TTL automático.

Sintaxe de Data

"Data": {
  "Fingerprint": String,
  "Usage": Integer,
  "Priority": Integer,
  "Port": Integer,
  "Algorithm": Integer,
  "Flag": Integer,
  "Weight": Integer,
  "MatchingType": Integer,
  "Type": Integer,
  "KeyTag": Integer,
  "Value": String,
  "Tag": String,
  "Certificate": String,
  "Selector": Integer
}

Propriedades de Data

Nome da propriedade

Tipo

Obrigatório

Atualização permitida

Descrição

Restrições

Algorithm

Integer

Não

Sim

Algoritmo de criptografia do registro.

Varia de 0 a 255. Campo obrigatório ao adicionar um registro CERT ou SSHFP.

Certificate

String

Não

Sim

Informações do certificado de chave pública do registro.

Parâmetro obrigatório ao adicionar um registro CERT, SMIMEA ou TLSA.

Fingerprint

String

Não

Sim

Impressão digital da chave pública do registro.

Parâmetro obrigatório ao adicionar um registro SSHFP.

Flag

Integer

Não

Sim

Sinalizador do registro.

Em registros CAA, indica a prioridade e o método de processamento. Faixa de valores: 0 a 255. Obrigatório ao adicionar um registro CAA.

KeyTag

Integer

Não

Sim

Identificador da chave pública do registro.

Varia de 0 a 65535. Parâmetro obrigatório ao adicionar um registro CERT.

MatchingType

Integer

Não

Sim

Política de algoritmo usada para corresponder ou autenticar o certificado.

Varia de 0 a 255. Parâmetro obrigatório ao adicionar um registro SMIMEA ou TLSA.

Priority

Integer

Não

Sim

Prioridade do registro.

Varia de 0 a 65535. Um valor menor indica maior prioridade. Parâmetro obrigatório ao adicionar um registro MX, SRV ou URI.

Port

Integer

Não

Sim

Porta do registro.

Varia de 0 a 65535. Parâmetro obrigatório ao adicionar um registro SRV.

Selector

Integer

Não

Sim

Tipo de certificado ou chave pública usado pelo registro.

Varia de 0 a 255. Parâmetro obrigatório ao adicionar um registro SMIMEA ou TLSA.

Type

Integer

Não

Sim

Tipo de certificado ou chave pública do registro.

Parâmetro obrigatório ao adicionar um registro CERT ou SSHFP.

Tag

String

Não

Sim

Tag do registro.

Em registros CAA, indica o tipo e a finalidade do registro. Obrigatório ao adicionar um registro CAA. Valores válidos:

  • issue: Autoriza uma autoridade certificadora (CA) específica a emitir um certificado para o nome de domínio. Geralmente seguido pelo nome de domínio da CA.

  • issuewild: Autoriza uma CA específica a emitir um certificado curinga (por exemplo, *.example.com) para o nome de domínio.

  • iodef: Especifica uma URI para receber relatórios sobre violações de registros CAA.

Usage

Integer

Não

Sim

Identificador de uso do registro.

Varia de 0 a 255. Parâmetro obrigatório ao adicionar um registro SMIMEA ou TLSA.

Value

String

Não

Sim

Valor do registro ou parte de seu conteúdo.

Parâmetro obrigatório ao adicionar um registro A/AAAA, CNAME, NS, MX, TXT, CAA, SRV ou URI. O significado varia conforme o tipo de registro:

  • A/AAAA: Endereço IP de destino do registro. Separe vários endereços IP com vírgulas (,). Pelo menos um endereço IPv4 é obrigatório.

  • CNAME: Nome de domínio de destino.

  • NS: Servidor de nomes do domínio.

  • MX: Nome de domínio válido do servidor de e-mail de destino.

  • TXT: String de texto válida.

  • CAA: Nome de domínio válido da autoridade certificadora.

  • SRV: Nome de domínio válido do host de destino.

  • URI: String URI válida.

Weight

Integer

Não

Sim

Peso do registro.

Varia de 0 a 65535. Parâmetro obrigatório ao adicionar um registro SRV ou URI.

Sintaxe de AuthConf

"AuthConf": {
  "SecretKey": String,
  "Version": String,
  "Region": String,
  "AccessKey": String,
  "AuthType": String
}

Propriedades de AuthConf

Nome da propriedade

Tipo

Obrigatório

Atualização permitida

Descrição

Restrições

AccessKey

String

Não

Sim

AccessKey da conta proprietária da origem.

Obrigatório quando o tipo de origem é OSS e a autenticação é leitura privada entre contas, ou quando o tipo de origem é S3 e a autenticação é leitura privada.

AuthType

String

Não

Sim

Tipo de autenticação da origem.

Varia conforme o tipo de origem (SourceType). Obrigatório quando o tipo de origem é OSS ou S3. Valores válidos:

  • public: Leitura pública. Selecione este valor quando o tipo de origem for OSS ou S3 e a origem permitir leitura pública.

  • private: Leitura privada. Selecione este valor quando o tipo de origem for S3 e a origem exigir leitura privada.

  • private_same_account: Leitura privada na mesma conta. Selecione este valor quando o tipo de origem for OSS, a origem pertencer à mesma conta Alibaba Cloud e exigir leitura privada.

  • private_cross_account: Leitura privada entre contas. Selecione este valor quando o tipo de origem for OSS, a origem não pertencer à mesma conta Alibaba Cloud e exigir leitura privada.

Region

String

Não

Sim

Região onde a origem está localizada.

Obrigatório quando o tipo de origem é S3. Obtenha a região da origem no site oficial do S3.

SecretKey

String

Não

Sim

SecretKey da conta proprietária da origem.

Obrigatório quando o tipo de origem é OSS e a autenticação é leitura privada entre contas, ou quando o tipo de origem é S3 e a autenticação é leitura privada.

Version

String

Não

Sim

Versão do algoritmo de assinatura.

Obrigatório quando o tipo de origem é S3 e a autenticação é leitura privada. Versões suportadas:

  • v2

  • v4

Valor padrão: v4.

Valores de retorno

Fn::GetAtt

  • RecordName: Nome do registro.

  • Comment: Comentários do registro.

  • ModifyTime: Hora da última atualização do registro. Exibida em UTC, no formato ISO 8601 yyyy-MM-ddTHH:mm:ssZ.

  • SiteId: ID do site.

  • SiteName: Nome do site.

  • SourceType: Tipo de origem do registro CNAME.

  • CreateTime: Hora de criação do registro.

  • Data: Dados DNS do registro. O conteúdo varia conforme o tipo de registro.

  • Ttl: TTL do registro.

  • Proxied: Indica se a aceleração por proxy está ativada para o registro.

  • RecordType: Tipo DNS do registro.

  • BizName: Cenário de negócios para aceleração do registro.

  • HostPolicy: Política de HOST para retorno à origem.

  • RecordId: ID do registro.

  • AuthConf: Informações de autenticação de origem para o registro CNAME.

  • RecordCname: CNAME do registro.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RecordName:
    Type: String
    Description:
      en: The record name. This parameter specifies a filter condition for the query.
    Required: true
  Proxied:
    Type: Boolean
    Description:
      en: |-
        Specifies whether to proxy the record. Only CNAME and A/AAAA records can be proxied. Valid values:
        true
        false.
    Required: false
  SiteId:
    Type: Number
    Description:
      en: The website ID.
    Required: true
  RecordType:
    Type: String
    Description:
      en: The type of the DNS record, such as A/AAAA, CNAME, and TXT.
    AllowedValues:
      - A/AAAA
      - CNAME
      - NS
      - MX
      - TXT
      - CAA
      - SRV
      - URI
      - CAA
      - CERT
      - SMIMEA
      - SSHFP
      - TLSA
    Required: true
  Data:
    AssociationPropertyMetadata:
      Parameters:
        Fingerprint:
          Type: String
          Description:
            en: The public key fingerprint of the record. This parameter is required when you add a SSHFP record.
          Required: false
        Usage:
          Type: Number
          Description:
            en: The usage identifier of the record, specified within the range of 0 to 255. This parameter is required when you add SMIMEA or TLSA records.
          Required: false
          MinValue: 0
          MaxValue: 255
        Priority:
          Type: Number
          Description:
            en: The priority of the record, specified within the range of 0 to 65,535. A smaller value indicates a higher priority. This parameter is required when you add MX, SRV, and URI records.
          Required: false
          MinValue: 0
          MaxValue: 65535
        Port:
          Type: Number
          Description:
            en: The port of the record, specified within the range of 0 to 65,535. This parameter is required when you add an SRV record.
          Required: false
          MinValue: 0
          MaxValue: 65535
        Algorithm:
          Type: Number
          Description:
            en: The encryption algorithm used for the record, specified within the range from 0 to 255. This parameter is required when you add CERT or SSHFP records.
          Required: false
          MinValue: 0
          MaxValue: 255
        Flag:
          Type: Number
          Description:
            en: The flag bit of the record. The Flag for a CAA record indicates its priority and how it is processed, specified within the range of 0 to 255. This parameter is required when you add a CAA record.
          Required: false
          MinValue: 0
          MaxValue: 255
        Weight:
          Type: Number
          Description:
            en: The weight of the record, specified within the range of 0 to 65,535. This parameter is required when you add SRV or URI records.
          Required: false
          MinValue: 0
          MaxValue: 65535
        MatchingType:
          Type: Number
          Description:
            en: The algorithm policy used to match or validate the certificate, specified within the range 0 to 255. This parameter is required when you add SMIMEA or TLSA records.
          Required: false
          MinValue: 0
          MaxValue: 255
        Type:
          Type: Number
          Description:
            en: The certificate type of the record (in CERT records), or the public key type (in SSHFP records). This parameter is required when you add CERT or SSHFP records.
          Required: false
        KeyTag:
          Type: Number
          Description:
            en: The public key identification for the record, specified within the range of 0 to 65,535. This parameter is required when you add a CAA record.
          Required: false
          MinValue: 0
          MaxValue: 65535
        Value:
          Type: String
          Description:
            en: |-
              Record value or part of the record content. This parameter is required when you add A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI records. It has different meanings based on types of records:
              A/AAAA: the IP address(es). Separate IP addresses with commas (,). You must have at least one IPv4 address.
              CNAME: the target domain name.
              NS: the name servers for the domain name.
              MX: a valid domain name of the target mail server.
              TXT: a valid text string.
              CAA: a valid domain name of the certificate authority.
              SRV: a valid domain name of the target host.
              URI: a valid URI string.
          AllowedValues:
            - A/AAAA
            - CNAME
            - NS
            - MX
            - TXT
            - CAA
            - SRV
            - URI
          Required: false
        Tag:
          Type: String
          Description:
            en: |-
              The label of the record. The Tag of a CAA record indicate its specific type and usage. This parameter is required when you add a CAA record. Valid values:
              issue: indicates that a CA is authorized to issue a certificate for the domain name. This is usually followed by the domain name of the CA.
              issuewild: indicates that a CA is authorized to issue a wildcard certificate (such as *.example.com) for the domain name.
              iodef: specifies a URI to receive reports about CAA record violations.
          AllowedValues:
            - issue
            - issuewild
            - iodef
          Required: false
        Certificate:
          Type: String
          Description:
            en: The public key of the certificate. This parameter is required when you add CERT, SMIMEA, or TLSA records.
          Required: false
        Selector:
          Type: Number
          Description:
            en: The type of certificate or public key, specified within the range of 0 to 255. This parameter is required when you add SMIMEA or TLSA records.
          Required: false
          MinValue: 0
          MaxValue: 255
    Type: Json
    Description:
      en: 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.
    Required: true
  BizName:
    Type: String
    Description:
      en: |-
        The business scenario of the record for acceleration. Leave the parameter empty if your record is not proxied. Valid values:
        image_video: video and image.
        api: API.
        web: web page.
    AllowedValues:
      - image_video
      - api
      - web
    Required: false
  Ttl:
    Type: Number
    Description:
      en: 'The TTL of the record. Unit: seconds. If the value is 1, the TTL of the record is determined by the system.'
    Required: false
Resources:
  ExtensionResource:
    Type: ALIYUN::ESA::Record
    Properties:
      RecordName:
        Ref: RecordName
      Proxied:
        Ref: Proxied
      SiteId:
        Ref: SiteId
      RecordType:
        Ref: RecordType
      Data:
        Ref: Data
      BizName:
        Ref: BizName
      Ttl:
        Ref: Ttl
Outputs:
  RecordName:
    Description: The record name. This parameter specifies a filter condition for the query.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - RecordName
  Comment:
    Description: The comment of the record. The maximum length is 100 characters.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Comment
  ModifyTime:
    Description: 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.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ModifyTime
  SiteId:
    Description: The website ID.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - SiteId
  SiteName:
    Description: The website name.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - SiteName
  SourceType:
    Description: The origin type for the CNAME record. This parameter is required when you add a CNAME record.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - SourceType
  CreateTime:
    Description: 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.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CreateTime
  Data:
    Description: 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.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Data
  Ttl:
    Description: 'The TTL of the record. Unit: seconds. If the value is 1, the TTL of the record is determined by the system.'
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Ttl
  Proxied:
    Description: Specifies whether to proxy the record. Only CNAME and A/AAAA records can be proxied.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Proxied
  RecordType:
    Description: The type of the DNS record, such as A/AAAA, CNAME, and TXT.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - RecordType
  BizName:
    Description: The business scenario of the record for acceleration. Leave the parameter empty if your record is not proxied.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - BizName
  HostPolicy:
    Description: The origin host policy. This policy takes effect when the record type is CNAME.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - HostPolicy
  RecordId:
    Description: Record Id.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - RecordId
  AuthConf:
    Description: The origin authentication information of the CNAME record.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - AuthConf
  RecordCname:
    Description: The CNAME. If you use CNAME setup when you add your website to ESA, the value is the CNAME that you configured then.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - RecordCname
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RecordName": {
      "Type": "String",
      "Description": {
        "en": "The record name. This parameter specifies a filter condition for the query."
      },
      "Required": true
    },
    "Proxied": {
      "Type": "Boolean",
      "Description": {
        "en": "Specifies whether to proxy the record. Only CNAME and A/AAAA records can be proxied. Valid values:\ntrue\nfalse."
      },
      "Required": false
    },
    "SiteId": {
      "Type": "Number",
      "Description": {
        "en": "The website ID."
      },
      "Required": true
    },
    "RecordType": {
      "Type": "String",
      "Description": {
        "en": "The type of the DNS record, such as A/AAAA, CNAME, and TXT."
      },
      "AllowedValues": [
        "A/AAAA",
        "CNAME",
        "NS",
        "MX",
        "TXT",
        "CAA",
        "SRV",
        "URI",
        "CAA",
        "CERT",
        "SMIMEA",
        "SSHFP",
        "TLSA"
      ],
      "Required": true
    },
    "Data": {
      "AssociationPropertyMetadata": {
        "Parameters": {
          "Fingerprint": {
            "Type": "String",
            "Description": {
              "en": "The public key fingerprint of the record. This parameter is required when you add a SSHFP record."
            },
            "Required": false
          },
          "Usage": {
            "Type": "Number",
            "Description": {
              "en": "The usage identifier of the record, specified within the range of 0 to 255. This parameter is required when you add SMIMEA or TLSA records."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 255
          },
          "Priority": {
            "Type": "Number",
            "Description": {
              "en": "The priority of the record, specified within the range of 0 to 65,535. A smaller value indicates a higher priority. This parameter is required when you add MX, SRV, and URI records."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 65535
          },
          "Port": {
            "Type": "Number",
            "Description": {
              "en": "The port of the record, specified within the range of 0 to 65,535. This parameter is required when you add an SRV record."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 65535
          },
          "Algorithm": {
            "Type": "Number",
            "Description": {
              "en": "The encryption algorithm used for the record, specified within the range from 0 to 255. This parameter is required when you add CERT or SSHFP records."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 255
          },
          "Flag": {
            "Type": "Number",
            "Description": {
              "en": "The flag bit of the record. The Flag for a CAA record indicates its priority and how it is processed, specified within the range of 0 to 255. This parameter is required when you add a CAA record."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 255
          },
          "Weight": {
            "Type": "Number",
            "Description": {
              "en": "The weight of the record, specified within the range of 0 to 65,535. This parameter is required when you add SRV or URI records."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 65535
          },
          "MatchingType": {
            "Type": "Number",
            "Description": {
              "en": "The algorithm policy used to match or validate the certificate, specified within the range 0 to 255. This parameter is required when you add SMIMEA or TLSA records."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 255
          },
          "Type": {
            "Type": "Number",
            "Description": {
              "en": "The certificate type of the record (in CERT records), or the public key type (in SSHFP records). This parameter is required when you add CERT or SSHFP records."
            },
            "Required": false
          },
          "KeyTag": {
            "Type": "Number",
            "Description": {
              "en": "The public key identification for the record, specified within the range of 0 to 65,535. This parameter is required when you add a CAA record."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 65535
          },
          "Value": {
            "Type": "String",
            "Description": {
              "en": "Record value or part of the record content. This parameter is required when you add A/AAAA, CNAME, NS, MX, TXT, CAA, SRV, and URI records. It has different meanings based on types of records:\nA/AAAA: the IP address(es). Separate IP addresses with commas (,). You must have at least one IPv4 address.\nCNAME: the target domain name.\nNS: the name servers for the domain name.\nMX: a valid domain name of the target mail server.\nTXT: a valid text string.\nCAA: a valid domain name of the certificate authority.\nSRV: a valid domain name of the target host.\nURI: a valid URI string."
            },
            "AllowedValues": [
              "A/AAAA",
              "CNAME",
              "NS",
              "MX",
              "TXT",
              "CAA",
              "SRV",
              "URI"
            ],
            "Required": false
          },
          "Tag": {
            "Type": "String",
            "Description": {
              "en": "The label of the record. The Tag of a CAA record indicate its specific type and usage. This parameter is required when you add a CAA record. Valid values:\nissue: indicates that a CA is authorized to issue a certificate for the domain name. This is usually followed by the domain name of the CA.\nissuewild: indicates that a CA is authorized to issue a wildcard certificate (such as *.example.com) for the domain name.\niodef: specifies a URI to receive reports about CAA record violations."
            },
            "AllowedValues": [
              "issue",
              "issuewild",
              "iodef"
            ],
            "Required": false
          },
          "Certificate": {
            "Type": "String",
            "Description": {
              "en": "The public key of the certificate. This parameter is required when you add CERT, SMIMEA, or TLSA records."
            },
            "Required": false
          },
          "Selector": {
            "Type": "Number",
            "Description": {
              "en": "The type of certificate or public key, specified within the range of 0 to 255. This parameter is required when you add SMIMEA or TLSA records."
            },
            "Required": false,
            "MinValue": 0,
            "MaxValue": 255
          }
        }
      },
      "Type": "Json",
      "Description": {
        "en": "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."
      },
      "Required": true
    },
    "BizName": {
      "Type": "String",
      "Description": {
        "en": "The business scenario of the record for acceleration. Leave the parameter empty if your record is not proxied. Valid values:\nimage_video: video and image.\napi: API.\nweb: web page."
      },
      "AllowedValues": [
        "image_video",
        "api",
        "web"
      ],
      "Required": false
    },
    "Ttl": {
      "Type": "Number",
      "Description": {
        "en": "The TTL of the record. Unit: seconds. If the value is 1, the TTL of the record is determined by the system."
      },
      "Required": false
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::ESA::Record",
      "Properties": {
        "RecordName": {
          "Ref": "RecordName"
        },
        "Proxied": {
          "Ref": "Proxied"
        },
        "SiteId": {
          "Ref": "SiteId"
        },
        "RecordType": {
          "Ref": "RecordType"
        },
        "Data": {
          "Ref": "Data"
        },
        "BizName": {
          "Ref": "BizName"
        },
        "Ttl": {
          "Ref": "Ttl"
        }
      }
    }
  },
  "Outputs": {
    "RecordName": {
      "Description": "The record name. This parameter specifies a filter condition for the query.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "RecordName"
        ]
      }
    },
    "Comment": {
      "Description": "The comment of the record. The maximum length is 100 characters.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Comment"
        ]
      }
    },
    "ModifyTime": {
      "Description": "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.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ModifyTime"
        ]
      }
    },
    "SiteId": {
      "Description": "The website ID.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "SiteId"
        ]
      }
    },
    "SiteName": {
      "Description": "The website name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "SiteName"
        ]
      }
    },
    "SourceType": {
      "Description": "The origin type for the CNAME record. This parameter is required when you add a CNAME record.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "SourceType"
        ]
      }
    },
    "CreateTime": {
      "Description": "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.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreateTime"
        ]
      }
    },
    "Data": {
      "Description": "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.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Data"
        ]
      }
    },
    "Ttl": {
      "Description": "The TTL of the record. Unit: seconds. If the value is 1, the TTL of the record is determined by the system.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Ttl"
        ]
      }
    },
    "Proxied": {
      "Description": "Specifies whether to proxy the record. Only CNAME and A/AAAA records can be proxied.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Proxied"
        ]
      }
    },
    "RecordType": {
      "Description": "The type of the DNS record, such as A/AAAA, CNAME, and TXT.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "RecordType"
        ]
      }
    },
    "BizName": {
      "Description": "The business scenario of the record for acceleration. Leave the parameter empty if your record is not proxied.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "BizName"
        ]
      }
    },
    "HostPolicy": {
      "Description": "The origin host policy. This policy takes effect when the record type is CNAME.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "HostPolicy"
        ]
      }
    },
    "RecordId": {
      "Description": "Record Id.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "RecordId"
        ]
      }
    },
    "AuthConf": {
      "Description": "The origin authentication information of the CNAME record.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "AuthConf"
        ]
      }
    },
    "RecordCname": {
      "Description": "The CNAME. If you use CNAME setup when you add your website to ESA, the value is the CNAME that you configured then.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "RecordCname"
        ]
      }
    }
  }
}