

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

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

The `AWS::AppSync::DataSource` resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB, AWS Lambda, and Amazon OpenSearch Service. Resolvers use these data sources to fetch data when clients make GraphQL calls. 

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

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

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

```
{
  "Type" : "AWS::AppSync::DataSource",
  "Properties" : {
      "[ApiId](#cfn-appsync-datasource-apiid)" : String,
      "[Description](#cfn-appsync-datasource-description)" : String,
      "[DynamoDBConfig](#cfn-appsync-datasource-dynamodbconfig)" : DynamoDBConfig,
      "[EventBridgeConfig](#cfn-appsync-datasource-eventbridgeconfig)" : EventBridgeConfig,
      "[HttpConfig](#cfn-appsync-datasource-httpconfig)" : HttpConfig,
      "[LambdaConfig](#cfn-appsync-datasource-lambdaconfig)" : LambdaConfig,
      "[MetricsConfig](#cfn-appsync-datasource-metricsconfig)" : String,
      "[Name](#cfn-appsync-datasource-name)" : String,
      "[OpenSearchServiceConfig](#cfn-appsync-datasource-opensearchserviceconfig)" : OpenSearchServiceConfig,
      "[RelationalDatabaseConfig](#cfn-appsync-datasource-relationaldatabaseconfig)" : RelationalDatabaseConfig,
      "[ServiceRoleArn](#cfn-appsync-datasource-servicerolearn)" : String,
      "[Type](#cfn-appsync-datasource-type)" : String
    }
}
```

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

```
Type: AWS::AppSync::DataSource
Properties:
  [ApiId](#cfn-appsync-datasource-apiid): String
  [Description](#cfn-appsync-datasource-description): String
  [DynamoDBConfig](#cfn-appsync-datasource-dynamodbconfig): 
    DynamoDBConfig
  [EventBridgeConfig](#cfn-appsync-datasource-eventbridgeconfig): 
    EventBridgeConfig
  [HttpConfig](#cfn-appsync-datasource-httpconfig): 
    HttpConfig
  [LambdaConfig](#cfn-appsync-datasource-lambdaconfig): 
    LambdaConfig
  [MetricsConfig](#cfn-appsync-datasource-metricsconfig): String
  [Name](#cfn-appsync-datasource-name): String
  [OpenSearchServiceConfig](#cfn-appsync-datasource-opensearchserviceconfig): 
    OpenSearchServiceConfig
  [RelationalDatabaseConfig](#cfn-appsync-datasource-relationaldatabaseconfig): 
    RelationalDatabaseConfig
  [ServiceRoleArn](#cfn-appsync-datasource-servicerolearn): String
  [Type](#cfn-appsync-datasource-type): String
```

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

