Interface BackedDataSourceProps
- All Superinterfaces:
BaseDataSourceProps,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DynamoDbDataSourceProps,ElasticsearchDataSourceProps,EventBridgeDataSourceProps,HttpDataSourceProps,LambdaDataSourceProps,OpenSearchDataSourceProps,RdsDataSourceProps,RdsDataSourcePropsV2
- All Known Implementing Classes:
BackedDataSourceProps.Jsii$Proxy,DynamoDbDataSourceProps.Jsii$Proxy,ElasticsearchDataSourceProps.Jsii$Proxy,EventBridgeDataSourceProps.Jsii$Proxy,HttpDataSourceProps.Jsii$Proxy,LambdaDataSourceProps.Jsii$Proxy,OpenSearchDataSourceProps.Jsii$Proxy,RdsDataSourceProps.Jsii$Proxy,RdsDataSourcePropsV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:45.379Z")
@Stability(Stable)
public interface BackedDataSourceProps
extends software.amazon.jsii.JsiiSerializable, BaseDataSourceProps
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
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
-