Class ElasticsearchDataSource
(deprecated) An Appsync datasource backed by Elasticsearch.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ElasticsearchDataSource : BackedDataSource, IGrantable
Syntax (vb)
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;
Domain domain;
GraphqlApi graphqlApi;
Role role;
var elasticsearchDataSource = new ElasticsearchDataSource(this, "MyElasticsearchDataSource", new ElasticsearchDataSourceProps {
Api = graphqlApi,
Domain = domain,
// the properties below are optional
Description = "description",
Name = "name",
ServiceRole = role
});
Synopsis
Constructors
ElasticsearchDataSource(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ElasticsearchDataSource(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ElasticsearchDataSource(Construct, String, IElasticsearchDataSourceProps) |
Constructors
ElasticsearchDataSource(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ElasticsearchDataSource(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ElasticsearchDataSource(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ElasticsearchDataSource(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ElasticsearchDataSource(Construct, String, IElasticsearchDataSourceProps)
public ElasticsearchDataSource(Construct scope, string id, IElasticsearchDataSourceProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IElasticsearchDataSourceProps
Remarks
Stability: Deprecated