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.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.484Z") @Stability(Experimental) public interface DataSourceOptions extends software.amazon.jsii.JsiiSerializable
(experimental) 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(Experimental) @Nullable default String getDescription()
      (experimental) The description of the data source.

      Default: - No description

    • getName

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

      Default: - generated by cdk given the id

    • builder

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