Queries the list of DirectMail IP filters.
Syntax
{
"Type": "DATASOURCE::DirectMail::Ipfilters",
"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
-
Ipfilters: Details of the IP filters.
-
IpfilterIds: The IDs of the IP filters.
|
Property |
Type |
Description |
Constraint |
|
IpfilterIds |
List |
The IDs of the IP filters. |
None. |
|
Ipfilters |
List |
Details of the IP filters. |
None. |
|
IpfilterId |
String |
The ID of the IP filter. |
None. |
|
IpAddress |
String |
The IP address, IP range, or CIDR block. |
None. |
|
CreateTime |
String |
The time when the IP filter was created. |
None. |
Examples
YAML format
ROSTemplateFormatVersion: '2015-09-01'
Resources:
ExtensionDataSource:
Properties: {}
Type: DATASOURCE::DirectMail::Ipfilters
Outputs:
IpfilterIds:
Description: The list of ip filter IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IpfilterIds
Ipfilters:
Description: The list of ip filters.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Ipfilters
JSON format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::DirectMail::Ipfilters",
"Properties": {}
}
},
"Outputs": {
"Ipfilters": {
"Description": "The list of ip filters.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Ipfilters"
]
}
},
"IpfilterIds": {
"Description": "The list of ip filter IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IpfilterIds"
]
}
}
}
}
该文章对您有帮助吗?