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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpApiAttributesstatic final classAn implementation forHttpApiAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpApiAttributes.Builderbuilder()default String(experimental) The endpoint URL of the HttpApi.(experimental) The identifier of the HttpApi.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpApiId
(experimental) The identifier of the HttpApi. -
getApiEndpoint
(experimental) The endpoint URL of the HttpApi.Default: - throws an error if apiEndpoint is accessed.
-
builder
- Returns:
- a
HttpApiAttributes.BuilderofHttpApiAttributes
-