@Stability(value=Deprecated) @Deprecated public static final class ElasticsearchDataSource.Builder extends Object implements software.amazon.jsii.Builder<ElasticsearchDataSource>
ElasticsearchDataSource.| Modifier and Type | Method and Description |
|---|---|
ElasticsearchDataSource.Builder |
api(IGraphqlApi api)
Deprecated.
(experimental) The API to attach this data source to.
|
ElasticsearchDataSource |
build()
Deprecated.
|
static ElasticsearchDataSource.Builder |
create(software.constructs.Construct scope,
String id)
Deprecated.
|
ElasticsearchDataSource.Builder |
description(String description)
Deprecated.
(experimental) the description of the data source.
|
ElasticsearchDataSource.Builder |
domain(IDomain domain)
Deprecated.
|
ElasticsearchDataSource.Builder |
name(String name)
Deprecated.
(experimental) The name of the data source.
|
ElasticsearchDataSource.Builder |
serviceRole(IRole serviceRole)
Deprecated.
(experimental) The IAM service role to be assumed by AppSync to interact with the data source.
|
@Stability(value=Deprecated) @Deprecated public static ElasticsearchDataSource.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ElasticsearchDataSource.Builder.@Stability(value=Experimental) public ElasticsearchDataSource.Builder api(IGraphqlApi api)
api - The API to attach this data source to. This parameter is required.this@Stability(value=Experimental) public ElasticsearchDataSource.Builder description(String description)
Default: - None
description - the description of the data source. This parameter is required.this@Stability(value=Experimental) public ElasticsearchDataSource.Builder name(String name)
Default: - id of data source
name - The name of the data source. This parameter is required.this@Stability(value=Experimental) public ElasticsearchDataSource.Builder serviceRole(IRole serviceRole)
Default: - Create a new role
serviceRole - The IAM service role to be assumed by AppSync to interact with the data source. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ElasticsearchDataSource.Builder domain(IDomain domain)
domain - The elasticsearch domain containing the endpoint for the data source. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ElasticsearchDataSource build()
build in interface software.amazon.jsii.Builder<ElasticsearchDataSource>Copyright © 2022. All rights reserved.