Interface HttpApiAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
HttpApiAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.249Z") @Stability(Experimental) public interface HttpApiAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Attributes for importing an HttpApi into the CDK.

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.apigatewayv2.*;
 HttpApiAttributes httpApiAttributes = HttpApiAttributes.builder()
         .httpApiId("httpApiId")
         // the properties below are optional
         .apiEndpoint("apiEndpoint")
         .build();
 
  • Method Details

    • getHttpApiId

      @Stability(Experimental) @NotNull String getHttpApiId()
      (experimental) The identifier of the HttpApi.
    • getApiEndpoint

      @Stability(Experimental) @Nullable default String getApiEndpoint()
      (experimental) The endpoint URL of the HttpApi.

      Default: - throws an error if apiEndpoint is accessed.

    • builder

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