Interface DataSourceOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
HttpDataSourceOptions
All Known Implementing Classes:
DataSourceOptions.Jsii$Proxy, HttpDataSourceOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:25.772Z") @Stability(Stable) public interface DataSourceOptions extends software.amazon.jsii.JsiiSerializable
Optional configuration for data sources.

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.*;
 DataSourceOptions dataSourceOptions = DataSourceOptions.builder()
         .description("description")
         .name("name")
         .build();
 
  • Method Details

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the data source.

      Default: - No description

    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the data source, overrides the id given by cdk.

      Default: - generated by cdk given the id

    • builder

      @Stability(Stable) static DataSourceOptions.Builder builder()
      Returns:
      a DataSourceOptions.Builder of DataSourceOptions