Interface BackedDataSourceProps
- All Superinterfaces:
BaseDataSourceProps
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DynamoDbDataSourceProps
,ElasticsearchDataSourceProps
,EventBridgeDataSourceProps
,LambdaDataSourceProps
,OpenSearchDataSourceProps
,RdsDataSourceProps
,RdsDataSourcePropsV2
- All Known Implementing Classes:
BackedDataSourceProps.Jsii$Proxy
,DynamoDbDataSourceProps.Jsii$Proxy
,ElasticsearchDataSourceProps.Jsii$Proxy
,EventBridgeDataSourceProps.Jsii$Proxy
,LambdaDataSourceProps.Jsii$Proxy
,OpenSearchDataSourceProps.Jsii$Proxy
,RdsDataSourceProps.Jsii$Proxy
,RdsDataSourcePropsV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.321Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBackedDataSourceProps
static final class
An implementation forBackedDataSourceProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appsync.BaseDataSourceProps
getApi, getDescription, getName
Methods 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.Builder
ofBackedDataSourceProps
-