Class ElasticsearchDataSource

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.491Z") @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.