Interface OpenSearchDataSourceProps
- All Superinterfaces:
BackedDataSourceProps,BaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OpenSearchDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:29.009Z")
@Stability(Stable)
public interface OpenSearchDataSourceProps
extends software.amazon.jsii.JsiiSerializable, BackedDataSourceProps
Properties for the OpenSearch Data Source.
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.iam.*;
import software.amazon.awscdk.services.opensearchservice.*;
Domain domain;
GraphqlApi graphqlApi;
Role role;
OpenSearchDataSourceProps openSearchDataSourceProps = OpenSearchDataSourceProps.builder()
.api(graphqlApi)
.domain(domain)
// the properties below are optional
.description("description")
.name("name")
.serviceRole(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forOpenSearchDataSourcePropsstatic final classAn implementation forOpenSearchDataSourceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The OpenSearch domain containing the endpoint for the data source.Methods inherited from interface software.amazon.awscdk.services.appsync.BackedDataSourceProps
getServiceRoleMethods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
getApi, getDescription, getNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomain
The OpenSearch domain containing the endpoint for the data source. -
builder
- Returns:
- a
OpenSearchDataSourceProps.BuilderofOpenSearchDataSourceProps
-