Skip to content

TriggerProps

Properties for defining a Trigger.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-trigger

Initializer

import { TriggerProps } from '@alicloud/ros-cdk-fc3'
const triggerProps: TriggerProps = { ... }

Properties

Name Type Description
functionName string | @alicloud/ros-cdk-core.IResolvable Property functionName: The name of the function.
triggerConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property triggerConfig: Trigger config.
triggerName string | @alicloud/ros-cdk-core.IResolvable Property triggerName: Name of the trigger.
triggerType string | @alicloud/ros-cdk-core.IResolvable Property triggerType: Type of the trigger.
description string | @alicloud/ros-cdk-core.IResolvable Property description: Description of the trigger.
invocationRole string | @alicloud/ros-cdk-core.IResolvable Property invocationRole: Invocation role.
qualifier string | @alicloud/ros-cdk-core.IResolvable Property qualifier: Qualifier of the trigger.
sourceArn string | @alicloud/ros-cdk-core.IResolvable Property sourceArn: Source ARN of the trigger.

functionNameRequired

public readonly functionName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property functionName: The name of the function.


triggerConfigRequired

public readonly triggerConfig: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property triggerConfig: Trigger config.


triggerNameRequired

public readonly triggerName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property triggerName: Name of the trigger.


triggerTypeRequired

public readonly triggerType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property triggerType: Type of the trigger.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: Description of the trigger.


invocationRoleOptional

public readonly invocationRole: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property invocationRole: Invocation role.


qualifierOptional

public readonly qualifier: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property qualifier: Qualifier of the trigger.


sourceArnOptional

public readonly sourceArn: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property sourceArn: Source ARN of the trigger.