DATASOURCE::DirectMail::Domain

更新时间:2025-02-28 02:44

DATASOURCE::DirectMail::Domain类型用于查询单个域名详情。

语法

{
  "Type": "DATASOURCE::DirectMail::Domain",
  "Properties": {
    "DomainId": String,
    "RefreshOptions": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

属性名称

类型

必须

允许更新

描述

约束

DomainId

String

域名列表ID。

RefreshOptions

String

当资源栈更新时,数据源资源的刷新策略。

取值:

  • Never(默认值):更新堆栈时,从不刷新数据源资源。

  • Always:更新堆栈时,始终刷新数据源资源。

返回值

Fn::GetAtt

  • SpfRecord:spf 记录

  • SpfAuthStatus:spf 验证标志

  • CnameAuthStatus:Track验证。

  • DomainName:域名。

  • DnsMx:MX 记录值

  • CnameRecord:CNAME 记录

  • CreateTime:创建时间

  • DnsTxt:所有权记录

  • CnameConfirmStatus:cName 验证标志

  • IcpStatus:备案状态。

  • MxRecord:MX 记录

  • DnsSpf:spf 记录值

  • DefaultDomain:默认域名

  • DomainType:域类型

  • DomainId:域名 ID

  • MxAuthStatus:mx 验证标志

  • TlDomainName:主域名

  • TracefRecord:CNAME 记录

示例

YAML
JSON
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DomainId:
    Type: String
    Description:
      en: The ID of the domain name.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::DirectMail::Domain
    Properties:
      DomainId:
        Ref: DomainId
Outputs:
  SpfRecord:
    Description: Spf records provided by the Direct Mail console.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - SpfRecord
  SpfAuthStatus:
    Description: Indicates whether the SPF record is successfully verified.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - SpfAuthStatus
  CnameAuthStatus:
    Description: Whether the host record of CNAME has been changed.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CnameAuthStatus
  DomainName:
    Description: The domain name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DomainName
  DnsMx:
    Description: MX record value resolved through public DNS.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DnsMx
  CnameRecord:
    Description: Customized part of CNAME host record.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CnameRecord
  CreateTime:
    Description: The creation time of the resource.The time when the DNS record was created.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  DnsTxt:
    Description: TXT record value resolved through public DNS.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DnsTxt
  CnameConfirmStatus:
    Description: Whether the host record of CNAME has been changed.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CnameConfirmStatus
  IcpStatus:
    Description: The status of ICP filing.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - IcpStatus
  MxRecord:
    Description: MX records provided by the Direct Mail console.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - MxRecord
  DnsSpf:
    Description: SPF record value resolved through public DNS.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DnsSpf
  DefaultDomain:
    Description: Is it the default domain name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DefaultDomain
  DomainType:
    Description: TXT records provided by the Direct Mail console.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DomainType
  DomainId:
    Description: The ID of the domain name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DomainId
  MxAuthStatus:
    Description: Indicates whether the MX record is successfully verified.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - MxAuthStatus
  TlDomainName:
    Description: The primary domain name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - TlDomainName
  TracefRecord:
    Description: The CNAME verification record provided by the Direct Mail console.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - TracefRecord
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DomainId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the domain name."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::DirectMail::Domain",
      "Properties": {
        "DomainId": {
          "Ref": "DomainId"
        }
      }
    }
  },
  "Outputs": {
    "SpfRecord": {
      "Description": "Spf records provided by the Direct Mail console.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "SpfRecord"
        ]
      }
    },
    "SpfAuthStatus": {
      "Description": "Indicates whether the SPF record is successfully verified.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "SpfAuthStatus"
        ]
      }
    },
    "CnameAuthStatus": {
      "Description": "Whether the host record of CNAME has been changed.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CnameAuthStatus"
        ]
      }
    },
    "DomainName": {
      "Description": "The domain name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DomainName"
        ]
      }
    },
    "DnsMx": {
      "Description": "MX record value resolved through public DNS.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DnsMx"
        ]
      }
    },
    "CnameRecord": {
      "Description": "Customized part of CNAME host record.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CnameRecord"
        ]
      }
    },
    "CreateTime": {
      "Description": "The creation time of the resource.The time when the DNS record was created.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "DnsTxt": {
      "Description": "TXT record value resolved through public DNS.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DnsTxt"
        ]
      }
    },
    "CnameConfirmStatus": {
      "Description": "Whether the host record of CNAME has been changed.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CnameConfirmStatus"
        ]
      }
    },
    "IcpStatus": {
      "Description": "The status of ICP filing.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "IcpStatus"
        ]
      }
    },
    "MxRecord": {
      "Description": "MX records provided by the Direct Mail console.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MxRecord"
        ]
      }
    },
    "DnsSpf": {
      "Description": "SPF record value resolved through public DNS.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DnsSpf"
        ]
      }
    },
    "DefaultDomain": {
      "Description": "Is it the default domain name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DefaultDomain"
        ]
      }
    },
    "DomainType": {
      "Description": "TXT records provided by the Direct Mail console.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DomainType"
        ]
      }
    },
    "DomainId": {
      "Description": "The ID of the domain name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DomainId"
        ]
      }
    },
    "MxAuthStatus": {
      "Description": "Indicates whether the MX record is successfully verified.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MxAuthStatus"
        ]
      }
    },
    "TlDomainName": {
      "Description": "The primary domain name.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "TlDomainName"
        ]
      }
    },
    "TracefRecord": {
      "Description": "The CNAME verification record provided by the Direct Mail console.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "TracefRecord"
        ]
      }
    }
  }
}
                        
  • 本页导读 (1)
  • 语法
  • 属性
  • 返回值
  • 示例
文档反馈