Uses of Class
software.amazon.awscdk.services.appsync.LambdaDataSource.Builder
Packages that use LambdaDataSource.Builder
-
Uses of LambdaDataSource.Builder in software.amazon.awscdk.services.appsync
Methods in software.amazon.awscdk.services.appsync that return LambdaDataSource.BuilderModifier and TypeMethodDescriptionLambdaDataSource.Builder.api(IGraphQLApiRef api) The API to attach this data source to.static LambdaDataSource.BuilderLambdaDataSource.Builder.description(String description) the description of the data source.LambdaDataSource.Builder.lambdaFunction(IFunction lambdaFunction) The Lambda function to call to interact with this data source.LambdaDataSource.Builder.metricsConfig(DataSourceMetricsConfig metricsConfig) Whether to enable enhanced metrics of the data source Value will be ignored, ifenhancedMetricsConfig.dataSourceLevelMetricsBehavioron AppSync GraphqlApi construct is set toFULL_REQUEST_DATA_SOURCE_METRICS.The name of the data source.LambdaDataSource.Builder.serviceRole(IRole serviceRole) The IAM service role to be assumed by AppSync to interact with the data source.