Class ElasticsearchDataSource

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IGrantable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:14.646Z") @Stability(Deprecated) @Deprecated public class ElasticsearchDataSource extends BackedDataSource
Deprecated.
  • use OpenSearchDataSource
(deprecated) An Appsync datasource backed by Elasticsearch.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appsync.*;
 import software.amazon.awscdk.services.elasticsearch.*;
 import software.amazon.awscdk.services.iam.*;
 Domain domain;
 GraphqlApi graphqlApi;
 Role role;
 ElasticsearchDataSource elasticsearchDataSource = ElasticsearchDataSource.Builder.create(this, "MyElasticsearchDataSource")
         .api(graphqlApi)
         .domain(domain)
         // the properties below are optional
         .description("description")
         .name("name")
         .serviceRole(role)
         .build();
 

  • Constructor Details

    • ElasticsearchDataSource

      protected ElasticsearchDataSource(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • ElasticsearchDataSource

      protected ElasticsearchDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • ElasticsearchDataSource

      @Stability(Deprecated) @Deprecated public ElasticsearchDataSource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ElasticsearchDataSourceProps props)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.