Class ElasticsearchDataSource
(deprecated) An Appsync datasource backed by Elasticsearch.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
[Obsolete("- use `OpenSearchDataSource`")]
public class ElasticsearchDataSource : BackedDataSource, IGrantable
Syntax (vb)
<Obsolete("- use `OpenSearchDataSource`")>
Public Class ElasticsearchDataSource Inherits BackedDataSource Implements IGrantable
Remarks
Stability: Deprecated
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;
using Amazon.CDK.AWS.Elasticsearch;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.Interfaces.AppSync;
Domain domain;
IGraphQLApiRef graphQLApiRef;
Role role;
var elasticsearchDataSource = new ElasticsearchDataSource(this, "MyElasticsearchDataSource", new ElasticsearchDataSourceProps {
Api = graphQLApiRef,
Domain = domain,
// the properties below are optional
Description = "description",
Name = "name",
ServiceRole = role
});
Synopsis
Constructors
| ElasticsearchDataSource(Construct, string, IElasticsearchDataSourceProps) | (deprecated) An Appsync datasource backed by Elasticsearch. |
Constructors
ElasticsearchDataSource(Construct, string, IElasticsearchDataSourceProps)
(deprecated) An Appsync datasource backed by Elasticsearch.
[Obsolete]
public ElasticsearchDataSource(Construct scope, string id, IElasticsearchDataSourceProps props)
Parameters
- scope Construct
- id string
- props IElasticsearchDataSourceProps
Remarks
Stability: Deprecated