Package software.amazon.awscdk.triggers
Interface TriggerFunctionProps
- All Superinterfaces:
EventInvokeConfigOptions,FunctionOptions,FunctionProps,software.amazon.jsii.JsiiSerializable,TriggerOptions
- All Known Implementing Classes:
TriggerFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.491Z")
@Stability(Stable)
public interface TriggerFunctionProps
extends software.amazon.jsii.JsiiSerializable, FunctionProps, TriggerOptions
Props for
InvokeFunction.
Example:
import software.amazon.awscdk.services.lambda.*;
import software.amazon.awscdk.triggers.*;
import software.amazon.awscdk.core.Stack;
Stack stack;
TriggerFunction.Builder.create(stack, "MyTrigger")
.runtime(Runtime.NODEJS_14_X)
.handler("index.handler")
.code(Code.fromAsset(__dirname + "/my-trigger"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTriggerFunctionPropsstatic final classAn implementation forTriggerFunctionProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
getMaxEventAge, getOnFailure, getOnSuccess, getRetryAttemptsMethods inherited from interface software.amazon.awscdk.services.lambda.FunctionOptions
getAllowAllOutbound, getAllowPublicSubnet, getArchitecture, getArchitectures, getCodeSigningConfig, getCurrentVersionOptions, getDeadLetterQueue, getDeadLetterQueueEnabled, getDeadLetterTopic, getDescription, getEnvironment, getEnvironmentEncryption, getEphemeralStorageSize, getEvents, getFilesystem, getFunctionName, getInitialPolicy, getInsightsVersion, getLayers, getLogRetention, getLogRetentionRetryOptions, getLogRetentionRole, getMemorySize, getProfiling, getProfilingGroup, getReservedConcurrentExecutions, getRole, getSecurityGroup, getSecurityGroups, getTimeout, getTracing, getVpc, getVpcSubnetsMethods inherited from interface software.amazon.awscdk.services.lambda.FunctionProps
getCode, getHandler, getRuntimeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.triggers.TriggerOptions
getExecuteAfter, getExecuteBefore, getExecuteOnHandlerChange
-
Method Details
-
builder
- Returns:
- a
TriggerFunctionProps.BuilderofTriggerFunctionProps
-