Show / Hide Table of Contents

Class LambdaInvokeFunction

(experimental) An AWS Lambda Invoke function API call.

Inheritance
System.Object
Construct
AwsApiCall
LambdaInvokeFunction
Implements
IAwsApiCall
IConstruct
Constructs.IConstruct
IDependable
Inherited Members
AwsApiCall.AssertAtPath(String, ExpectedResult)
AwsApiCall.Expect(ExpectedResult)
AwsApiCall.GetAtt(String)
AwsApiCall.GetAttString(String)
AwsApiCall.Provider
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.IntegTests
Assembly: Amazon.CDK.IntegTests.dll
Syntax (csharp)
public class LambdaInvokeFunction : AwsApiCall, IAwsApiCall, IConstruct, IDependable
Syntax (vb)
Public Class LambdaInvokeFunction
    Inherits AwsApiCall
    Implements IAwsApiCall, IConstruct, IDependable
Remarks

Use this istead of the generic AwsApiCall in order to invoke a lambda function. This will automatically create the correct permissions to invoke the function

Stability: Experimental

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.IntegTests;

var lambdaInvokeFunction = new LambdaInvokeFunction(this, "MyLambdaInvokeFunction", new LambdaInvokeFunctionProps {
    FunctionName = "functionName",

    // the properties below are optional
    InvocationType = InvocationType.EVENT,
    LogType = LogType.NONE,
    Payload = "payload"
});

Synopsis

Constructors

LambdaInvokeFunction(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

LambdaInvokeFunction(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

LambdaInvokeFunction(Construct, String, ILambdaInvokeFunctionProps)

Constructors

LambdaInvokeFunction(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected LambdaInvokeFunction(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

LambdaInvokeFunction(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected LambdaInvokeFunction(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

LambdaInvokeFunction(Construct, String, ILambdaInvokeFunctionProps)

public LambdaInvokeFunction(Construct scope, string id, ILambdaInvokeFunctionProps props)
Parameters
scope Constructs.Construct
id System.String
props ILambdaInvokeFunctionProps
Remarks

Stability: Experimental

Implements

IAwsApiCall
IConstruct
Constructs.IConstruct
IDependable
Back to top Generated by DocFX