---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# aws_appsync_function{% #aws_appsync_function %}

## `account_id`{% #account_id %}

**Type**: `STRING`

## `code`{% #code %}

**Type**: `STRING`**Provider name**: `code`**Description**: The `function` code that contains the request and response functions. When code is used, the `runtime` is required. The `runtime` value must be `APPSYNC_JS`.

## `data_source_name`{% #data_source_name %}

**Type**: `STRING`**Provider name**: `dataSourceName`**Description**: The name of the `DataSource`.

## `description`{% #description %}

**Type**: `STRING`**Provider name**: `description`**Description**: The `Function` description.

## `function_arn`{% #function_arn %}

**Type**: `STRING`**Provider name**: `functionArn`**Description**: The Amazon Resource Name (ARN) of the `Function` object.

## `function_id`{% #function_id %}

**Type**: `STRING`**Provider name**: `functionId`**Description**: A unique ID representing the `Function` object.

## `function_version`{% #function_version %}

**Type**: `STRING`**Provider name**: `functionVersion`**Description**: The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.

## `max_batch_size`{% #max_batch_size %}

**Type**: `INT32`**Provider name**: `maxBatchSize`**Description**: The maximum batching size for a resolver.

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: The name of the `Function` object.

## `request_mapping_template`{% #request_mapping_template %}

**Type**: `STRING`**Provider name**: `requestMappingTemplate`**Description**: The `Function` request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

## `response_mapping_template`{% #response_mapping_template %}

**Type**: `STRING`**Provider name**: `responseMappingTemplate`**Description**: The `Function` response mapping template.

## `runtime`{% #runtime %}

**Type**: `STRUCT`**Provider name**: `runtime`

- `name`**Type**: `STRING`**Provider name**: `name`**Description**: The `name` of the runtime to use. Currently, the only allowed value is `APPSYNC_JS`.
- `runtime_version`**Type**: `STRING`**Provider name**: `runtimeVersion`**Description**: The `version` of the runtime to use. Currently, the only allowed version is `1.0.0`.

## `sync_config`{% #sync_config %}

**Type**: `STRUCT`**Provider name**: `syncConfig`

- `conflict_detection`**Type**: `STRING`**Provider name**: `conflictDetection`**Description**: The Conflict Detection strategy to use.
  - VERSION: Detect conflicts based on object versions for this resolver.
  - NONE: Do not detect conflicts when invoking this resolver.
- `conflict_handler`**Type**: `STRING`**Provider name**: `conflictHandler`**Description**: The Conflict Resolution strategy to perform in the event of a conflict.
  - OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
  - AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
  - LAMBDA: Resolve conflicts with an Lambda function supplied in the `LambdaConflictHandlerConfig`.
- `lambda_conflict_handler_config`**Type**: `STRUCT`**Provider name**: `lambdaConflictHandlerConfig`**Description**: The `LambdaConflictHandlerConfig` when configuring `LAMBDA` as the Conflict Handler.
  - `lambda_conflict_handler_arn`**Type**: `STRING`**Provider name**: `lambdaConflictHandlerArn`**Description**: The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`
