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.101.0 (build b95fe5d)", date="2024-07-11T03:45:50.085Z") @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.