Skip to content
v2.278.0

LambdaFunctionProperty Struct ​

The Lambda function.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as iottwinmaker } from 'aws-cdk-lib';
const lambdaFunctionProperty: iottwinmaker.CfnComponentType.LambdaFunctionProperty = {
  arn: 'arn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iottwinmaker as iottwinmaker

lambda_function_property = iottwinmaker.CfnComponentType.LambdaFunctionProperty(
    arn="arn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iottwinmaker.*;

LambdaFunctionProperty lambdaFunctionProperty = LambdaFunctionProperty.builder()
        .arn("arn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTTwinMaker;

var lambdaFunctionProperty = new LambdaFunctionProperty {
    Arn = "arn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

lambdaFunctionProperty := &LambdaFunctionProperty{
	Arn: jsii.String("arn"),
}

Properties ​

arnstringarnstrarnStringArnstringArn*string required #
The Lambda function ARN.