Interface CfnDataSource.IElasticsearchConfigProperty
The ElasticsearchConfig
property type specifies the AwsRegion
and Endpoints
for an Amazon OpenSearch Service domain in your account for an AWS AppSync data source.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IElasticsearchConfigProperty
Syntax (vb)
Public Interface IElasticsearchConfigProperty
Remarks
ElasticsearchConfig is a property of the AWS::AppSync::DataSource property type.
As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service . This property is deprecated. For new data sources, use OpenSearchServiceConfig to specify an OpenSearch Service data source.
ExampleMetadata: fixture=_generated
Examples
// 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 elasticsearchConfigProperty = new ElasticsearchConfigProperty {
AwsRegion = "awsRegion",
Endpoint = "endpoint"
};
Synopsis
Properties
AwsRegion | The AWS Region. |
Endpoint | The endpoint. |
Properties
AwsRegion
The AWS Region.
string AwsRegion { get; }
Property Value
System.String
Remarks
Endpoint
The endpoint.
string Endpoint { get; }
Property Value
System.String