Interface HttpApiAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpApiAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:13.851Z")
@Stability(Stable)
public interface HttpApiAttributes
extends software.amazon.jsii.JsiiSerializable
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 StringThe endpoint URL of the HttpApi.The identifier of the HttpApi.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpApiId
The identifier of the HttpApi.- See Also:
-
getApiEndpoint
The endpoint URL of the HttpApi.Default: - throws an error if apiEndpoint is accessed.
-
builder
- Returns:
- a
HttpApiAttributes.BuilderofHttpApiAttributes
-