|
37 | 37 | "UpdateReplacePolicy": "Retain",
|
38 | 38 | "DeletionPolicy": "Retain"
|
39 | 39 | },
|
40 |
| - "tests3sqsS3LoggingBucket0B0BC86A": { |
41 |
| - "Type": "AWS::S3::Bucket", |
42 |
| - "Properties": { |
43 |
| - "AccessControl": "LogDeliveryWrite", |
44 |
| - "BucketEncryption": { |
45 |
| - "ServerSideEncryptionConfiguration": [ |
46 |
| - { |
47 |
| - "ServerSideEncryptionByDefault": { |
48 |
| - "SSEAlgorithm": "AES256" |
49 |
| - } |
50 |
| - } |
51 |
| - ] |
52 |
| - }, |
53 |
| - "PublicAccessBlockConfiguration": { |
54 |
| - "BlockPublicAcls": true, |
55 |
| - "BlockPublicPolicy": true, |
56 |
| - "IgnorePublicAcls": true, |
57 |
| - "RestrictPublicBuckets": true |
58 |
| - }, |
59 |
| - "VersioningConfiguration": { |
60 |
| - "Status": "Enabled" |
61 |
| - } |
62 |
| - }, |
63 |
| - "UpdateReplacePolicy": "Delete", |
64 |
| - "DeletionPolicy": "Delete", |
65 |
| - "Metadata": { |
66 |
| - "cfn_nag": { |
67 |
| - "rules_to_suppress": [ |
68 |
| - { |
69 |
| - "id": "W35", |
70 |
| - "reason": "This S3 bucket is used as the access logging bucket for another bucket" |
71 |
| - } |
72 |
| - ] |
73 |
| - } |
74 |
| - } |
75 |
| - }, |
76 |
| - "tests3sqsS3LoggingBucketPolicy3A15958C": { |
77 |
| - "Type": "AWS::S3::BucketPolicy", |
78 |
| - "Properties": { |
79 |
| - "Bucket": { |
80 |
| - "Ref": "tests3sqsS3LoggingBucket0B0BC86A" |
81 |
| - }, |
82 |
| - "PolicyDocument": { |
83 |
| - "Statement": [ |
84 |
| - { |
85 |
| - "Action": "*", |
86 |
| - "Condition": { |
87 |
| - "Bool": { |
88 |
| - "aws:SecureTransport": "false" |
89 |
| - } |
90 |
| - }, |
91 |
| - "Effect": "Deny", |
92 |
| - "Principal": { |
93 |
| - "AWS": "*" |
94 |
| - }, |
95 |
| - "Resource": [ |
96 |
| - { |
97 |
| - "Fn::Join": [ |
98 |
| - "", |
99 |
| - [ |
100 |
| - { |
101 |
| - "Fn::GetAtt": [ |
102 |
| - "tests3sqsS3LoggingBucket0B0BC86A", |
103 |
| - "Arn" |
104 |
| - ] |
105 |
| - }, |
106 |
| - "/*" |
107 |
| - ] |
108 |
| - ] |
109 |
| - }, |
110 |
| - { |
111 |
| - "Fn::GetAtt": [ |
112 |
| - "tests3sqsS3LoggingBucket0B0BC86A", |
113 |
| - "Arn" |
114 |
| - ] |
115 |
| - } |
116 |
| - ], |
117 |
| - "Sid": "HttpsOnly" |
118 |
| - } |
119 |
| - ], |
120 |
| - "Version": "2012-10-17" |
121 |
| - } |
122 |
| - } |
123 |
| - }, |
124 | 40 | "tests3sqsS3BucketNotifications32539247": {
|
125 | 41 | "Type": "Custom::S3BucketNotifications",
|
126 | 42 | "Properties": {
|
|
194 | 110 | }
|
195 | 111 | ]
|
196 | 112 | },
|
197 |
| - "LoggingConfiguration": { |
198 |
| - "DestinationBucketName": { |
199 |
| - "Ref": "tests3sqsS3LoggingBucket0B0BC86A" |
200 |
| - } |
201 |
| - }, |
202 | 113 | "PublicAccessBlockConfiguration": {
|
203 | 114 | "BlockPublicAcls": true,
|
204 | 115 | "BlockPublicPolicy": true,
|
|
210 | 121 | }
|
211 | 122 | },
|
212 | 123 | "UpdateReplacePolicy": "Delete",
|
213 |
| - "DeletionPolicy": "Delete" |
| 124 | + "DeletionPolicy": "Delete", |
| 125 | + "Metadata": { |
| 126 | + "cfn_nag": { |
| 127 | + "rules_to_suppress": [ |
| 128 | + { |
| 129 | + "id": "W35", |
| 130 | + "reason": "This S3 bucket is created for unit/ integration testing purposes only." |
| 131 | + } |
| 132 | + ] |
| 133 | + } |
| 134 | + } |
214 | 135 | },
|
215 | 136 | "tests3sqsS3BucketPolicyA477877B": {
|
216 | 137 | "Type": "AWS::S3::BucketPolicy",
|
|
0 commit comments