Skip to content

aws-cloudfront-origins: add support for IPv6 origins #35427

@tgmedia-nz

Description

@tgmedia-nz

Describe the feature

When defining a http (custom) origin, there is a new feature in CFN to define the origin "IpAddressType":

https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-cloudfront-distribution-customoriginconfig.html

This allows

Allowed values: ipv4 | ipv6 | dualstack

Use Case

This is new and I'm needing to convert my environments all into IPv6 only and get away from IPv4 charges :)

Proposed Solution

This should probably be part of cloudfront_origins.HttpOrigin (https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_cloudfront_origins/HttpOrigin.html)

Other Information

No response

Acknowledgements

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

AWS CDK Library version (aws-cdk-lib)

python 2.214.0

AWS CDK CLI version

2.1021.0

Environment details (OS name and version, etc.)

MacOS 15.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-cloudfront-originsRelated to CloudFront Origins for the CDK CloudFront Libraryeffort/mediumMedium work item – several days 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