Describe the feature
Subnet v1 supports the mapPublicIpOnLaunch prop while SubnetV2 does not. Add support for that prop.
https://github.com/aws/aws-cdk/blob/v2.167.1/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts#L2091-L2097
Use Case
To maintain feature parity with Subnet V1.
mapPublicIpOnLaunch is useful for public asgs templates. https://stackoverflow.com/questions/72285006/how-to-enable-public-ip-addresses-when-using-autoscaling-group-launch-templates
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.167.0-alpha.0
Environment details (OS name and version, etc.)
MacOS
Describe the feature
Subnet v1 supports the mapPublicIpOnLaunch prop while SubnetV2 does not. Add support for that prop.
https://github.com/aws/aws-cdk/blob/v2.167.1/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts#L2091-L2097
Use Case
To maintain feature parity with Subnet V1.
mapPublicIpOnLaunch is useful for public asgs templates. https://stackoverflow.com/questions/72285006/how-to-enable-public-ip-addresses-when-using-autoscaling-group-launch-templates
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.167.0-alpha.0
Environment details (OS name and version, etc.)
MacOS