Skip to content
v2.274.0

OpenSearchServiceConfigProperty Struct ​

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 ​

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

Properties ​

awsRegionstringaws_regionstrawsRegionStringAwsRegionstringAwsRegion*stringrequired#
The AWS Region.
endpointstringendpointstrendpointStringEndpointstringEndpoint*stringrequired#
The endpoint.