Skip to content

CloudFrontToS3 : Customize Domain Name with Certificate #1139

@gmarchand

Description

@gmarchand

Use Case

I would want to customize the domain name of my Cloudfront Distribution

But I can't do it as you can see in this code:


        cfn_s3 = CloudFrontToS3(self, "lawsy-newsletter-cloudfront-s3",
            cloud_front_distribution_props=cloudfront.DistributionProps(
                domain_names=[domain_name],
                certificate=certificate_cf,
                comment="CloudFront distribution for lAWSy Newsletter",
                default_behavior=cloudfront.BehaviorOptions(
                    origin=cloudfront_origins.S3Origin(??)
                    ),

                )

            )
        )

How could it possible to customize the domain name with a TLS Certificate ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    addressedIssue is addressed either through a release or further explanation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions