I have my js files which I have uploaded into the Amazon S3 and linked it with the Cloudfront.
I got a url something like this :
But opening that url in my browser ( I'm getting an error ) :
<Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>xxxxxx</RequestId> <HostId> xxxxxxxxxxxxxxx </HostId> </Error>
But what I want actually is to use the url and add them to my webpage. How could I do that?