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