-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPipe_PipeTargetLambdaFunctionParametersProperty.go
28 lines (25 loc) · 1.65 KB
/
CfnPipe_PipeTargetLambdaFunctionParametersProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package awspipes
// The parameters for using a Lambda function as a target.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// pipeTargetLambdaFunctionParametersProperty := &PipeTargetLambdaFunctionParametersProperty{
// InvocationType: jsii.String("invocationType"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetlambdafunctionparameters.html
//
type CfnPipe_PipeTargetLambdaFunctionParametersProperty struct {
// Specify whether to invoke the function synchronously or asynchronously.
//
// - `REQUEST_RESPONSE` (default) - Invoke synchronously. This corresponds to the `RequestResponse` option in the `InvocationType` parameter for the Lambda [Invoke](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) API.
// - `FIRE_AND_FORGET` - Invoke asynchronously. This corresponds to the `Event` option in the `InvocationType` parameter for the Lambda [Invoke](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) API.
//
// For more information, see [Invocation types](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-invocation) in the *Amazon EventBridge User Guide* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetlambdafunctionparameters.html#cfn-pipes-pipe-pipetargetlambdafunctionparameters-invocationtype
//
InvocationType *string `field:"optional" json:"invocationType" yaml:"invocationType"`
}