Interface AwsApiCallOptions

All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
AwsApiCallOptions.Jsii$Proxy, AwsApiCallProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-30T02:11:15.721Z") @Stability(Experimental) public interface AwsApiCallOptions extends
(experimental) Options to perform an AWS JavaScript V2 API call.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object parameters;
 AwsApiCallOptions awsApiCallOptions = AwsApiCallOptions.builder()
         // the properties below are optional
  • Method Details

    • getApi

      @Stability(Experimental) @NotNull String getApi()
      (experimental) The api call to make, i.e. getBucketLifecycle.
    • getService

      @Stability(Experimental) @NotNull String getService()
      (experimental) The AWS service, i.e. S3.
    • getOutputPaths

      @Stability(Experimental) @Nullable default List<String> getOutputPaths()
      (experimental) Restrict the data returned by the API call to specific paths in the API response.

      Use this to limit the data returned by the custom resource if working with API calls that could potentially result in custom response objects exceeding the hard limit of 4096 bytes.

      Default: - return all data

    • getParameters

      @Stability(Experimental) @Nullable default Object getParameters()
      (experimental) Any parameters to pass to the api call.

      Default: - no parameters

    • builder

      @Stability(Experimental) static AwsApiCallOptions.Builder builder()
      a AwsApiCallOptions.Builder of AwsApiCallOptions