From 694785913e38c7ca68856020af441867c1e080f7 Mon Sep 17 00:00:00 2001 From: CHIKAMATSU Naohiro Date: Thu, 8 Feb 2024 20:51:03 +0900 Subject: [PATCH] SecureTransport true --- cloudformation/static-web-site-distribution/template.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cloudformation/static-web-site-distribution/template.yml b/cloudformation/static-web-site-distribution/template.yml index abd3199..6a5f31c 100644 --- a/cloudformation/static-web-site-distribution/template.yml +++ b/cloudformation/static-web-site-distribution/template.yml @@ -59,9 +59,7 @@ Resources: - !Sub "arn:${AWS::Partition}:s3:::${ContentBucket}/*" Condition: Bool: - "aws:SecureTransport": false - NumericLessThan: - "s3:TlsVersion": "1.3" + "aws:SecureTransport": true Principal: "*" ContentBucketReplicationRole: @@ -130,7 +128,5 @@ Resources: - !Sub "arn:${AWS::Partition}:s3:::${ContentS3BucketReplica}/*" Condition: Bool: - "aws:SecureTransport": false - NumericLessThan: - "s3:TlsVersion": "1.3" + "aws:SecureTransport": true Principal: "*"