Interface BackedDataSourceProps
- All Superinterfaces:
BaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DynamoDbDataSourceProps,ElasticsearchDataSourceProps,LambdaDataSourceProps,OpenSearchDataSourceProps,RdsDataSourceProps
- All Known Implementing Classes:
BackedDataSourceProps.Jsii$Proxy,DynamoDbDataSourceProps.Jsii$Proxy,ElasticsearchDataSourceProps.Jsii$Proxy,LambdaDataSourceProps.Jsii$Proxy,OpenSearchDataSourceProps.Jsii$Proxy,RdsDataSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.366Z")
@Stability(Experimental)
public interface BackedDataSourceProps
extends software.amazon.jsii.JsiiSerializable, BaseDataSourceProps
(experimental) properties for an AppSync datasource backed by a resource.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBackedDataSourcePropsstatic final classAn implementation forBackedDataSourceProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
getApi, getDescription, getNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getServiceRole
(experimental) The IAM service role to be assumed by AppSync to interact with the data source.Default: - Create a new role
-
builder
- Returns:
- a
BackedDataSourceProps.BuilderofBackedDataSourceProps
-