

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::AppSync::DataSource LambdaConfig
<a name="aws-properties-appsync-datasource-lambdaconfig"></a>

The `LambdaConfig` property type specifies the Lambda function ARN for an Amazon AppSync data source.

`LambdaConfig` is a property of the [AWS::AppSync::DataSource](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html) property type. 

## Syntax
<a name="aws-properties-appsync-datasource-lambdaconfig-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-appsync-datasource-lambdaconfig-syntax.json"></a>

```
{
  "[LambdaFunctionArn](#cfn-appsync-datasource-lambdaconfig-lambdafunctionarn)" : String
}
```

### YAML
<a name="aws-properties-appsync-datasource-lambdaconfig-syntax.yaml"></a>

```
  [LambdaFunctionArn](#cfn-appsync-datasource-lambdaconfig-lambdafunctionarn): String
```

## Properties
<a name="aws-properties-appsync-datasource-lambdaconfig-properties"></a>

`LambdaFunctionArn`  <a name="cfn-appsync-datasource-lambdaconfig-lambdafunctionarn"></a>
The ARN for the Lambda function.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)