DATASOURCE::CLOUDFW::AddressBook は、Cloud Firewall でアクセス制御用のアドレス帳に関する情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::CLOUDFW::AddressBook",
"Properties": {
"GroupUuid": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | 型 | 必須 | 編集可能 | 説明 | 制約 |
GroupUuid | String | はい | はい | アドレス帳の UUID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックの更新時のデータソース リソースのリフレッシュ ポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
GroupName: アドレス帳の名前。
Description: アドレス帳の説明。
TagRelation: Elastic Compute Service (ECS) タグ間の論理関係。
GroupType: アドレス帳のタイプ。
GroupUuid: アドレス帳の UUID。
AddressListCount: アドレス帳内のアドレスの数。
AutoAddTagEcs: インスタンスが指定されたタグと一致する場合、ECS インスタンスのパブリック IP アドレスがアドレス帳に自動的に追加されるかどうかを示します。このプロパティは、タグ設定が完了した新しく購入した ECS インスタンス、またはタグ設定が変更された ECS インスタンスに対してのみ返されます。
AddressList: アドレス帳内のアドレス。
Tags: アドレス帳に自動的に追加できる ECS タグに関する情報。
ReferenceCount: アドレス帳が参照される回数。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GroupUuid:
Type: String
Description:
en: The UUID of the address book.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::CLOUDFW::AddressBook
Properties:
GroupUuid:
Ref: GroupUuid
Outputs:
GroupName:
Description: The name of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupName
Description:
Description: The description of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
TagRelation:
Description: The logical relationship among ECS tags.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TagRelation
GroupType:
Description: The type of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupType
GroupUuid:
Description: The UUID of the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupUuid
AddressListCount:
Description: The number of addresses in the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AddressListCount
AutoAddTagEcs:
Description: Indicates whether the public IP addresses of ECS instances are automatically added to the address book if the instances match the specified tags.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AutoAddTagEcs
AddressList:
Description: The addresses in the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AddressList
Tags:
Description: The details about the ECS tags that can be automatically added to the address book.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
ReferenceCount:
Description: The number of times that the address book is referenced.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReferenceCount
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GroupUuid": {
"Type": "String",
"Description": {
"en": "The UUID of the address book."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::CLOUDFW::AddressBook",
"Properties": {
"GroupUuid": {
"Ref": "GroupUuid"
}
}
}
},
"Outputs": {
"GroupName": {
"Description": "The name of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupName"
]
}
},
"Description": {
"Description": "The description of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"TagRelation": {
"Description": "The logical relationship among ECS tags.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TagRelation"
]
}
},
"GroupType": {
"Description": "The type of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupType"
]
}
},
"GroupUuid": {
"Description": "The UUID of the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupUuid"
]
}
},
"AddressListCount": {
"Description": "The number of addresses in the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AddressListCount"
]
}
},
"AutoAddTagEcs": {
"Description": "Indicates whether the public IP addresses of ECS instances are automatically added to the address book if the instances match the specified tags.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AutoAddTagEcs"
]
}
},
"AddressList": {
"Description": "The addresses in the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AddressList"
]
}
},
"Tags": {
"Description": "The details about the ECS tags that can be automatically added to the address book.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"ReferenceCount": {
"Description": "The number of times that the address book is referenced.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReferenceCount"
]
}
}
}
}