DATASOURCE::ThreatDetection::Instances は、セキュリティセンターのインスタンスに関する基本情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::ThreatDetection::Instances",
"Properties": {
"InstanceId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
InstanceId | String | いいえ | はい | インスタンス ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソース リソースのリフレッシュ ポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
Instances: インスタンスの詳細。
InstanceIds: インスタンスの ID。
プロパティ
タイプ
説明
制約
InstanceIds
List
インスタンスの ID。
なし。
Instances
List
インスタンスの詳細。
なし。
Status
String
インスタンスのステータス。
なし。
InstanceId
String
インスタンス ID。
なし。
CreateTime
String
インスタンスが作成された時刻。
なし。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
InstanceId:
Description:
en: The first ID of the resource.
Type: String
Resources:
ExtensionDataSource:
Properties:
InstanceId:
Ref: InstanceId
Type: DATASOURCE::ThreatDetection::Instances
Outputs:
InstanceIds:
Description: The list of instance IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceIds
Instances:
Description: The list of instances.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Instances
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceId": {
"Type": "String",
"Description": {
"en": "The first ID of the resource."
}
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ThreatDetection::Instances",
"Properties": {
"InstanceId": {
"Ref": "InstanceId"
}
}
}
},
"Outputs": {
"Instances": {
"Description": "The list of instances.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Instances"
]
}
},
"InstanceIds": {
"Description": "The list of instance IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceIds"
]
}
}
}
}