# RdsHttpEndpointConfigProperty

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const rdsHttpEndpointConfigProperty: appsync.CfnDataSource.RdsHttpEndpointConfigProperty = {
  awsRegion: 'awsRegion',
  awsSecretStoreArn: 'awsSecretStoreArn',
  dbClusterIdentifier: 'dbClusterIdentifier',

  // the properties below are optional
  databaseName: 'databaseName',
  schema: 'schema',
};
```

Python:

```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_appsync as appsync

rds_http_endpoint_config_property = appsync.CfnDataSource.RdsHttpEndpointConfigProperty(
    aws_region="awsRegion",
    aws_secret_store_arn="awsSecretStoreArn",
    db_cluster_identifier="dbClusterIdentifier",

    # the properties below are optional
    database_name="databaseName",
    schema="schema"
)
```

Java:

```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.appsync.*;

RdsHttpEndpointConfigProperty rdsHttpEndpointConfigProperty = RdsHttpEndpointConfigProperty.builder()
        .awsRegion("awsRegion")
        .awsSecretStoreArn("awsSecretStoreArn")
        .dbClusterIdentifier("dbClusterIdentifier")

        // the properties below are optional
        .databaseName("databaseName")
        .schema("schema")
        .build();
```

C# / .NET:

```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.AppSync;

var rdsHttpEndpointConfigProperty = new RdsHttpEndpointConfigProperty {
    AwsRegion = "awsRegion",
    AwsSecretStoreArn = "awsSecretStoreArn",
    DbClusterIdentifier = "dbClusterIdentifier",

    // the properties below are optional
    DatabaseName = "databaseName",
    Schema = "schema"
};
```

Golang:

```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"

rdsHttpEndpointConfigProperty := &RdsHttpEndpointConfigProperty{
	AwsRegion: jsii.String("awsRegion"),
	AwsSecretStoreArn: jsii.String("awsSecretStoreArn"),
	DbClusterIdentifier: jsii.String("dbClusterIdentifier"),

	// the properties below are optional
	DatabaseName: jsii.String("databaseName"),
	Schema: jsii.String("schema"),
}
```

## Properties

- `awsRegion`: string (required) — AWS Region for RDS HTTP endpoint.

- `awsSecretStoreArn`: string (required) — The ARN for database credentials stored in AWS Secrets Manager .

- `databaseName`: string — Logical database name.

- `dbClusterIdentifier`: string (required) — Amazon RDS cluster Amazon Resource Name (ARN).

- `schema`: string — Logical schema name.
