Interface OpenSearchDataSourceProps
- All Superinterfaces:
BackedDataSourceProps
,BaseDataSourceProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OpenSearchDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.423Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forOpenSearchDataSourceProps
static final class
An 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
getServiceRole
Methods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
getApi, getDescription, getName
Methods 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.Builder
ofOpenSearchDataSourceProps
-