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.104.0 (build e79254c)", date="2024-11-22T02:23:57.161Z") @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