全部产品
Search
文档中心

资源编排:ALIYUN::DirectMail::Domain

更新时间:Aug 12, 2024

ALIYUN::DirectMail::Domain类型用于创建邮件推送的域名。

语法

{
  "Type": "ALIYUN::DirectMail::Domain",
  "Properties": {
    "DomainName": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

DomainName

String

域名。

长度1-50,可以包含数字、大写字母、小写字母、.-

返回值

Fn::GetAtt

  • SpfRecord:邮件推送控制台提供的SPF记录值。

  • SpfAuthStatus:SPF验证标志。

  • CnameAuthStatus:CNAME验证标志。

  • DomainName:域名。

  • DnsMx:通过公网域名解析到的MX记录值。

  • CnameRecord:CNAME主机记录自定义部分。

  • CreateTime:创建时间。

  • DnsTxt:通过公网域名解析到的所有权记录值。

  • CnameConfirmStatus:是否改动了CNAME的主机记录。

  • IcpStatus:备案状态。

  • MxRecord:邮件推送控制台提供的MX记录值。

  • DnsSpf:通过公网域名解析到的SPF记录值。

  • DefaultDomain:是否为默认域名。

  • DomainId:域名ID。

  • DomainType:邮件推送控制台提供的所有权记录。

  • TlDomainName:主域名。

  • MxAuthStatus:MX验证标志。

  • TracefRecord:邮件推送控制台提供的CNAME记录值。

示例

  • YAML格式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
    Resources:
      ExtensionResource:
        Properties:
          DomainName: example.com
        Type: ALIYUN::DirectMail::Domain
    Outputs:
      CnameAuthStatus:
        Description: Cname auth status.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - CnameAuthStatus
      CnameConfirmStatus:
        Description: Cname confirm status.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - CnameConfirmStatus
      CnameRecord:
        Description: Cname record.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - CnameRecord
      CreateTime:
        Description: The creation time of the domain.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - CreateTime
      DefaultDomain:
        Description: Default domain.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - DefaultDomain
      DnsMx:
        Description: DNS MX.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - DnsMx
      DnsSpf:
        Description: DNS SPF.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - DnsSpf
      DnsTxt:
        Description: DNS txt.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - DnsTxt
      DomainId:
        Description: The ID of the domain.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - DomainId
      DomainName:
        Description: The name of the domain.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - DomainName
      DomainType:
        Description: The type of the domain.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - DomainType
      IcpStatus:
        Description: ICP status.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - IcpStatus
      MxAuthStatus:
        Description: MX auth status.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - MxAuthStatus
      MxRecord:
        Description: MX Record.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - MxRecord
      SpfAuthStatus:
        Description: SPF auth status.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - SpfAuthStatus
      SpfRecord:
        Description: SPF record.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - SpfRecord
      TlDomainName:
        Description: TL domain name.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - TlDomainName
      TracefRecord:
        Description: Tracef Record.
        Value:
          Fn::GetAtt:
          - ExtensionResource
          - TracefRecord
  • JSON格式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::DirectMail::Domain",
          "Properties": {
            "DomainName": "example.com"
          }
        }
      },
      "Outputs": {
        "SpfRecord": {
          "Description": "SPF record.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SpfRecord"
            ]
          }
        },
        "SpfAuthStatus": {
          "Description": "SPF auth status.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SpfAuthStatus"
            ]
          }
        },
        "CnameAuthStatus": {
          "Description": "Cname auth status.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CnameAuthStatus"
            ]
          }
        },
        "DomainName": {
          "Description": "The name of the domain.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DomainName"
            ]
          }
        },
        "DnsMx": {
          "Description": "DNS MX.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DnsMx"
            ]
          }
        },
        "CnameRecord": {
          "Description": "Cname record.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CnameRecord"
            ]
          }
        },
        "CreateTime": {
          "Description": "The creation time of the domain.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CreateTime"
            ]
          }
        },
        "DnsTxt": {
          "Description": "DNS txt.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DnsTxt"
            ]
          }
        },
        "CnameConfirmStatus": {
          "Description": "Cname confirm status.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CnameConfirmStatus"
            ]
          }
        },
        "IcpStatus": {
          "Description": "ICP status.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "IcpStatus"
            ]
          }
        },
        "MxRecord": {
          "Description": "MX Record.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "MxRecord"
            ]
          }
        },
        "DnsSpf": {
          "Description": "DNS SPF.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DnsSpf"
            ]
          }
        },
        "DefaultDomain": {
          "Description": "Default domain.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DefaultDomain"
            ]
          }
        },
        "DomainId": {
          "Description": "The ID of the domain.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DomainId"
            ]
          }
        },
        "DomainType": {
          "Description": "The type of the domain.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DomainType"
            ]
          }
        },
        "TlDomainName": {
          "Description": "TL domain name.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "TlDomainName"
            ]
          }
        },
        "MxAuthStatus": {
          "Description": "MX auth status.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "MxAuthStatus"
            ]
          }
        },
        "TracefRecord": {
          "Description": "Tracef Record.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "TracefRecord"
            ]
          }
        }
      }
    }