diff --git a/README.md b/README.md index cf86ff472..637008e94 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +You can access the content via the following links: +S3 - http://volia-task2-bucket.s3-website-us-east-1.amazonaws.com/ +CloudFront - d21hvg5oqzabr.cloudfront.net + +Note that the site is with invalidation. + + # React-shop-cloudfront This is frontend starter project for nodejs-aws mentoring program. It uses the following technologies: diff --git a/java-cdk/pom.xml b/java-cdk/pom.xml new file mode 100644 index 000000000..b26ef0053 --- /dev/null +++ b/java-cdk/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + org.example + volia-aws-task2-java + 1.0-SNAPSHOT + + + 11 + 11 + + + + software.amazon.awssdk + s3 + 2.25.69 + test + + + software.amazon.awssdk + auth + 2.25.69 + + + + \ No newline at end of file diff --git a/java-cdk/src/main/java/Configuration.java b/java-cdk/src/main/java/Configuration.java new file mode 100644 index 000000000..f7cadd0d1 --- /dev/null +++ b/java-cdk/src/main/java/Configuration.java @@ -0,0 +1,12 @@ +public class Configuration { + AWSCredentials credentials = new BasicAWSCredentials( + "", + "" + ); + AmazonS3 s3client = AmazonS3ClientBuilder + .standard() + .withCredentials(new AWSStaticCredentialsProvider(credentials)) + .withRegion(Regions.US_EAST_2) + .build(); + +} diff --git a/src/components/MainLayout/MainLayout.tsx b/src/components/MainLayout/MainLayout.tsx index ec679471c..11a82a28e 100755 --- a/src/components/MainLayout/MainLayout.tsx +++ b/src/components/MainLayout/MainLayout.tsx @@ -37,7 +37,7 @@ const MainLayout: React.FC<{ children: React.ReactNode }> = ({ children }) => { color="textSecondary" component="p" > - Thank you for your purchase! + Thank YOU for your purchase!