Skip to content

Missing some SecurityPolicy for API Gateway v2 #3376

@ivoire

Description

@ivoire

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

  • Select this option if this issue appears to be a regression.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions