DATASOURCE::DirectMail::Domains is used to query the information about domain names.
Syntax
{
"Type": "DATASOURCE::DirectMail::Domains",
"Properties": {
"RefreshOptions": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
RefreshOptions | String | No | Yes | The refresh policy for data source resources when the stack is updated. | Valid values:
|
Return values
Fn::GetAtt
Domains: details of the domain names.
DomainIds: the IDs of the domain names.
Property | Type | Description | Constraint |
DomainIds | List | The IDs of the domain names. | None. |
Domains | List | Details of the domain names. | None. |
Status | String | The status of the domain name. | Valid values:
|
CnameAuthStatus | String | The status of the verification that is performed by using the CNAME record. | None. |
DomainId | String | The ID of the domain name. | None. |
DomainName | String | The domain name. | None. |
MxAuthStatus | String | The status of the verification that is performed by using the mail exchanger (MX) record. | Valid values:
|
SpfAuthStatus | String | The status of the verification that is performed by using the Sender Policy Framework (SPF) record. | Valid values:
|
IcpStatus | String | The status of ICP filing. | Valid values:
|
CreateTime | String | The time when the domain name was created. | None. |
Examples
YAML
format
ROSTemplateFormatVersion: '2015-09-01'
Resources:
ExtensionDataSource:
Properties: {}
Type: DATASOURCE::DirectMail::Domains
Outputs:
DomainIds:
Description: The list of domain IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DomainIds
Domains:
Description: The list of domains.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Domains
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::DirectMail::Domains",
"Properties": {}
}
},
"Outputs": {
"Domains": {
"Description": "The list of domains.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Domains"
]
}
},
"DomainIds": {
"Description": "The list of domain IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DomainIds"
]
}
}
}
}