TriggerProps
Properties for defining a Trigger
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-trigger
Initializer
import com.aliyun.ros.cdk.fc3.TriggerProps;
TriggerProps.builder()
.functionName(java.lang.String)
.functionName(IResolvable)
.triggerConfig(IResolvable)
.triggerConfig(java.util.Map<java.lang.String, java.lang.Object>)
.triggerName(java.lang.String)
.triggerName(IResolvable)
.triggerType(java.lang.String)
.triggerType(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .invocationRole(java.lang.String)
// .invocationRole(IResolvable)
// .qualifier(java.lang.String)
// .qualifier(IResolvable)
// .sourceArn(java.lang.String)
// .sourceArn(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
functionName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property functionName: The name of the function. |
triggerConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property triggerConfig: Trigger config. |
triggerName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property triggerName: Name of the trigger. |
triggerType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property triggerType: Type of the trigger. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Description of the trigger. |
invocationRole |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property invocationRole: Invocation role. |
qualifier |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property qualifier: Qualifier of the trigger. |
sourceArn |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceArn: Source ARN of the trigger. |
functionName
Required
public java.lang.Object getFunctionName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property functionName: The name of the function.
triggerConfig
Required
public java.lang.Object getTriggerConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property triggerConfig: Trigger config.
triggerName
Required
public java.lang.Object getTriggerName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property triggerName: Name of the trigger.
triggerType
Required
public java.lang.Object getTriggerType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property triggerType: Type of the trigger.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Description of the trigger.
invocationRole
Optional
public java.lang.Object getInvocationRole();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property invocationRole: Invocation role.
qualifier
Optional
public java.lang.Object getQualifier();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property qualifier: Qualifier of the trigger.
sourceArn
Optional
public java.lang.Object getSourceArn();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceArn: Source ARN of the trigger.