Interface HttpDataSourceProps

All Superinterfaces:
BaseDataSourceProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
HttpDataSourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.514Z") @Stability(Experimental) public interface HttpDataSourceProps extends software.amazon.jsii.JsiiSerializable, BaseDataSourceProps
(experimental) Properties for an AppSync http 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;
 HttpDataSourceProps httpDataSourceProps = HttpDataSourceProps.builder()
         .api(graphqlApi)
         .endpoint("endpoint")
         // the properties below are optional
         .authorizationConfig(AwsIamConfig.builder()
                 .signingRegion("signingRegion")
                 .signingServiceName("signingServiceName")
                 .build())
         .description("description")
         .name("name")
         .build();
 
  • Method Details

    • getEndpoint

      @Stability(Experimental) @NotNull String getEndpoint()
      (experimental) The http endpoint.
    • getAuthorizationConfig

      @Stability(Experimental) @Nullable default AwsIamConfig getAuthorizationConfig()
      (experimental) The authorization config in case the HTTP endpoint requires authorization.

      Default: - none

    • builder

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