Skip to content

PluginAttachmentProps

Properties for defining a PluginAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-pluginattachment

Initializer

import { PluginAttachmentProps } from '@alicloud/ros-cdk-apigateway'
const pluginAttachmentProps: PluginAttachmentProps = { ... }

Properties

Name Type Description
apiId string | @alicloud/ros-cdk-core.IResolvable Property apiId: The ID of the API to which you want to bind the plug-in.
pluginId string | @alicloud/ros-cdk-core.IResolvable Property pluginId: The ID of the plugin that you want to bind.
stageName string | @alicloud/ros-cdk-core.IResolvable Property stageName: The name of the runtime environment.

apiIdRequired

public readonly apiId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property apiId: The ID of the API to which you want to bind the plug-in.


pluginIdRequired

public readonly pluginId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property pluginId: The ID of the plugin that you want to bind.


stageNameRequired

public readonly stageName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property stageName: The name of the runtime environment.

Valid values: RELEASE: indicates the release environment. PRE: indicates the pre-release environment. TEST: indicates the test environment.