Skip to content

IPlugin

  • Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource

  • Implemented By: Plugin, IPlugin

Represents a Plugin.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrDescription object Attribute Description: The description of the plug-in, which cannot exceed 200 characters.
AttrPluginData object Attribute PluginData: The definition statement of the plug-in.
AttrPluginId object Attribute PluginId: The generated plugin ID.
AttrPluginName object Attribute PluginName: The name of the plug-in that you want to create.
AttrPluginType object Attribute PluginType: The type of the plug-in.
Props PluginProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrDescriptionRequired

public object AttrDescription { get; }
  • Type: object

Attribute Description: The description of the plug-in, which cannot exceed 200 characters.


AttrPluginDataRequired

public object AttrPluginData { get; }
  • Type: object

Attribute PluginData: The definition statement of the plug-in.

Plug-in definition statements in the JSON and YAML formats are supported.


AttrPluginIdRequired

public object AttrPluginId { get; }
  • Type: object

Attribute PluginId: The generated plugin ID.


AttrPluginNameRequired

public object AttrPluginName { get; }
  • Type: object

Attribute PluginName: The name of the plug-in that you want to create.

It can contain uppercase English letters, lowercase English letters, Chinese characters, numbers, and underscores (). It must be 4 to 50 characters in length and cannot start with an underscore ().


AttrPluginTypeRequired

public object AttrPluginType { get; }
  • Type: object

Attribute PluginType: The type of the plug-in.

Valid values: ipControl: indicates IP address-based access control. trafficControl: indicates throttling. backendSignature: indicates backend signature. jwtAuth: indicates JWT (OpenId Connect). cors: indicates cross-origin resource access (CORS). caching: indicates caching.


PropsRequired

public PluginProps Props { get; }