Class CfnDataSource.ElasticsearchConfigProperty
The ElasticsearchConfig
property type specifies the AwsRegion
and Endpoints
for an Amazon OpenSearch Service domain in your account for an AWS AppSync data source.
Inheritance
System.Object
CfnDataSource.ElasticsearchConfigProperty
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ElasticsearchConfigProperty : Object, CfnDataSource.IElasticsearchConfigProperty
Syntax (vb)
Public Class ElasticsearchConfigProperty
Inherits Object
Implements CfnDataSource.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
Constructors
ElasticsearchConfigProperty() |
Properties
AwsRegion | The AWS Region. |
Endpoint | The endpoint. |
Constructors
ElasticsearchConfigProperty()
public ElasticsearchConfigProperty()
Properties
AwsRegion
The AWS Region.
public string AwsRegion { get; set; }
Property Value
System.String
Remarks
Endpoint
The endpoint.
public string Endpoint { get; set; }
Property Value
System.String