Show / Hide Table of Contents

Class ElasticsearchDataSource

(deprecated) An Appsync datasource backed by Elasticsearch.

Inheritance
object
BaseDataSource
BackedDataSource
ElasticsearchDataSource
Implements
IGrantable
Inherited Members
BackedDataSource.GrantPrincipal
BaseDataSource.CreateFunction(string, IBaseAppsyncFunctionProps)
BaseDataSource.CreateResolver(string, IBaseResolverProps)
BaseDataSource.Ds
BaseDataSource.Name
BaseDataSource.Api
BaseDataSource.ServiceRole
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

Implements

IGrantable
Back to top Generated by DocFX