ALIYUN::CloudSiem::ImportLogTasksSubmission类型用于导入日志接入任务并提交
语法
{
"Type": "ALIYUN::CloudSiem::ImportLogTasksSubmission",
"Properties": {
"Accounts": List,
"CloudCode": String,
"LogCodes": List,
"ProdCode": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
Accounts | List | 是 | 否 | 提交接入的账号列表。 | 取值:
示例:
|
CloudCode | String | 是 | 否 | 多云的 code。 | 取值:
|
LogCodes | List | 是 | 否 | 提交接入的日志列表。 | 查看对应具体信息可以根据ListImportedLogsByProd - 查看该产品下日志接入详情 API调用结果。 |
ProdCode | String | 是 | 否 | 产品的 code。 | 查看对应具体信息可以根据ListAllProds - 查看云产品列表 API调用结果。 |
返回值
Fn::GetAtt
无
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Accounts:
AssociationProperty: List[Parameter]
AssociationPropertyMetadata:
Parameter:
Required: true
Type: String
Description:
en: The list of accounts to be submitted.
Required: true
Type: Json
CloudCode:
AllowedValues:
- qcloud
- hcloud
- aliyun
Description:
en: 'The cloud code. The code that is used for multi-cloud environments. Valid
values: qcloud for Tencent Cloud, aliyun for Alibaba Cloud, hcloud for Huawei
Cloud'
Required: true
Type: String
LogCodes:
AssociationProperty: List[Parameter]
AssociationPropertyMetadata:
Parameter:
Required: true
Type: String
Description:
en: The list of log codes to be submitted. For all available log codes of a
product, query the Cloud Siem ListImportedLogsByProd API with a specific product
code.
Required: true
Type: Json
ProdCode:
Description:
en: The product code. For all available product codes, query the Cloud Siem
ListAllProds API.
Required: true
Type: String
Resources:
ImportLogTasksSubmission:
Properties:
Accounts:
Ref: Accounts
CloudCode:
Ref: CloudCode
LogCodes:
Ref: LogCodes
ProdCode:
Ref: ProdCode
Type: ALIYUN::CloudSiem::ImportLogTasksSubmission
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"CloudCode": {
"Type": "String",
"Description": {
"en": "The cloud code. The code that is used for multi-cloud environments. Valid values: qcloud for Tencent Cloud, aliyun for Alibaba Cloud, hcloud for Huawei Cloud"
},
"AllowedValues": [
"qcloud",
"hcloud",
"aliyun"
],
"Required": true
},
"LogCodes": {
"AssociationPropertyMetadata": {
"Parameter": {
"Type": "String",
"Required": true
}
},
"AssociationProperty": "List[Parameter]",
"Type": "Json",
"Description": {
"en": "The list of log codes to be submitted. For all available log codes of a product, query the Cloud Siem ListImportedLogsByProd API with a specific product code."
},
"Required": true
},
"ProdCode": {
"Type": "String",
"Description": {
"en": "The product code. For all available product codes, query the Cloud Siem ListAllProds API."
},
"Required": true
},
"Accounts": {
"AssociationPropertyMetadata": {
"Parameter": {
"Type": "String",
"Required": true
}
},
"AssociationProperty": "List[Parameter]",
"Type": "Json",
"Description": {
"en": "The list of accounts to be submitted."
},
"Required": true
}
},
"Resources": {
"ImportLogTasksSubmission": {
"Type": "ALIYUN::CloudSiem::ImportLogTasksSubmission",
"Properties": {
"CloudCode": {
"Ref": "CloudCode"
},
"LogCodes": {
"Ref": "LogCodes"
},
"ProdCode": {
"Ref": "ProdCode"
},
"Accounts": {
"Ref": "Accounts"
}
}
}
}
}
该文章对您有帮助吗?