1×
Become a member
to unlock all features
Autoplay

    Make the contents of an S3 bucket deployed with CDK public

    awsAWS

    Files uploaded to an S3 bucket are not accessible by default from the Internet.

    Which makes sense - by default they should be secure, but since we'd like to host a logo file to be displayed in our app, we need to make the bucket public.

    Luckily, with CDK we need to literally change a single line of code - in this quick lesson we're going to learn how to make the contents of an S3 bucket public.