Class AppSyncOpenSearchDataSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.appsync.AppSyncBaseDataSource
software.amazon.awscdk.services.appsync.AppSyncBackedDataSource
software.amazon.awscdk.services.appsync.AppSyncOpenSearchDataSource
- All Implemented Interfaces:
IGrantable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:05.067Z")
@Stability(Stable)
public class AppSyncOpenSearchDataSource
extends AppSyncBackedDataSource
An Appsync datasource backed by OpenSearch.
Example:
import software.amazon.awscdk.services.opensearchservice.*;
Domain domain = Domain.Builder.create(this, "Domain")
.version(EngineVersion.OPENSEARCH_2_17)
.encryptionAtRest(EncryptionAtRestOptions.builder()
.enabled(true)
.build())
.nodeToNodeEncryption(true)
.enforceHttps(true)
.capacity(CapacityConfig.builder()
.multiAzWithStandbyEnabled(false)
.build())
.ebs(EbsOptions.builder()
.enabled(true)
.volumeSize(10)
.build())
.build();
EventApi api = EventApi.Builder.create(this, "EventApiOpenSearch")
.apiName("OpenSearchEventApi")
.build();
AppSyncOpenSearchDataSource dataSource = api.addOpenSearchDataSource("opensearchds", domain);
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forAppSyncOpenSearchDataSource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppSyncOpenSearchDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAppSyncOpenSearchDataSource(software.amazon.jsii.JsiiObjectRef objRef) AppSyncOpenSearchDataSource(software.constructs.Construct scope, String id, AppSyncOpenSearchDataSourceProps props) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.appsync.AppSyncBackedDataSource
getGrantPrincipalMethods inherited from class software.amazon.awscdk.services.appsync.AppSyncBaseDataSource
getApi, getName, getResource, getServiceRole, setApi, setServiceRoleMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AppSyncOpenSearchDataSource
protected AppSyncOpenSearchDataSource(software.amazon.jsii.JsiiObjectRef objRef) -
AppSyncOpenSearchDataSource
protected AppSyncOpenSearchDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AppSyncOpenSearchDataSource
@Stability(Stable) public AppSyncOpenSearchDataSource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AppSyncOpenSearchDataSourceProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-