@Stability(value=Stable)
public static interface CfnDataSource.ElasticsearchConfigProperty
extends software.amazon.jsii.JsiiSerializable
ElasticsearchConfig is a property of the AWS::AppSync::DataSource property type.
As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service . This property is deprecated. For new data sources, use OpenSearchServiceConfig to specify an OpenSearch Service 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.*;
ElasticsearchConfigProperty elasticsearchConfigProperty = ElasticsearchConfigProperty.builder()
.awsRegion("awsRegion")
.endpoint("endpoint")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ElasticsearchConfigProperty.Builder
A builder for
CfnDataSource.ElasticsearchConfigProperty |
static class |
CfnDataSource.ElasticsearchConfigProperty.Jsii$Proxy
An implementation for
CfnDataSource.ElasticsearchConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ElasticsearchConfigProperty.Builder |
builder() |
String |
getAwsRegion()
The AWS Region.
|
String |
getEndpoint()
The endpoint.
|
@Stability(value=Stable) @NotNull String getAwsRegion()
@Stability(value=Stable) @NotNull String getEndpoint()
@Stability(value=Stable) static CfnDataSource.ElasticsearchConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.