Queries information about DirectMail 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 CNAME record verification status. |
None. |
|
DomainId |
String |
The ID of the domain name. |
None. |
|
DomainName |
String |
The domain name. |
None. |
|
MxAuthStatus |
String |
The MX record verification status. |
Valid values:
|
|
SpfAuthStatus |
String |
The SPF record verification status. |
Valid values:
|
|
IcpStatus |
String |
The ICP filing status. |
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"
]
}
}
}
}