Interface ITriggerProps
Props for Trigger
.
Inherited Members
Namespace: Amazon.CDK.Triggers
Assembly: Amazon.CDK.Triggers.dll
Syntax (csharp)
public interface ITriggerProps : ITriggerOptions
Syntax (vb)
Public Interface ITriggerProps
Inherits ITriggerOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
using Amazon.CDK.Triggers;
using Constructs;
Construct construct;
Function function_;
var triggerProps = new TriggerProps {
Handler = function_,
// the properties below are optional
ExecuteAfter = new [] { construct },
ExecuteBefore = new [] { construct },
ExecuteOnHandlerChange = false
};
Synopsis
Properties
Handler | The AWS Lambda function of the handler to execute. |
Properties
Handler
The AWS Lambda function of the handler to execute.
Function Handler { get; }
Property Value