Add endpointConfiguration trait#3088
Merged
sugmanue merged 4 commits intosmithy-lang:mainfrom May 7, 2026
Merged
Conversation
API Gateway REST APIs have an endpoint configuration that specifies the endpoint type (EDGE, REGIONAL, or PRIVATE), optional VPC endpoint IDs, and whether the default execute-api endpoint is disabled. Add the `aws.apigateway#endpointConfiguration` structure trait with a required `types` enum list, optional `vpcEndpointIds` list, and optional `disableExecuteApiEndpoint` boolean. No OpenAPI mapper is included; `vpcEndpointIds` and `disableExecuteApiEndpoint` exist in the `x-amazon-apigateway-endpoint-configuration` extension but a mapper can be added separately if needed.
6c80e92 to
1f4429b
Compare
kstich
requested changes
May 4, 2026
kstich
reviewed
May 4, 2026
Expand 'VPC' to 'Virtual Private Cloud (VPC)' and link 'endpoint IDs' to the VPC PrivateLink documentation in the trait summary. Update changelog to past tense with backticks.
38f0089 to
67f880d
Compare
kstich
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
API Gateway REST APIs have an endpoint configuration that specifies the endpoint type (EDGE, REGIONAL, or PRIVATE), optional VPC endpoint IDs, and whether the default execute-api endpoint is disabled.
Add the
aws.apigateway#endpointConfigurationstructure trait with a requiredtypesenum list, optionalvpcEndpointIdslist, and optionaldisableExecuteApiEndpointboolean. No OpenAPI mapper is included;vpcEndpointIdsanddisableExecuteApiEndpointexist in thex-amazon-apigateway-endpoint-configurationextension but a mapper can be added separately if needed.Background
endpointConfigurationstructure trait tosmithy-aws-apigateway-traitswith a requiredtypesfield (enum list:EDGE,REGIONAL,PRIVATE), optionalvpcEndpointIds(string list), and optionaldisableExecuteApiEndpoint(boolean).amazon-apigateway.rst.x-amazon-apigateway-endpoint-configurationextension supportsvpcEndpointIdsanddisableExecuteApiEndpointfor REST APIs, buttypesis not part of the extension (it comes from import parameters). A mapper for the supported fields can be added separately.jsonAddworkarounds or set these values outside the model.Testing
toBuilder()round-trip verified in each builder testLinks
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.