Class ElasticsearchDataSourceProps
(deprecated) Properties for the Elasticsearch Data Source.
Inheritance
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ElasticsearchDataSourceProps : Object, IElasticsearchDataSourceProps, IBackedDataSourceProps, IBaseDataSourceProps
Syntax (vb)
Public Class ElasticsearchDataSourceProps
Inherits Object
Implements IElasticsearchDataSourceProps, IBackedDataSourceProps, IBaseDataSourceProps
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 elasticsearchDataSourceProps = new ElasticsearchDataSourceProps {
Api = graphqlApi,
Domain = domain,
// the properties below are optional
Description = "description",
Name = "name",
ServiceRole = role
};
Synopsis
Constructors
ElasticsearchDataSourceProps() |
Properties
Api | The API to attach this data source to. |
Description | the description of the data source. |
Domain | (deprecated) The elasticsearch domain containing the endpoint for the data source. |
Name | The name of the data source. |
ServiceRole | The IAM service role to be assumed by AppSync to interact with the data source. |
Constructors
ElasticsearchDataSourceProps()
public ElasticsearchDataSourceProps()
Properties
Api
The API to attach this data source to.
public IGraphqlApi Api { get; set; }
Property Value
Description
the description of the data source.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - None
Domain
(deprecated) The elasticsearch domain containing the endpoint for the data source.
public IDomain Domain { get; set; }
Property Value
Remarks
Stability: Deprecated
Name
The name of the data source.
public string Name { get; set; }
Property Value
System.String
Remarks
Default: - id of data source
ServiceRole
The IAM service role to be assumed by AppSync to interact with the data source.
public IRole ServiceRole { get; set; }
Property Value
Remarks
Default: - Create a new role