Show / Hide Table of Contents

Class Trigger

Inheritance
System.Object
Resource
CustomResource
Trigger
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.FC
Assembly: Pulumi.AliCloud.dll
Syntax
public class Trigger : CustomResource

Constructors

View Source

Trigger(String, TriggerArgs, CustomResourceOptions)

Create a Trigger resource with the given unique name, arguments, and options.

Declaration
public Trigger(string name, TriggerArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

TriggerArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Config

The config of Function Compute trigger.It is valid when type is not "mns_topic".See Configure triggers and events for more details.

Declaration
public Output<string> Config { get; }
Property Value
Type Description
Output<System.String>
View Source

ConfigMns

The config of Function Compute trigger when the type is "mns_topic".It is conflict with config.

Declaration
public Output<string> ConfigMns { get; }
Property Value
Type Description
Output<System.String>
View Source

Function

The Function Compute function name.

Declaration
public Output<string> Function { get; }
Property Value
Type Description
Output<System.String>
View Source

LastModified

The date this resource was last modified.

Declaration
public Output<string> LastModified { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The Function Compute trigger name. It is the only in one service and is conflict with "name_prefix".

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NamePrefix

Setting a prefix to get a only trigger name. It is conflict with "name".

Declaration
public Output<string> NamePrefix { get; }
Property Value
Type Description
Output<System.String>
View Source

Role

RAM role arn attached to the Function Compute trigger. Role used by the event source to call the function. The value format is "acs:ram::$account-id:role/$role-name". See Create a trigger for more details.

Declaration
public Output<string> Role { get; }
Property Value
Type Description
Output<System.String>
View Source

Service

The Function Compute service name.

Declaration
public Output<string> Service { get; }
Property Value
Type Description
Output<System.String>
View Source

SourceArn

Event source resource address. See Create a trigger for more details.

Declaration
public Output<string> SourceArn { get; }
Property Value
Type Description
Output<System.String>
View Source

TriggerId

The Function Compute trigger ID.

Declaration
public Output<string> TriggerId { get; }
Property Value
Type Description
Output<System.String>
View Source

Type

The Type of the trigger. Valid values: ["oss", "log", "timer", "http", "mns_topic", "cdn_events"].

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, TriggerState, CustomResourceOptions)

Get an existing Trigger resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Trigger Get(string name, Input<string> id, TriggerState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

TriggerState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Trigger
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.