LambdaProjectResource
Handle
type LambdaProjectResource interface { IComputeResource IContainerFilesDestinationResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Methods
WithDynamoDBStreamsEventSource( tableName string, options ...*DynamoDBStreamsEventSourceOptions,) LambdaProjectResourceParameters
tableName stringoptions...*DynamoDBStreamsEventSourceOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *DynamoDBStreamsEventSourceOptions struct.
Returns
LambdaProjectResource Returns a handle; failures surface later via Err().
WithSQSEventSource( queueUrl string, options ...*SQSEventSourceOptions,) LambdaProjectResourceParameters
queueUrl stringoptions...*SQSEventSourceOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *SQSEventSourceOptions struct.
Returns
LambdaProjectResource Returns a handle; failures surface later via Err().