aws-cdk-lib.aws_appsync.CfnDataSource.OpenSearchServiceConfigProperty

interface OpenSearchServiceConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.AppSync.CfnDataSource.OpenSearchServiceConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnDataSource_OpenSearchServiceConfigProperty
Javasoftware.amazon.awscdk.services.appsync.CfnDataSource.OpenSearchServiceConfigProperty
Pythonaws_cdk.aws_appsync.CfnDataSource.OpenSearchServiceConfigProperty
TypeScript aws-cdk-lib » aws_appsync » CfnDataSource » OpenSearchServiceConfigProperty

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 property type.

Example

// 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 openSearchServiceConfigProperty: appsync.CfnDataSource.OpenSearchServiceConfigProperty = {
  awsRegion: 'awsRegion',
  endpoint: 'endpoint',
};

Properties

NameTypeDescription
awsRegionstringThe AWS Region.
endpointstringThe endpoint.

awsRegion

Type: string

The AWS Region.


endpoint

Type: string

The endpoint.