IPlugin
-
Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource
Represents a Plugin.
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node for this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
AttrDescription | interface{} | Attribute Description: The description of the plug-in, which cannot exceed 200 characters. |
AttrPluginData | interface{} | Attribute PluginData: The definition statement of the plug-in. |
AttrPluginId | interface{} | Attribute PluginId: The generated plugin ID. |
AttrPluginName | interface{} | Attribute PluginName: The name of the plug-in that you want to create. |
AttrPluginType | interface{} | Attribute PluginType: The type of the plug-in. |
Props | PluginProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node for this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
AttrDescriptionRequired
func AttrDescription() interface{}
- Type: interface{}
Attribute Description: The description of the plug-in, which cannot exceed 200 characters.
AttrPluginDataRequired
func AttrPluginData() interface{}
- Type: interface{}
Attribute PluginData: The definition statement of the plug-in.
Plug-in definition statements in the JSON and YAML formats are supported.
AttrPluginIdRequired
func AttrPluginId() interface{}
- Type: interface{}
Attribute PluginId: The generated plugin ID.
AttrPluginNameRequired
func AttrPluginName() interface{}
- Type: interface{}
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
func AttrPluginType() interface{}
- Type: interface{}
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
func Props() PluginProps
- Type: PluginProps