Interface BaseDataSourceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
BackedDataSourceProps, DynamoDbDataSourceProps, ElasticsearchDataSourceProps, HttpDataSourceProps, LambdaDataSourceProps, NoneDataSourceProps, OpenSearchDataSourceProps, RdsDataSourceProps
All Known Implementing Classes:
BackedDataSourceProps.Jsii$Proxy, BaseDataSourceProps.Jsii$Proxy, DynamoDbDataSourceProps.Jsii$Proxy, ElasticsearchDataSourceProps.Jsii$Proxy, HttpDataSourceProps.Jsii$Proxy, LambdaDataSourceProps.Jsii$Proxy, NoneDataSourceProps.Jsii$Proxy, OpenSearchDataSourceProps.Jsii$Proxy, RdsDataSourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.370Z") @Stability(Experimental) public interface BaseDataSourceProps extends software.amazon.jsii.JsiiSerializable
(experimental) Base properties for an AppSync datasource.

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.*;
 GraphqlApi graphqlApi;
 BaseDataSourceProps baseDataSourceProps = BaseDataSourceProps.builder()
         .api(graphqlApi)
         // the properties below are optional
         .description("description")
         .name("name")
         .build();
 
  • Method Details

    • getApi

      @Stability(Experimental) @NotNull IGraphqlApi getApi()
      (experimental) The API to attach this data source to.
    • getDescription

      @Stability(Experimental) @Nullable default String getDescription()
      (experimental) the description of the data source.

      Default: - None

    • getName

      @Stability(Experimental) @Nullable default String getName()
      (experimental) The name of the data source.

      Default: - id of data source

    • builder

      @Stability(Experimental) static BaseDataSourceProps.Builder builder()
      Returns:
      a BaseDataSourceProps.Builder of BaseDataSourceProps