Skip to content

aws-cdk-lib/aws-lambda: Add allowAllIpv6Outbound option to lambda function props #30994

@mawallace

Description

@mawallace

Describe the feature

There is already an allowAllOutbound option. It confused my that this did not actually allow all outbound (only all IPv4 outbound), given that there was no corresponding IPv6 option. I think adding the option would make this more clear. It would also mirror the options on security group props.

Use Case

It's nice to be able to define a lambda function without explicitly setting up security groups. This option would allow me to do this when I need to allow outbound IPv6 traffic.

Proposed Solution

It looks like we'd just need to pipe this option through to the security group that gets created (it's already an option on security groups).

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

3.616

Environment details (OS name and version, etc.)

Ubuntu 22.04.4

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-lambdaRelated to AWS Lambdaeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions