O DATASOURCE::DirectMail::Domain consulta detalhes de nomes de domínio no DirectMail.
Sintaxe
{
"Type": "DATASOURCE::DirectMail::Domain",
"Properties": {
"DomainId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
DomainId |
String |
Sim |
Sim |
ID do nome de domínio. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da fonte de dados ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
SpfRecord: registro Sender Policy Framework (SPF).
SpfAuthStatus: status de verificação do registro SPF.
CnameAuthStatus: status de verificação do registro CNAME.
DomainName: nome de domínio.
DnsMx: valor do registro Mail Exchanger (MX).
CnameRecord: parte personalizada do nome de host CNAME.
CreateTime: hora de criação.
DnsTxt: valor do registro TXT.
CnameConfirmStatus: indica se o nome de host CNAME foi alterado.
IcpStatus: status do registro ICP.
MxRecord: registro MX.
DnsSpf: valor do registro SPF.
DefaultDomain: nome de domínio padrão.
DomainType: tipo do nome de domínio.
DomainId: ID do nome de domínio.
MxAuthStatus: status de verificação do registro MX.
TlDomainName: nome de domínio principal.
TracefRecord: registro CNAME fornecido pelo console do Direct Mail.
Exemplos
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"
]
}
}
}
}