Skip to content

ITrigger

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: Trigger, ITrigger

Represents a Trigger.

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.
AttrFunctionName interface{} Attribute FunctionName: Function name.
AttrTriggerId interface{} Attribute TriggerId: The trigger ID.
AttrTriggerName interface{} Attribute TriggerName: Trigger name.
AttrUrlInternet interface{} Attribute UrlInternet: The public domain address.
AttrUrlIntranet interface{} Attribute UrlIntranet: The private endpoint.
Props TriggerProps 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.


AttrFunctionNameRequired

func AttrFunctionName() interface{}
  • Type: interface{}

Attribute FunctionName: Function name.


AttrTriggerIdRequired

func AttrTriggerId() interface{}
  • Type: interface{}

Attribute TriggerId: The trigger ID.


AttrTriggerNameRequired

func AttrTriggerName() interface{}
  • Type: interface{}

Attribute TriggerName: Trigger name.


AttrUrlInternetRequired

func AttrUrlInternet() interface{}
  • Type: interface{}

Attribute UrlInternet: The public domain address.

You can access HTTP triggers over the Internet by using HTTP or HTTPS.


AttrUrlIntranetRequired

func AttrUrlIntranet() interface{}
  • Type: interface{}

Attribute UrlIntranet: The private endpoint.

In a VPC, you can access HTTP triggers by using HTTP or HTTPS.


PropsRequired

func Props() TriggerProps