`ApiId`  <a name="cfn-appsync-datasource-apiid"></a>
Unique AWS AppSync GraphQL API identifier where this data source will be created.  
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Description`  <a name="cfn-appsync-datasource-description"></a>
The description of the data source.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DynamoDBConfig`  <a name="cfn-appsync-datasource-dynamodbconfig"></a>
AWS Region and TableName for an Amazon DynamoDB table in your account.  
*Required*: No  
*Type*: [DynamoDBConfig](aws-properties-appsync-datasource-dynamodbconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`EventBridgeConfig`  <a name="cfn-appsync-datasource-eventbridgeconfig"></a>
An EventBridge configuration that contains a valid ARN of an event bus.  
*Required*: No  
*Type*: [EventBridgeConfig](aws-properties-appsync-datasource-eventbridgeconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`HttpConfig`  <a name="cfn-appsync-datasource-httpconfig"></a>
Endpoints for an HTTP data source.  
*Required*: No  
*Type*: [HttpConfig](aws-properties-appsync-datasource-httpconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LambdaConfig`  <a name="cfn-appsync-datasource-lambdaconfig"></a>
An ARN of a Lambda function in valid ARN format. This can be the ARN of a Lambda function that exists in the current account or in another account.  
*Required*: No  
*Type*: [LambdaConfig](aws-properties-appsync-datasource-lambdaconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MetricsConfig`  <a name="cfn-appsync-datasource-metricsconfig"></a>
Enables or disables enhanced data source metrics for specified data sources. Note that `MetricsConfig` won't be used unless the `dataSourceLevelMetricsBehavior` value is set to `PER_DATA_SOURCE_METRICS`. If the `dataSourceLevelMetricsBehavior` is set to `FULL_REQUEST_DATA_SOURCE_METRICS` instead, `MetricsConfig` will be ignored. However, you can still set its value.  
`MetricsConfig` can be `ENABLED` or `DISABLED`.  
*Required*: No  
*Type*: String  
*Allowed values*: `DISABLED | ENABLED`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-appsync-datasource-name"></a>
Friendly name for you to identify your AppSync data source after creation.  
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`OpenSearchServiceConfig`  <a name="cfn-appsync-datasource-opensearchserviceconfig"></a>
AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.  
*Required*: No  
*Type*: [OpenSearchServiceConfig](aws-properties-appsync-datasource-opensearchserviceconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RelationalDatabaseConfig`  <a name="cfn-appsync-datasource-relationaldatabaseconfig"></a>
Relational Database configuration of the relational database data source.  
*Required*: No  
*Type*: [RelationalDatabaseConfig](aws-properties-appsync-datasource-relationaldatabaseconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ServiceRoleArn`  <a name="cfn-appsync-datasource-servicerolearn"></a>
The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.  
Required if `Type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, `AMAZON_OPENSEARCH_SERVICE`, `RELATIONAL_DATABASE`, or `AMAZON_BEDROCK_RUNTIME`.   
*Required*: Conditional  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-appsync-datasource-type"></a>
The type of the data source.  
+ **AWS\$1LAMBDA**: The data source is an AWS Lambda function.
+ **AMAZON\$1DYNAMODB**: The data source is an Amazon DynamoDB table.
+ **AMAZON\$1ELASTICSEARCH**: The data source is an Amazon OpenSearch Service domain.
+ **AMAZON\$1EVENTBRIDGE**: The data source is an Amazon EventBridge event bus.
+ **AMAZON\$1OPENSEARCH\$1SERVICE**: The data source is an Amazon OpenSearch Service domain.
+ **AMAZON\$1BEDROCK\$1RUNTIME**: The data source is the Amazon Bedrock runtime.
+ **NONE**: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.
+ **HTTP**: The data source is an HTTP endpoint.
+ **RELATIONAL\$1DATABASE**: The data source is a relational database.
*Required*: Yes  
*Type*: String  
*Allowed values*: `AWS_LAMBDA | AMAZON_DYNAMODB | AMAZON_ELASTICSEARCH | NONE | HTTP | RELATIONAL_DATABASE | AMAZON_OPENSEARCH_SERVICE | AMAZON_EVENTBRIDGE | AMAZON_BEDROCK_RUNTIME`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-appsync-datasource-return-values"></a>

### Ref
<a name="aws-resource-appsync-datasource-return-values-ref"></a>

When you pass the logical ID of an `AWS::AppSync::DataSource` resource to the intrinsic `Ref` function, the function returns the ARN of the Data Source, such as ` arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/datasources/datasourcename`. 

For more information about using the `Ref` function, see [Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref).

### Fn::GetAtt
<a name="aws-resource-appsync-datasource-return-values-fn--getatt"></a>

`Fn::GetAtt` returns a value for a specified attribute of this type. The following are the available attributes and sample return values. 

For more information about using `Fn::GetAtt`, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt). 

#### 
<a name="aws-resource-appsync-datasource-return-values-fn--getatt-fn--getatt"></a>

`DataSourceArn`  <a name="DataSourceArn-fn::getatt"></a>
The Amazon Resource Name (ARN) of the API key, such as `arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/datasources/datasourcename`. 

`Name`  <a name="Name-fn::getatt"></a>
Friendly name for you to identify your AWS AppSync data source after creation.

## Examples
<a name="aws-resource-appsync-datasource--examples"></a>



### Data Source Creation Example
<a name="aws-resource-appsync-datasource--examples--Data_Source_Creation_Example"></a>

The following example creates a data source and associates it with an existing GraphQL API by passing the GraphQL API ID as a parameter. 

#### YAML
<a name="aws-resource-appsync-datasource--examples--Data_Source_Creation_Example--yaml"></a>

```
Parameters:
  graphQlApiId:
    Type: String
  dataSourceName:
    Type: String
  dataSourceDescription:
    Type: String
  serviceRoleArn:
    Type: String
  lambdaFunctionArn:
    Type: String
Resources:
  DataSource:
    Type: AWS::AppSync::DataSource
    Properties:
      ApiId:
        Ref: graphQlApiId
      Name:
        Ref: dataSourceName
      Description:
        Ref: dataSourceDescription
      Type: "AWS_LAMBDA"
      ServiceRoleArn:
        Ref: serviceRoleArn
      LambdaConfig:
        LambdaFunctionArn:
          Ref: lambdaFunctionArn
```

#### JSON
<a name="aws-resource-appsync-datasource--examples--Data_Source_Creation_Example--json"></a>

```
{
  "Parameters": {
    "graphQlApiId": {
      "Type": "String"
    },
    "dataSourceName": {
      "Type": "String"
    },
    "dataSourceDescription": {
      "Type": "String"
    },
    "serviceRoleArn": {
      "Type": "String"
    },
    "lambdaFunctionArn": {
      "Type": "String"
    }
  },
  "Resources": {
    "DataSource": {
      "Type": "AWS::AppSync::DataSource",
      "Properties": {
        "ApiId": {
          "Ref": "graphQlApiId"
        },
        "Name": {
          "Ref": "dataSourceName"
        },
        "Description": {
          "Ref": "dataSourceDescription"
        },
        "Type": "AWS_LAMBDA",
        "ServiceRoleArn": {
           "Ref": "serviceRoleArn"
        },
        "LambdaConfig": {
          "LambdaFunctionArn": {
            "Ref": "lambdaFunctionArn"
          }
        }
      }
    }
  }
}
```

## See also
<a name="aws-resource-appsync-datasource--seealso"></a>
+ [CreateDataSource](https://docs.aws.amazon.com/appsync/latest/APIReference/API_CreateDataSource.html) operation in the *AWS AppSync API Reference*.



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

The `AuthorizationConfig` property type specifies the authorization type and configuration for an AWS AppSync http data source.

`AuthorizationConfig` is a property of the [AWS AppSync DataSource HttpConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig.html) property type. 

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

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

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

```
{
  "[AuthorizationType](#cfn-appsync-datasource-authorizationconfig-authorizationtype)" : String,
  "[AwsIamConfig](#cfn-appsync-datasource-authorizationconfig-awsiamconfig)" : AwsIamConfig
}
```

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

```
  [AuthorizationType](#cfn-appsync-datasource-authorizationconfig-authorizationtype): String
  [AwsIamConfig](#cfn-appsync-datasource-authorizationconfig-awsiamconfig): 
    AwsIamConfig
```

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

`AuthorizationType`  <a name="cfn-appsync-datasource-authorizationconfig-authorizationtype"></a>
The authorization type that the HTTP endpoint requires.  
+ **AWS\$1IAM**: The authorization type is Signature Version 4 (SigV4).
*Required*: Yes  
*Type*: String  
*Allowed values*: `AWS_IAM`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`AwsIamConfig`  <a name="cfn-appsync-datasource-authorizationconfig-awsiamconfig"></a>
The AWS Identity and Access Management settings.  
*Required*: No  
*Type*: [AwsIamConfig](aws-properties-appsync-datasource-awsiamconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

Use the `AwsIamConfig` property type to specify `AwsIamConfig` for a AWS AppSync authorizaton.

`AwsIamConfig` is a property of the [AWS AppSync DataSource AuthorizationConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig-authorizationconfig.html) resource. 

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

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

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

```
{
  "[SigningRegion](#cfn-appsync-datasource-awsiamconfig-signingregion)" : String,
  "[SigningServiceName](#cfn-appsync-datasource-awsiamconfig-signingservicename)" : String
}
```

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

```
  [SigningRegion](#cfn-appsync-datasource-awsiamconfig-signingregion): String
  [SigningServiceName](#cfn-appsync-datasource-awsiamconfig-signingservicename): String
```

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

`SigningRegion`  <a name="cfn-appsync-datasource-awsiamconfig-signingregion"></a>
The signing Region for AWS Identity and Access Management authorization.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SigningServiceName`  <a name="cfn-appsync-datasource-awsiamconfig-signingservicename"></a>
The signing service name for AWS Identity and Access Management authorization.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

Describes a Delta Sync configuration.

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

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

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

```
{
  "[BaseTableTTL](#cfn-appsync-datasource-deltasyncconfig-basetablettl)" : String,
  "[DeltaSyncTableName](#cfn-appsync-datasource-deltasyncconfig-deltasynctablename)" : String,
  "[DeltaSyncTableTTL](#cfn-appsync-datasource-deltasyncconfig-deltasynctablettl)" : String
}
```

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

```
  [BaseTableTTL](#cfn-appsync-datasource-deltasyncconfig-basetablettl): String
  [DeltaSyncTableName](#cfn-appsync-datasource-deltasyncconfig-deltasynctablename): String
  [DeltaSyncTableTTL](#cfn-appsync-datasource-deltasyncconfig-deltasynctablettl): String
```

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

`BaseTableTTL`  <a name="cfn-appsync-datasource-deltasyncconfig-basetablettl"></a>
The number of minutes that an Item is stored in the data source.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DeltaSyncTableName`  <a name="cfn-appsync-datasource-deltasyncconfig-deltasynctablename"></a>
The Delta Sync table name.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DeltaSyncTableTTL`  <a name="cfn-appsync-datasource-deltasyncconfig-deltasynctablettl"></a>
The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

The `DynamoDBConfig` property type specifies the `AwsRegion` and `TableName` for an Amazon DynamoDB table in your account for an AWS AppSync data source.

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

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

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

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

```
{
  "[AwsRegion](#cfn-appsync-datasource-dynamodbconfig-awsregion)" : String,
  "[DeltaSyncConfig](#cfn-appsync-datasource-dynamodbconfig-deltasyncconfig)" : DeltaSyncConfig,
  "[TableName](#cfn-appsync-datasource-dynamodbconfig-tablename)" : String,
  "[UseCallerCredentials](#cfn-appsync-datasource-dynamodbconfig-usecallercredentials)" : Boolean,
  "[Versioned](#cfn-appsync-datasource-dynamodbconfig-versioned)" : Boolean
}
```

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

```
  [AwsRegion](#cfn-appsync-datasource-dynamodbconfig-awsregion): String
  [DeltaSyncConfig](#cfn-appsync-datasource-dynamodbconfig-deltasyncconfig): 
    DeltaSyncConfig
  [TableName](#cfn-appsync-datasource-dynamodbconfig-tablename): String
  [UseCallerCredentials](#cfn-appsync-datasource-dynamodbconfig-usecallercredentials): Boolean
  [Versioned](#cfn-appsync-datasource-dynamodbconfig-versioned): Boolean
```

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

`AwsRegion`  <a name="cfn-appsync-datasource-dynamodbconfig-awsregion"></a>
The AWS Region.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DeltaSyncConfig`  <a name="cfn-appsync-datasource-dynamodbconfig-deltasyncconfig"></a>
The `DeltaSyncConfig` for a versioned datasource.  
*Required*: No  
*Type*: [DeltaSyncConfig](aws-properties-appsync-datasource-deltasyncconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TableName`  <a name="cfn-appsync-datasource-dynamodbconfig-tablename"></a>
The table name.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`UseCallerCredentials`  <a name="cfn-appsync-datasource-dynamodbconfig-usecallercredentials"></a>
Set to `TRUE` to use AWS Identity and Access Management with this data source.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Versioned`  <a name="cfn-appsync-datasource-dynamodbconfig-versioned"></a>
Set to TRUE to use Conflict Detection and Resolution with this data source.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

The data source. This can be an API destination, resource, or AWS service.

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

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

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

```
{
  "[EventBusArn](#cfn-appsync-datasource-eventbridgeconfig-eventbusarn)" : String
}
```

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

```
  [EventBusArn](#cfn-appsync-datasource-eventbridgeconfig-eventbusarn): String
```

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

`EventBusArn`  <a name="cfn-appsync-datasource-eventbridgeconfig-eventbusarn"></a>
The event bus pipeline's ARN. For more information about event buses, see [EventBridge event buses](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html).  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

Use the `HttpConfig` property type to specify `HttpConfig` for an AWS AppSync data source.

`HttpConfig` is a property of the [AWS::AppSync::DataSource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html) resource. 

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

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

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

```
{
  "[AuthorizationConfig](#cfn-appsync-datasource-httpconfig-authorizationconfig)" : AuthorizationConfig,
  "[Endpoint](#cfn-appsync-datasource-httpconfig-endpoint)" : String
}
```

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

```
  [AuthorizationConfig](#cfn-appsync-datasource-httpconfig-authorizationconfig): 
    AuthorizationConfig
  [Endpoint](#cfn-appsync-datasource-httpconfig-endpoint): String
```

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

`AuthorizationConfig`  <a name="cfn-appsync-datasource-httpconfig-authorizationconfig"></a>
The authorization configuration.  
*Required*: No  
*Type*: [AuthorizationConfig](aws-properties-appsync-datasource-authorizationconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Endpoint`  <a name="cfn-appsync-datasource-httpconfig-endpoint"></a>
The endpoint.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

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

`LambdaConfig` is a property of the [AWS::AppSync::DataSource](https://docs.aws.amazon.com/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 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.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

The `OpenSearchServiceConfig` property type specifies the `AwsRegion` and `Endpoints` for an Amazon OpenSearch Service domain in your account for an AWS AppSync data source.

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

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

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

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

```
{
  "[AwsRegion](#cfn-appsync-datasource-opensearchserviceconfig-awsregion)" : String,
  "[Endpoint](#cfn-appsync-datasource-opensearchserviceconfig-endpoint)" : String
}
```

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

```
  [AwsRegion](#cfn-appsync-datasource-opensearchserviceconfig-awsregion): String
  [Endpoint](#cfn-appsync-datasource-opensearchserviceconfig-endpoint): String
```

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

`AwsRegion`  <a name="cfn-appsync-datasource-opensearchserviceconfig-awsregion"></a>
The AWS Region.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Endpoint`  <a name="cfn-appsync-datasource-opensearchserviceconfig-endpoint"></a>
The endpoint.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

Use the `RdsHttpEndpointConfig` property type to specify the `RdsHttpEndpoint` for an AWS AppSync relational database.

`RdsHttpEndpointConfig` is a property of the [AWS AppSync DataSource RelationalDatabaseConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig.html) resource.

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

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

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

```
{
  "[AwsRegion](#cfn-appsync-datasource-rdshttpendpointconfig-awsregion)" : String,
  "[AwsSecretStoreArn](#cfn-appsync-datasource-rdshttpendpointconfig-awssecretstorearn)" : String,
  "[DatabaseName](#cfn-appsync-datasource-rdshttpendpointconfig-databasename)" : String,
  "[DbClusterIdentifier](#cfn-appsync-datasource-rdshttpendpointconfig-dbclusteridentifier)" : String,
  "[Schema](#cfn-appsync-datasource-rdshttpendpointconfig-schema)" : String
}
```

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

```
  [AwsRegion](#cfn-appsync-datasource-rdshttpendpointconfig-awsregion): String
  [AwsSecretStoreArn](#cfn-appsync-datasource-rdshttpendpointconfig-awssecretstorearn): String
  [DatabaseName](#cfn-appsync-datasource-rdshttpendpointconfig-databasename): String
  [DbClusterIdentifier](#cfn-appsync-datasource-rdshttpendpointconfig-dbclusteridentifier): String
  [Schema](#cfn-appsync-datasource-rdshttpendpointconfig-schema): String
```

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

`AwsRegion`  <a name="cfn-appsync-datasource-rdshttpendpointconfig-awsregion"></a>
AWS Region for RDS HTTP endpoint.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`AwsSecretStoreArn`  <a name="cfn-appsync-datasource-rdshttpendpointconfig-awssecretstorearn"></a>
The ARN for database credentials stored in AWS Secrets Manager.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DatabaseName`  <a name="cfn-appsync-datasource-rdshttpendpointconfig-databasename"></a>
Logical database name.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DbClusterIdentifier`  <a name="cfn-appsync-datasource-rdshttpendpointconfig-dbclusteridentifier"></a>
Amazon RDS cluster Amazon Resource Name (ARN).  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Schema`  <a name="cfn-appsync-datasource-rdshttpendpointconfig-schema"></a>
Logical schema name.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

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

Use the `RelationalDatabaseConfig` property type to specify `RelationalDatabaseConfig` for an AWS AppSync data source. 

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

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

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

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

```
{
  "[RdsHttpEndpointConfig](#cfn-appsync-datasource-relationaldatabaseconfig-rdshttpendpointconfig)" : RdsHttpEndpointConfig,
  "[RelationalDatabaseSourceType](#cfn-appsync-datasource-relationaldatabaseconfig-relationaldatabasesourcetype)" : String
}
```

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

```
  [RdsHttpEndpointConfig](#cfn-appsync-datasource-relationaldatabaseconfig-rdshttpendpointconfig): 
    RdsHttpEndpointConfig
  [RelationalDatabaseSourceType](#cfn-appsync-datasource-relationaldatabaseconfig-relationaldatabasesourcetype): String
```

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

`RdsHttpEndpointConfig`  <a name="cfn-appsync-datasource-relationaldatabaseconfig-rdshttpendpointconfig"></a>
Information about the Amazon RDS resource.  
*Required*: No  
*Type*: [RdsHttpEndpointConfig](aws-properties-appsync-datasource-rdshttpendpointconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RelationalDatabaseSourceType`  <a name="cfn-appsync-datasource-relationaldatabaseconfig-relationaldatabasesourcetype"></a>
The type of relational data source.  
*Required*: Yes  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)