すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::APIG::PluginClass

最終更新日:Jan 23, 2025

ALIYUN::APIG::PluginClass は、プラグインクラスを作成するために使用されます。

構文

{
  "Type": "ALIYUN::APIG::PluginClass",
  "Properties": {
    "Description": String,
    "ExecutePriority": Integer,
    "ExecuteStage": String,
    "PluginClassName": String,
    "VersionDescription": String,
    "Version": String,
    "WasmUrl": String,
    "WasmLanguage": String,
    "Alias": String,
    "SupportedMinGatewayVersion": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Description

String

はい

いいえ

プラグインクラスの説明。

なし。

ExecutePriority

Integer

はい

いいえ

プラグインの実行優先度。

なし。

ExecuteStage

String

はい

いいえ

実行ステージ。

有効な値:

  • UNSPECIFIED_PHASE

  • AUTHN

  • AUTHZ

  • STATS

PluginClassName

String

はい

いいえ

プラグインクラスの名前。

なし。

VersionDescription

String

はい

いいえ

バージョンの説明。

なし。

Version

String

はい

いいえ

プラグインクラスのバージョン。

なし。

WasmUrl

String

はい

いいえ

WebAssembly (Wasm) の URL。

なし。

WasmLanguage

String

はい

いいえ

Wasm でサポートされているプログラミング言語。

有効な値:

  • Cpp

  • TinyGo

  • Rust

  • AssemblyScript

  • Zig

Alias

String

いいえ

いいえ

プラグインクラスのエイリアス。

なし。

SupportedMinGatewayVersion

String

いいえ

いいえ

サポートされている最も古いゲートウェイバージョン。

なし。

戻り値

Fn::GetAtt

  • Type: プラグインクラスのタイプ。

  • Description: プラグインクラスの説明。

  • PluginClassName: プラグインクラスの名前。

  • Alias: プラグインクラスのエイリアス。

  • WasmLanguage: Wasm でサポートされているプログラミング言語。

  • Document: プラグインのドキュメント。

ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  ExtensionResource:
    Type: ALIYUN::APIG::PluginClass
    Properties:
      VersionDescription: desc
      ExecutePriority: 1
      Description: desc
      WasmLanguage: TinyGo
      Version: 1.0.0
      WasmUrl: https://apigw-console-cn-hangzhou-user-oss.oss-cn-hangzhou.aliyuncs.com/xxxxxx
      PluginClassName: test
      ExecuteStage: UNSPECIFIED_PHASE
Outputs:
  Type:
    Description: プラグインクラスのタイプ。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Type
  Description:
    Description: プラグインクラスの説明。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Description
  PluginClassName:
    Description: プラグインクラスの名前。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - PluginClassName
  Alias:
    Description: プラグインクラスのエイリアス。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Alias
  WasmLanguage:
    Description: Wasm 言語。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - WasmLanguage
  Document:
    Description: プラグインのドキュメント。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Document
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::APIG::PluginClass",
      "Properties": {
        "VersionDescription": "desc",
        "ExecutePriority": 1,
        "Description": "desc",
        "WasmLanguage": "TinyGo",
        "Version": "1.0.0",
        "WasmUrl": "https://apigw-console-cn-hangzhou-user-oss.oss-cn-hangzhou.aliyuncs.com/xxxxxx",
        "PluginClassName": "test",
        "ExecuteStage": "UNSPECIFIED_PHASE"
      }
    }
  },
  "Outputs": {
    "Type": {
      "Description": "プラグインクラスのタイプ。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Type"
        ]
      }
    },
    "Description": {
      "Description": "プラグインクラスの説明。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "PluginClassName": {
      "Description": "プラグインクラスの名前。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "PluginClassName"
        ]
      }
    },
    "Alias": {
      "Description": "プラグインクラスのエイリアス。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Alias"
        ]
      }
    },
    "WasmLanguage": {
      "Description": "Wasm 言語。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "WasmLanguage"
        ]
      }
    },
    "Document": {
      "Description": "プラグインのドキュメント。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Document"
        ]
      }
    }
  }
}