ALIYUN::SLS::AnalyzeProductLog

ALIYUN::SLS::AnalyzeProductLog类型用于分析产品日志。

语法

{
  "Type": "ALIYUN::SLS::AnalyzeProductLog",
  "Properties": {
    "CloudProduct": String,
    "Logstore": String,
    "Project": String,
    "Overwrite": Boolean
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

CloudProduct

String

云产品名称。

Logstore

String

Logstore 名称。

Project

String

Project名称。

Overwrite

Boolean

是否覆盖现有的分析规则。

返回值

Fn::GetAtt

示例

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Project:
    Type: String
    Description:
      en: The project name.
    Required: true
  Logstore:
    Type: String
    Description:
      en: The logstore name.
    Required: true
  CloudProduct:
    Type: String
    Description:
      en: The cloud product name.
    Required: true
Resources:
  AnalyzeProductLog:
    Type: ALIYUN::SLS::AnalyzeProductLog
    Properties:
      Project:
        Ref: Project
      Logstore:
        Ref: Logstore
      CloudProduct:
        Ref: CloudProduct
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Project": {
      "Type": "String",
      "Description": {
        "en": "The project name."
      },
      "Required": true
    },
    "Logstore": {
      "Type": "String",
      "Description": {
        "en": "The logstore name."
      },
      "Required": true
    },
    "CloudProduct": {
      "Type": "String",
      "Description": {
        "en": "The cloud product name."
      },
      "Required": true
    }
  },
  "Resources": {
    "AnalyzeProductLog": {
      "Type": "ALIYUN::SLS::AnalyzeProductLog",
      "Properties": {
        "Project": {
          "Ref": "Project"
        },
        "Logstore": {
          "Ref": "Logstore"
        },
        "CloudProduct": {
          "Ref": "CloudProduct"
        }
      }
    }
  }
}