DATASOURCE::DirectMail::Ipfilter は、IP フィルターに関する情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::DirectMail::Ipfilter",
"Properties": {
"IpfilterId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | 型 | 必須 | 編集可能 | 説明 | 制約 |
IpfilterId | String | はい | はい | IP フィルターの ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソースリソースのリフレッシュポリシー。 | 有効値:
|
戻り値
Fn::GetAtt
CreateTime: 作成タイムスタンプ。
IpAddress: IP アドレス、IP 範囲、または CIDR ブロック。
IpfilterId: IP フィルターの ID。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
IpfilterId:
Type: String
Description:
en: The ID of the resource.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::DirectMail::Ipfilter
Properties:
IpfilterId:
Ref: IpfilterId
Outputs:
CreateTime:
Description: The creation time of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
IpAddress:
Description: The IP address of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IpAddress
IpfilterId:
Description: The ID of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IpfilterId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"IpfilterId": {
"Type": "String",
"Description": {
"en": "The ID of the resource."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::DirectMail::Ipfilter",
"Properties": {
"IpfilterId": {
"Ref": "IpfilterId"
}
}
}
},
"Outputs": {
"CreateTime": {
"Description": "リソースの作成時間。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"IpAddress": {
"Description": "リソースの IP アドレス。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IpAddress"
]
}
},
"IpfilterId": {
"Description": "リソースの ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IpfilterId"
]
}
}
}
}