Skip to content

ITrigger

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: Trigger, ITrigger

Represents a Trigger.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrFunctionName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute FunctionName: Function name.
attrServiceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ServiceName: Service name.
attrTriggerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute TriggerId: The trigger ID.
attrTriggerName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute TriggerName: Trigger name.
attrUrlInternet java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute UrlInternet: The public domain address.
attrUrlIntranet java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute UrlIntranet: The private endpoint.
props TriggerProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.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 getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrFunctionNameRequired

public java.lang.Object getAttrFunctionName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute FunctionName: Function name.


attrServiceNameRequired

public java.lang.Object getAttrServiceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ServiceName: Service name.


attrTriggerIdRequired

public java.lang.Object getAttrTriggerId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute TriggerId: The trigger ID.


attrTriggerNameRequired

public java.lang.Object getAttrTriggerName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute TriggerName: Trigger name.


attrUrlInternetRequired

public java.lang.Object getAttrUrlInternet();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute UrlInternet: The public domain address.

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


attrUrlIntranetRequired

public java.lang.Object getAttrUrlIntranet();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute UrlIntranet: The private endpoint.

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


propsRequired

public TriggerProps getProps();