@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.999Z") @Stability(value=Experimental) public interface BackedDataSourceProps extends software.amazon.jsii.JsiiSerializable, BaseDataSourceProps
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.*;
GraphqlApi graphqlApi;
Role role;
BackedDataSourceProps backedDataSourceProps = BackedDataSourceProps.builder()
.api(graphqlApi)
// the properties below are optional
.description("description")
.name("name")
.serviceRole(role)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
BackedDataSourceProps.Builder
A builder for
BackedDataSourceProps |
static class |
BackedDataSourceProps.Jsii$Proxy
An implementation for
BackedDataSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static BackedDataSourceProps.Builder |
builder() |
default IRole |
getServiceRole()
(experimental) The IAM service role to be assumed by AppSync to interact with the data source.
|
getApi, getDescription, getName@Stability(value=Experimental) @Nullable default IRole getServiceRole()
Default: - Create a new role
@Stability(value=Experimental) static BackedDataSourceProps.Builder builder()
builder in interface BaseDataSourcePropsBackedDataSourceProps.Builder of BackedDataSourcePropsCopyright © 2022. All rights reserved.