Acknowledgements
Describe the bug
For API Gateway v2, the SDK only provide TLS_1_0 and TLS_1_2 as options for the security policy while the service does support the same set of security policy as API Gateway (v1). See https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-security-policies-list.html
This is a followup of #3375 and is linked to hashicorp/terraform-provider-aws#46611
Regression Issue
Expected Behavior
Support all the SecurityPolicies mentioned here https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-security-policies-list.html
Current Behavior
Only TLS_1_0 and TLS_1_2 are allowed.
Reproduction Steps
service/apigatewayv2/types/enums.go should list all security policies.
Possible Solution
This is an issue of the model, as described in https://github.com/aws/aws-sdk-go-v2/blob/main/CONTRIBUTING.md#generated-source--api-models (second item).
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
main branch.
Compiler and Version used
go version go1.24.4 linux/amd64
Operating System and version
Debian 12
Acknowledgements
go get -u github.com/aws/aws-sdk-go-v2/...)Describe the bug
For API Gateway v2, the SDK only provide
TLS_1_0andTLS_1_2as options for the security policy while the service does support the same set of security policy as API Gateway (v1). See https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-security-policies-list.htmlThis is a followup of #3375 and is linked to hashicorp/terraform-provider-aws#46611
Regression Issue
Expected Behavior
Support all the SecurityPolicies mentioned here https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-security-policies-list.html
Current Behavior
Only TLS_1_0 and TLS_1_2 are allowed.
Reproduction Steps
service/apigatewayv2/types/enums.go should list all security policies.
Possible Solution
This is an issue of the model, as described in https://github.com/aws/aws-sdk-go-v2/blob/main/CONTRIBUTING.md#generated-source--api-models (second item).
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
main branch.
Compiler and Version used
go version go1.24.4 linux/amd64
Operating System and version
Debian 12