Interface BaseAppsyncFunctionProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.367Z") @Stability(Experimental) public interface BaseAppsyncFunctionProps extends software.amazon.jsii.JsiiSerializable
(experimental) the base properties for AppSync Functions.

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.*;
 MappingTemplate mappingTemplate;
 BaseAppsyncFunctionProps baseAppsyncFunctionProps = BaseAppsyncFunctionProps.builder()
         .name("name")
         // the properties below are optional
         .description("description")
         .requestMappingTemplate(mappingTemplate)
         .responseMappingTemplate(mappingTemplate)
         .build();
 
  • Method Details

    • getName

      @Stability(Experimental) @NotNull String getName()
      (experimental) the name of the AppSync Function.
    • getDescription

      @Stability(Experimental) @Nullable default String getDescription()
      (experimental) the description for this AppSync Function.

      Default: - no description

    • getRequestMappingTemplate

      @Stability(Experimental) @Nullable default MappingTemplate getRequestMappingTemplate()
      (experimental) the request mapping template for the AppSync Function.

      Default: - no request mapping template

    • getResponseMappingTemplate

      @Stability(Experimental) @Nullable default MappingTemplate getResponseMappingTemplate()
      (experimental) the response mapping template for the AppSync Function.

      Default: - no response mapping template

    • builder

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