UNPKG

741 kBJSONView Raw
1{
2 "version": "2",
3 "toolVersion": "1.58.0",
4 "snippets": {
5 "a3fb238b791f212f2de9bf87c1625d6906fbdaac222f986c0a53ee5c652ec0b0": {
6 "translations": {
7 "python": {
8 "source": "bucket = s3.Bucket(self, \"MyFirstBucket\")",
9 "version": "2"
10 },
11 "csharp": {
12 "source": "Bucket bucket = new Bucket(this, \"MyFirstBucket\");",
13 "version": "1"
14 },
15 "java": {
16 "source": "Bucket bucket = new Bucket(this, \"MyFirstBucket\");",
17 "version": "1"
18 },
19 "go": {
20 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyFirstBucket\"))",
21 "version": "1"
22 },
23 "$": {
24 "source": "const bucket = new s3.Bucket(this, 'MyFirstBucket');",
25 "version": "0"
26 }
27 },
28 "location": {
29 "api": {
30 "api": "moduleReadme",
31 "moduleFqn": "@aws-cdk/aws-s3"
32 },
33 "field": {
34 "field": "markdown",
35 "line": 16
36 }
37 },
38 "didCompile": true,
39 "fqnsReferenced": [
40 "@aws-cdk/aws-s3.Bucket",
41 "constructs.Construct"
42 ],
43 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyFirstBucket');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
44 "syntaxKindCounter": {
45 "10": 1,
46 "75": 3,
47 "104": 1,
48 "194": 1,
49 "197": 1,
50 "225": 1,
51 "242": 1,
52 "243": 1
53 },
54 "fqnsFingerprint": "b2c1defa53aca5a152f4a8ba9307903a9cac2bcf91c996001a7ac8dce9be78c2"
55 },
56 "840f0fbedaca2204dcf09dea059bb2ef2fe502b028490228c9432304e628b8bf": {
57 "translations": {
58 "python": {
59 "source": "bucket = s3.Bucket(self, \"MyEncryptedBucket\",\n encryption=s3.BucketEncryption.KMS\n)\n\n# you can access the encryption key:\nassert(bucket.encryption_key instanceof kms.Key)",
60 "version": "2"
61 },
62 "csharp": {
63 "source": "Bucket bucket = new Bucket(this, \"MyEncryptedBucket\", new BucketProps {\n Encryption = BucketEncryption.KMS\n});\n\n// you can access the encryption key:\nAssert(bucket.EncryptionKey instanceof Key);",
64 "version": "1"
65 },
66 "java": {
67 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyEncryptedBucket\")\n .encryption(BucketEncryption.KMS)\n .build();\n\n// you can access the encryption key:\nassert(bucket.getEncryptionKey() instanceof Key);",
68 "version": "1"
69 },
70 "go": {
71 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyEncryptedBucket\"), &bucketProps{\n\tencryption: s3.bucketEncryption_KMS,\n})\n\n// you can access the encryption key:\nassert(bucket.encryptionKey instanceof kms.key)",
72 "version": "1"
73 },
74 "$": {
75 "source": "const bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n});\n\n// you can access the encryption key:\nassert(bucket.encryptionKey instanceof kms.Key);",
76 "version": "0"
77 }
78 },
79 "location": {
80 "api": {
81 "api": "moduleReadme",
82 "moduleFqn": "@aws-cdk/aws-s3"
83 },
84 "field": {
85 "field": "markdown",
86 "line": 45
87 }
88 },
89 "didCompile": true,
90 "fqnsReferenced": [
91 "@aws-cdk/aws-kms.Key",
92 "@aws-cdk/aws-s3.Bucket",
93 "@aws-cdk/aws-s3.Bucket#encryptionKey",
94 "@aws-cdk/aws-s3.BucketEncryption",
95 "@aws-cdk/aws-s3.BucketEncryption#KMS",
96 "@aws-cdk/aws-s3.BucketProps",
97 "constructs.Construct"
98 ],
99 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n});\n\n// you can access the encryption key:\nassert(bucket.encryptionKey instanceof kms.Key);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
100 "syntaxKindCounter": {
101 "10": 1,
102 "75": 12,
103 "98": 1,
104 "104": 1,
105 "193": 1,
106 "194": 5,
107 "196": 1,
108 "197": 1,
109 "209": 1,
110 "225": 1,
111 "226": 1,
112 "242": 1,
113 "243": 1,
114 "281": 1
115 },
116 "fqnsFingerprint": "d5ecc9c9b5d14a9d69f60e06000ba204c410cbf0b0f2feddee45af4c8f08f8aa"
117 },
118 "49c0de2052cd3db0035ad4cb9444048954f903a12d6e30a549e7c16d1dc34436": {
119 "translations": {
120 "python": {
121 "source": "my_kms_key = kms.Key(self, \"MyKey\")\n\nbucket = s3.Bucket(self, \"MyEncryptedBucket\",\n encryption=s3.BucketEncryption.KMS,\n encryption_key=my_kms_key\n)\n\nassert(bucket.encryption_key == my_kms_key)",
122 "version": "2"
123 },
124 "csharp": {
125 "source": "Key myKmsKey = new Key(this, \"MyKey\");\n\nBucket bucket = new Bucket(this, \"MyEncryptedBucket\", new BucketProps {\n Encryption = BucketEncryption.KMS,\n EncryptionKey = myKmsKey\n});\n\nAssert(bucket.EncryptionKey == myKmsKey);",
126 "version": "1"
127 },
128 "java": {
129 "source": "Key myKmsKey = new Key(this, \"MyKey\");\n\nBucket bucket = Bucket.Builder.create(this, \"MyEncryptedBucket\")\n .encryption(BucketEncryption.KMS)\n .encryptionKey(myKmsKey)\n .build();\n\nassert(bucket.getEncryptionKey() == myKmsKey);",
130 "version": "1"
131 },
132 "go": {
133 "source": "myKmsKey := kms.NewKey(this, jsii.String(\"MyKey\"))\n\nbucket := s3.NewBucket(this, jsii.String(\"MyEncryptedBucket\"), &bucketProps{\n\tencryption: s3.bucketEncryption_KMS,\n\tencryptionKey: myKmsKey,\n})\n\nassert(bucket.encryptionKey == myKmsKey)",
134 "version": "1"
135 },
136 "$": {
137 "source": "const myKmsKey = new kms.Key(this, 'MyKey');\n\nconst bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n encryptionKey: myKmsKey,\n});\n\nassert(bucket.encryptionKey === myKmsKey);",
138 "version": "0"
139 }
140 },
141 "location": {
142 "api": {
143 "api": "moduleReadme",
144 "moduleFqn": "@aws-cdk/aws-s3"
145 },
146 "field": {
147 "field": "markdown",
148 "line": 56
149 }
150 },
151 "didCompile": true,
152 "fqnsReferenced": [
153 "@aws-cdk/aws-kms.IKey",
154 "@aws-cdk/aws-kms.Key",
155 "@aws-cdk/aws-s3.Bucket",
156 "@aws-cdk/aws-s3.Bucket#encryptionKey",
157 "@aws-cdk/aws-s3.BucketEncryption",
158 "@aws-cdk/aws-s3.BucketEncryption#KMS",
159 "@aws-cdk/aws-s3.BucketProps",
160 "constructs.Construct"
161 ],
162 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst myKmsKey = new kms.Key(this, 'MyKey');\n\nconst bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n encryptionKey: myKmsKey,\n});\n\nassert(bucket.encryptionKey === myKmsKey);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
163 "syntaxKindCounter": {
164 "10": 2,
165 "36": 1,
166 "75": 16,
167 "104": 2,
168 "193": 1,
169 "194": 5,
170 "196": 1,
171 "197": 2,
172 "209": 1,
173 "225": 2,
174 "226": 1,
175 "242": 2,
176 "243": 2,
177 "281": 2
178 },
179 "fqnsFingerprint": "652fc352bad4c90f60a1a3043640ebbba5913da2a83a71f553be073040aba27e"
180 },
181 "adae91f94bdd745173c12de053d30f620dfc7c396c43512eae0f74b335fc56ef": {
182 "translations": {
183 "python": {
184 "source": "bucket = s3.Bucket(self, \"MyEncryptedBucket\",\n encryption=s3.BucketEncryption.KMS,\n bucket_key_enabled=True\n)",
185 "version": "2"
186 },
187 "csharp": {
188 "source": "Bucket bucket = new Bucket(this, \"MyEncryptedBucket\", new BucketProps {\n Encryption = BucketEncryption.KMS,\n BucketKeyEnabled = true\n});",
189 "version": "1"
190 },
191 "java": {
192 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyEncryptedBucket\")\n .encryption(BucketEncryption.KMS)\n .bucketKeyEnabled(true)\n .build();",
193 "version": "1"
194 },
195 "go": {
196 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyEncryptedBucket\"), &bucketProps{\n\tencryption: s3.bucketEncryption_KMS,\n\tbucketKeyEnabled: jsii.Boolean(true),\n})",
197 "version": "1"
198 },
199 "$": {
200 "source": "const bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n bucketKeyEnabled: true,\n});",
201 "version": "0"
202 }
203 },
204 "location": {
205 "api": {
206 "api": "moduleReadme",
207 "moduleFqn": "@aws-cdk/aws-s3"
208 },
209 "field": {
210 "field": "markdown",
211 "line": 69
212 }
213 },
214 "didCompile": true,
215 "fqnsReferenced": [
216 "@aws-cdk/aws-s3.Bucket",
217 "@aws-cdk/aws-s3.BucketEncryption",
218 "@aws-cdk/aws-s3.BucketEncryption#KMS",
219 "@aws-cdk/aws-s3.BucketProps",
220 "constructs.Construct"
221 ],
222 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n bucketKeyEnabled: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
223 "syntaxKindCounter": {
224 "10": 1,
225 "75": 8,
226 "104": 1,
227 "106": 1,
228 "193": 1,
229 "194": 3,
230 "197": 1,
231 "225": 1,
232 "242": 1,
233 "243": 1,
234 "281": 2
235 },
236 "fqnsFingerprint": "04b4b7d5464322f17950ac32c593a2277b0209d3bf056f0f1431f85ec858d78b"
237 },
238 "74f2639cae4a8c7dab231af7005b571d87b86d886df53cdfcec7e0d93cca461a": {
239 "translations": {
240 "python": {
241 "source": "bucket = s3.Bucket(self, \"Buck\",\n encryption=s3.BucketEncryption.KMS_MANAGED\n)\n\nassert(bucket.encryption_key == null)",
242 "version": "2"
243 },
244 "csharp": {
245 "source": "Bucket bucket = new Bucket(this, \"Buck\", new BucketProps {\n Encryption = BucketEncryption.KMS_MANAGED\n});\n\nAssert(bucket.EncryptionKey == null);",
246 "version": "1"
247 },
248 "java": {
249 "source": "Bucket bucket = Bucket.Builder.create(this, \"Buck\")\n .encryption(BucketEncryption.KMS_MANAGED)\n .build();\n\nassert(bucket.getEncryptionKey() == null);",
250 "version": "1"
251 },
252 "go": {
253 "source": "bucket := s3.NewBucket(this, jsii.String(\"Buck\"), &bucketProps{\n\tencryption: s3.bucketEncryption_KMS_MANAGED,\n})\n\nassert(bucket.encryptionKey == nil)",
254 "version": "1"
255 },
256 "$": {
257 "source": "const bucket = new s3.Bucket(this, 'Buck', {\n encryption: s3.BucketEncryption.KMS_MANAGED,\n});\n\nassert(bucket.encryptionKey == null);",
258 "version": "0"
259 }
260 },
261 "location": {
262 "api": {
263 "api": "moduleReadme",
264 "moduleFqn": "@aws-cdk/aws-s3"
265 },
266 "field": {
267 "field": "markdown",
268 "line": 78
269 }
270 },
271 "didCompile": true,
272 "fqnsReferenced": [
273 "@aws-cdk/aws-s3.Bucket",
274 "@aws-cdk/aws-s3.Bucket#encryptionKey",
275 "@aws-cdk/aws-s3.BucketEncryption",
276 "@aws-cdk/aws-s3.BucketEncryption#KMS_MANAGED",
277 "@aws-cdk/aws-s3.BucketProps",
278 "constructs.Construct"
279 ],
280 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'Buck', {\n encryption: s3.BucketEncryption.KMS_MANAGED,\n});\n\nassert(bucket.encryptionKey == null);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
281 "syntaxKindCounter": {
282 "10": 1,
283 "34": 1,
284 "75": 10,
285 "100": 1,
286 "104": 1,
287 "193": 1,
288 "194": 4,
289 "196": 1,
290 "197": 1,
291 "209": 1,
292 "225": 1,
293 "226": 1,
294 "242": 1,
295 "243": 1,
296 "281": 1
297 },
298 "fqnsFingerprint": "a426906bd089978a73f9ca90c8320b99cea73078bf45179fb98f0919515edfd6"
299 },
300 "65bbb0c3f3260aa2580f4c51dfca4c685aa5fdfebe94dc3b8265e938af034ea4": {
301 "translations": {
302 "python": {
303 "source": "bucket = s3.Bucket(self, \"MyBucket\")\nresult = bucket.add_to_resource_policy(iam.PolicyStatement(\n actions=[\"s3:GetObject\"],\n resources=[bucket.arn_for_objects(\"file.txt\")],\n principals=[iam.AccountRootPrincipal()]\n))",
304 "version": "2"
305 },
306 "csharp": {
307 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nAddToResourcePolicyResult result = bucket.AddToResourcePolicy(new PolicyStatement(new PolicyStatementProps {\n Actions = new [] { \"s3:GetObject\" },\n Resources = new [] { bucket.ArnForObjects(\"file.txt\") },\n Principals = new [] { new AccountRootPrincipal() }\n}));",
308 "version": "1"
309 },
310 "java": {
311 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nAddToResourcePolicyResult result = bucket.addToResourcePolicy(PolicyStatement.Builder.create()\n .actions(List.of(\"s3:GetObject\"))\n .resources(List.of(bucket.arnForObjects(\"file.txt\")))\n .principals(List.of(new AccountRootPrincipal()))\n .build());",
312 "version": "1"
313 },
314 "go": {
315 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nresult := bucket.addToResourcePolicy(iam.NewPolicyStatement(&policyStatementProps{\n\tactions: []*string{\n\t\tjsii.String(\"s3:GetObject\"),\n\t},\n\tresources: []*string{\n\t\tbucket.arnForObjects(jsii.String(\"file.txt\")),\n\t},\n\tprincipals: []iPrincipal{\n\t\tiam.NewAccountRootPrincipal(),\n\t},\n}))",
316 "version": "1"
317 },
318 "$": {
319 "source": "const bucket = new s3.Bucket(this, 'MyBucket');\nconst result = bucket.addToResourcePolicy(new iam.PolicyStatement({\n actions: ['s3:GetObject'],\n resources: [bucket.arnForObjects('file.txt')],\n principals: [new iam.AccountRootPrincipal()],\n}));",
320 "version": "0"
321 }
322 },
323 "location": {
324 "api": {
325 "api": "moduleReadme",
326 "moduleFqn": "@aws-cdk/aws-s3"
327 },
328 "field": {
329 "field": "markdown",
330 "line": 91
331 }
332 },
333 "didCompile": true,
334 "fqnsReferenced": [
335 "@aws-cdk/aws-iam.AccountRootPrincipal",
336 "@aws-cdk/aws-iam.AddToResourcePolicyResult",
337 "@aws-cdk/aws-iam.PolicyStatement",
338 "@aws-cdk/aws-iam.PolicyStatementProps",
339 "@aws-cdk/aws-s3.Bucket",
340 "@aws-cdk/aws-s3.BucketBase#addToResourcePolicy",
341 "@aws-cdk/aws-s3.BucketBase#arnForObjects",
342 "constructs.Construct"
343 ],
344 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket');\nconst result = bucket.addToResourcePolicy(new iam.PolicyStatement({\n actions: ['s3:GetObject'],\n resources: [bucket.arnForObjects('file.txt')],\n principals: [new iam.AccountRootPrincipal()],\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
345 "syntaxKindCounter": {
346 "10": 3,
347 "75": 15,
348 "104": 1,
349 "192": 3,
350 "193": 1,
351 "194": 5,
352 "196": 2,
353 "197": 3,
354 "225": 2,
355 "242": 2,
356 "243": 2,
357 "281": 3
358 },
359 "fqnsFingerprint": "751e68454d8252e0a7ed68c148430802705a7e74c05bfbf11f1380788f19aaab"
360 },
361 "ead248d9a3b3802c755881c0d2052ca6854da5a21551c72b714088c6111c153e": {
362 "translations": {
363 "python": {
364 "source": "bucket = s3.Bucket.from_bucket_name(self, \"existingBucket\", \"bucket-name\")\n\n# No policy statement will be added to the resource\nresult = bucket.add_to_resource_policy(iam.PolicyStatement(\n actions=[\"s3:GetObject\"],\n resources=[bucket.arn_for_objects(\"file.txt\")],\n principals=[iam.AccountRootPrincipal()]\n))",
365 "version": "2"
366 },
367 "csharp": {
368 "source": "IBucket bucket = Bucket.FromBucketName(this, \"existingBucket\", \"bucket-name\");\n\n// No policy statement will be added to the resource\nAddToResourcePolicyResult result = bucket.AddToResourcePolicy(new PolicyStatement(new PolicyStatementProps {\n Actions = new [] { \"s3:GetObject\" },\n Resources = new [] { bucket.ArnForObjects(\"file.txt\") },\n Principals = new [] { new AccountRootPrincipal() }\n}));",
369 "version": "1"
370 },
371 "java": {
372 "source": "IBucket bucket = Bucket.fromBucketName(this, \"existingBucket\", \"bucket-name\");\n\n// No policy statement will be added to the resource\nAddToResourcePolicyResult result = bucket.addToResourcePolicy(PolicyStatement.Builder.create()\n .actions(List.of(\"s3:GetObject\"))\n .resources(List.of(bucket.arnForObjects(\"file.txt\")))\n .principals(List.of(new AccountRootPrincipal()))\n .build());",
373 "version": "1"
374 },
375 "go": {
376 "source": "bucket := s3.bucket.fromBucketName(this, jsii.String(\"existingBucket\"), jsii.String(\"bucket-name\"))\n\n// No policy statement will be added to the resource\nresult := bucket.addToResourcePolicy(iam.NewPolicyStatement(&policyStatementProps{\n\tactions: []*string{\n\t\tjsii.String(\"s3:GetObject\"),\n\t},\n\tresources: []*string{\n\t\tbucket.arnForObjects(jsii.String(\"file.txt\")),\n\t},\n\tprincipals: []iPrincipal{\n\t\tiam.NewAccountRootPrincipal(),\n\t},\n}))",
377 "version": "1"
378 },
379 "$": {
380 "source": "const bucket = s3.Bucket.fromBucketName(this, 'existingBucket', 'bucket-name');\n\n// No policy statement will be added to the resource\nconst result = bucket.addToResourcePolicy(new iam.PolicyStatement({\n actions: ['s3:GetObject'],\n resources: [bucket.arnForObjects('file.txt')],\n principals: [new iam.AccountRootPrincipal()],\n}));",
381 "version": "0"
382 }
383 },
384 "location": {
385 "api": {
386 "api": "moduleReadme",
387 "moduleFqn": "@aws-cdk/aws-s3"
388 },
389 "field": {
390 "field": "markdown",
391 "line": 103
392 }
393 },
394 "didCompile": true,
395 "fqnsReferenced": [
396 "@aws-cdk/aws-iam.AccountRootPrincipal",
397 "@aws-cdk/aws-iam.AddToResourcePolicyResult",
398 "@aws-cdk/aws-iam.PolicyStatement",
399 "@aws-cdk/aws-iam.PolicyStatementProps",
400 "@aws-cdk/aws-s3.Bucket",
401 "@aws-cdk/aws-s3.Bucket#fromBucketName",
402 "@aws-cdk/aws-s3.IBucket",
403 "@aws-cdk/aws-s3.IBucket#addToResourcePolicy",
404 "@aws-cdk/aws-s3.IBucket#arnForObjects",
405 "constructs.Construct"
406 ],
407 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = s3.Bucket.fromBucketName(this, 'existingBucket', 'bucket-name');\n\n// No policy statement will be added to the resource\nconst result = bucket.addToResourcePolicy(new iam.PolicyStatement({\n actions: ['s3:GetObject'],\n resources: [bucket.arnForObjects('file.txt')],\n principals: [new iam.AccountRootPrincipal()],\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
408 "syntaxKindCounter": {
409 "10": 4,
410 "75": 16,
411 "104": 1,
412 "192": 3,
413 "193": 1,
414 "194": 6,
415 "196": 3,
416 "197": 2,
417 "225": 2,
418 "242": 2,
419 "243": 2,
420 "281": 3
421 },
422 "fqnsFingerprint": "9067f0bcad0f7e65e08989050c46a26bbc94e25ace7c5c95bbf8bbf40ca28e40"
423 },
424 "6597b7811d64548d85268feefcea2a7dc3f7a7de20fbf2f3e7675111ef8d914d": {
425 "translations": {
426 "python": {
427 "source": "bucket = s3.Bucket(self, \"MyBucket\")\nresult = bucket.add_to_resource_policy(iam.PolicyStatement(\n actions=[\"s3:GetObject\"],\n resources=[bucket.arn_for_objects(\"file.txt\")],\n principals=[iam.AccountRootPrincipal()]\n))\n\nif not result.statement_added:\n pass",
428 "version": "2"
429 },
430 "csharp": {
431 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nAddToResourcePolicyResult result = bucket.AddToResourcePolicy(new PolicyStatement(new PolicyStatementProps {\n Actions = new [] { \"s3:GetObject\" },\n Resources = new [] { bucket.ArnForObjects(\"file.txt\") },\n Principals = new [] { new AccountRootPrincipal() }\n}));\n\nif (!result.StatementAdded)\n{\n}",
432 "version": "1"
433 },
434 "java": {
435 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nAddToResourcePolicyResult result = bucket.addToResourcePolicy(PolicyStatement.Builder.create()\n .actions(List.of(\"s3:GetObject\"))\n .resources(List.of(bucket.arnForObjects(\"file.txt\")))\n .principals(List.of(new AccountRootPrincipal()))\n .build());\n\nif (!result.getStatementAdded()) {\n}",
436 "version": "1"
437 },
438 "go": {
439 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nresult := bucket.addToResourcePolicy(iam.NewPolicyStatement(&policyStatementProps{\n\tactions: []*string{\n\t\tjsii.String(\"s3:GetObject\"),\n\t},\n\tresources: []*string{\n\t\tbucket.arnForObjects(jsii.String(\"file.txt\")),\n\t},\n\tprincipals: []iPrincipal{\n\t\tiam.NewAccountRootPrincipal(),\n\t},\n}))\n\nif !result.statementAdded {}",
440 "version": "1"
441 },
442 "$": {
443 "source": "const bucket = new s3.Bucket(this, 'MyBucket');\nconst result = bucket.addToResourcePolicy(new iam.PolicyStatement({\n actions: ['s3:GetObject'],\n resources: [bucket.arnForObjects('file.txt')],\n principals: [new iam.AccountRootPrincipal()],\n}));\n\nif (!result.statementAdded) {\n // Uh-oh! Someone probably made a mistake here.\n}",
444 "version": "0"
445 }
446 },
447 "location": {
448 "api": {
449 "api": "moduleReadme",
450 "moduleFqn": "@aws-cdk/aws-s3"
451 },
452 "field": {
453 "field": "markdown",
454 "line": 118
455 }
456 },
457 "didCompile": true,
458 "fqnsReferenced": [
459 "@aws-cdk/aws-iam.AccountRootPrincipal",
460 "@aws-cdk/aws-iam.AddToResourcePolicyResult",
461 "@aws-cdk/aws-iam.AddToResourcePolicyResult#statementAdded",
462 "@aws-cdk/aws-iam.PolicyStatement",
463 "@aws-cdk/aws-iam.PolicyStatementProps",
464 "@aws-cdk/aws-s3.Bucket",
465 "@aws-cdk/aws-s3.BucketBase#addToResourcePolicy",
466 "@aws-cdk/aws-s3.BucketBase#arnForObjects",
467 "constructs.Construct"
468 ],
469 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket');\nconst result = bucket.addToResourcePolicy(new iam.PolicyStatement({\n actions: ['s3:GetObject'],\n resources: [bucket.arnForObjects('file.txt')],\n principals: [new iam.AccountRootPrincipal()],\n}));\n\nif (!result.statementAdded) {\n // Uh-oh! Someone probably made a mistake here.\n}\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
470 "syntaxKindCounter": {
471 "10": 3,
472 "75": 17,
473 "104": 1,
474 "192": 3,
475 "193": 1,
476 "194": 6,
477 "196": 2,
478 "197": 3,
479 "207": 1,
480 "223": 1,
481 "225": 2,
482 "227": 1,
483 "242": 2,
484 "243": 2,
485 "281": 3
486 },
487 "fqnsFingerprint": "d9ecc2863caffa2e0d893c5252ad198aac7d6199bdbaa7b806f97e6b59f12fd1"
488 },
489 "78cb23f0ef6e62752d3af28989750505b9ca0e2bf19e3e277a8a65d3211dfed1": {
490 "translations": {
491 "python": {
492 "source": "bucket = s3.Bucket(self, \"MyBucket\")\nbucket.policy.apply_removal_policy(cdk.RemovalPolicy.RETAIN)",
493 "version": "2"
494 },
495 "csharp": {
496 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nbucket.Policy.ApplyRemovalPolicy(RemovalPolicy.RETAIN);",
497 "version": "1"
498 },
499 "java": {
500 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nbucket.policy.applyRemovalPolicy(RemovalPolicy.RETAIN);",
501 "version": "1"
502 },
503 "go": {
504 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.policy.applyRemovalPolicy(cdk.removalPolicy_RETAIN)",
505 "version": "1"
506 },
507 "$": {
508 "source": "const bucket = new s3.Bucket(this, 'MyBucket');\nbucket.policy?.applyRemovalPolicy(cdk.RemovalPolicy.RETAIN);",
509 "version": "0"
510 }
511 },
512 "location": {
513 "api": {
514 "api": "moduleReadme",
515 "moduleFqn": "@aws-cdk/aws-s3"
516 },
517 "field": {
518 "field": "markdown",
519 "line": 134
520 }
521 },
522 "didCompile": true,
523 "fqnsReferenced": [
524 "@aws-cdk/aws-s3.Bucket",
525 "@aws-cdk/aws-s3.Bucket#policy",
526 "@aws-cdk/aws-s3.BucketPolicy#applyRemovalPolicy",
527 "@aws-cdk/core.RemovalPolicy",
528 "@aws-cdk/core.RemovalPolicy#RETAIN",
529 "constructs.Construct"
530 ],
531 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.policy?.applyRemovalPolicy(cdk.RemovalPolicy.RETAIN);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
532 "syntaxKindCounter": {
533 "10": 1,
534 "28": 1,
535 "75": 9,
536 "104": 1,
537 "194": 5,
538 "196": 1,
539 "197": 1,
540 "225": 1,
541 "226": 1,
542 "242": 1,
543 "243": 1
544 },
545 "fqnsFingerprint": "ea476765f83b8ce8fb09bcbbb42ae94216c5f0e2a7c2a499696815e39b6d997f"
546 },
547 "28e512a0c62b13e5d4ba70a6731708568e4f4554372153d29c28ea8f4710ab5d": {
548 "translations": {
549 "python": {
550 "source": "# my_lambda: lambda.Function\n\n\nbucket = s3.Bucket(self, \"MyBucket\")\nbucket.grant_read_write(my_lambda)",
551 "version": "2"
552 },
553 "csharp": {
554 "source": "Function myLambda;\n\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.GrantReadWrite(myLambda);",
555 "version": "1"
556 },
557 "java": {
558 "source": "Function myLambda;\n\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.grantReadWrite(myLambda);",
559 "version": "1"
560 },
561 "go": {
562 "source": "var myLambda function\n\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.grantReadWrite(myLambda)",
563 "version": "1"
564 },
565 "$": {
566 "source": "declare const myLambda: lambda.Function;\n\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.grantReadWrite(myLambda);",
567 "version": "0"
568 }
569 },
570 "location": {
571 "api": {
572 "api": "moduleReadme",
573 "moduleFqn": "@aws-cdk/aws-s3"
574 },
575 "field": {
576 "field": "markdown",
577 "line": 143
578 }
579 },
580 "didCompile": true,
581 "fqnsReferenced": [
582 "@aws-cdk/aws-iam.IGrantable",
583 "@aws-cdk/aws-s3.Bucket",
584 "@aws-cdk/aws-s3.BucketBase#grantReadWrite",
585 "constructs.Construct"
586 ],
587 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myLambda: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.grantReadWrite(myLambda);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
588 "syntaxKindCounter": {
589 "10": 1,
590 "75": 9,
591 "104": 1,
592 "130": 1,
593 "153": 1,
594 "169": 1,
595 "194": 2,
596 "196": 1,
597 "197": 1,
598 "225": 2,
599 "226": 1,
600 "242": 2,
601 "243": 2,
602 "290": 1
603 },
604 "fqnsFingerprint": "df5191ffb2a7c3ef4b2e929fe742a89d27e509ab95e3153424b6e7ded68a796f"
605 },
606 "5b31c211e8852df24248dd8b127dc2441d939e05c3c127db3b92d973fa178603": {
607 "translations": {
608 "python": {
609 "source": "bucket = s3.Bucket(self, \"Bucket\",\n enforce_sSL=True\n)",
610 "version": "2"
611 },
612 "csharp": {
613 "source": "Bucket bucket = new Bucket(this, \"Bucket\", new BucketProps {\n EnforceSSL = true\n});",
614 "version": "1"
615 },
616 "java": {
617 "source": "Bucket bucket = Bucket.Builder.create(this, \"Bucket\")\n .enforceSSL(true)\n .build();",
618 "version": "1"
619 },
620 "go": {
621 "source": "bucket := s3.NewBucket(this, jsii.String(\"Bucket\"), &bucketProps{\n\tenforceSSL: jsii.Boolean(true),\n})",
622 "version": "1"
623 },
624 "$": {
625 "source": "const bucket = new s3.Bucket(this, 'Bucket', {\n enforceSSL: true,\n});",
626 "version": "0"
627 }
628 },
629 "location": {
630 "api": {
631 "api": "moduleReadme",
632 "moduleFqn": "@aws-cdk/aws-s3"
633 },
634 "field": {
635 "field": "markdown",
636 "line": 159
637 }
638 },
639 "didCompile": true,
640 "fqnsReferenced": [
641 "@aws-cdk/aws-s3.Bucket",
642 "@aws-cdk/aws-s3.BucketProps",
643 "constructs.Construct"
644 ],
645 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'Bucket', {\n enforceSSL: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
646 "syntaxKindCounter": {
647 "10": 1,
648 "75": 4,
649 "104": 1,
650 "106": 1,
651 "193": 1,
652 "194": 1,
653 "197": 1,
654 "225": 1,
655 "242": 1,
656 "243": 1,
657 "281": 1
658 },
659 "fqnsFingerprint": "eb0dfaab3b5150668b66f7c0db7adc3307081430cdb5e34998966c0994b1aa4b"
660 },
661 "a179533ca40e4c0791e2c038c66c481b915033c76f8bab64b76fd79cf33670d4": {
662 "translations": {
663 "python": {
664 "source": "#\n# Stack that defines the bucket\n#\nclass Producer(cdk.Stack):\n\n def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None):\n super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting)\n\n bucket = s3.Bucket(self, \"MyBucket\",\n removal_policy=cdk.RemovalPolicy.DESTROY\n )\n self.my_bucket = bucket\n\n#\n# Stack that consumes the bucket\n#\nclass Consumer(cdk.Stack):\n def __init__(self, scope, id, *, userBucket, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None):\n super().__init__(scope, id, userBucket=userBucket, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting)\n\n user = iam.User(self, \"MyUser\")\n user_bucket.grant_read_write(user)\n\nproducer = Producer(app, \"ProducerStack\")\nConsumer(app, \"ConsumerStack\", user_bucket=producer.my_bucket)",
665 "version": "2"
666 },
667 "csharp": {
668 "source": "/**\n * Stack that defines the bucket\n */\nclass Producer : Stack\n{\n public Bucket MyBucket { get; }\n\n public Producer(App scope, string id, StackProps? props=null) : base(scope, id, props)\n {\n\n Bucket bucket = new Bucket(this, \"MyBucket\", new BucketProps {\n RemovalPolicy = RemovalPolicy.DESTROY\n });\n MyBucket = bucket;\n }\n}\n\nclass ConsumerProps : StackProps\n{\n public IBucket UserBucket { get; set; }\n}\n\n/**\n * Stack that consumes the bucket\n */\nclass Consumer : Stack\n{\n public Consumer(App scope, string id, ConsumerProps props) : base(scope, id, props)\n {\n\n User user = new User(this, \"MyUser\");\n props.UserBucket.GrantReadWrite(user);\n }\n}\n\nProducer producer = new Producer(app, \"ProducerStack\");\nnew Consumer(app, \"ConsumerStack\", new ConsumerProps { UserBucket = producer.MyBucket });",
669 "version": "1"
670 },
671 "java": {
672 "source": "/**\n * Stack that defines the bucket\n */\npublic class Producer extends Stack {\n public final Bucket myBucket;\n\n public Producer(App scope, String id) {\n this(scope, id, null);\n }\n\n public Producer(App scope, String id, StackProps props) {\n super(scope, id, props);\n\n Bucket bucket = Bucket.Builder.create(this, \"MyBucket\")\n .removalPolicy(RemovalPolicy.DESTROY)\n .build();\n this.myBucket = bucket;\n }\n}\n\npublic class ConsumerProps extends StackProps {\n private IBucket userBucket;\n public IBucket getUserBucket() {\n return this.userBucket;\n }\n public ConsumerProps userBucket(IBucket userBucket) {\n this.userBucket = userBucket;\n return this;\n }\n}\n\n/**\n * Stack that consumes the bucket\n */\npublic class Consumer extends Stack {\n public Consumer(App scope, String id, ConsumerProps props) {\n super(scope, id, props);\n\n User user = new User(this, \"MyUser\");\n props.userBucket.grantReadWrite(user);\n }\n}\n\nProducer producer = new Producer(app, \"ProducerStack\");\nnew Consumer(app, \"ConsumerStack\", new ConsumerProps().userBucket(producer.getMyBucket()));",
673 "version": "1"
674 },
675 "go": {
676 "source": "/**\n * Stack that defines the bucket\n */\ntype producer struct {\n\tstack\n\tmyBucket bucket\n}\n\nfunc newProducer(scope app, id *string, props stackProps) *producer {\n\tthis := &producer{}\n\tcdk.NewStack_Override(this, scope, id, props)\n\n\tbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\t\tremovalPolicy: cdk.removalPolicy_DESTROY,\n\t})\n\tthis.myBucket = bucket\n\treturn this\n}\n\ntype consumerProps struct {\n\tstackProps\n\tuserBucket iBucket\n}\n\n/**\n * Stack that consumes the bucket\n */\ntype consumer struct {\n\tstack\n}\n\nfunc newConsumer(scope app, id *string, props consumerProps) *consumer {\n\tthis := &consumer{}\n\tcdk.NewStack_Override(this, scope, id, props)\n\n\tuser := iam.NewUser(this, jsii.String(\"MyUser\"))\n\t*props.userBucket.grantReadWrite(user)\n\treturn this\n}\n\nproducer := NewProducer(app, jsii.String(\"ProducerStack\"))\nNewConsumer(app, jsii.String(\"ConsumerStack\"), &consumerProps{\n\tuserBucket: producer.myBucket,\n})",
677 "version": "1"
678 },
679 "$": {
680 "source": "\n/**\n * Stack that defines the bucket\n */\nclass Producer extends cdk.Stack {\n public readonly myBucket: s3.Bucket;\n\n constructor(scope: cdk.App, id: string, props?: cdk.StackProps) {\n super(scope, id, props);\n\n const bucket = new s3.Bucket(this, 'MyBucket', {\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n });\n this.myBucket = bucket;\n }\n}\n\ninterface ConsumerProps extends cdk.StackProps {\n userBucket: s3.IBucket;\n}\n\n/**\n * Stack that consumes the bucket\n */\nclass Consumer extends cdk.Stack {\n constructor(scope: cdk.App, id: string, props: ConsumerProps) {\n super(scope, id, props);\n\n const user = new iam.User(this, 'MyUser');\n props.userBucket.grantReadWrite(user);\n }\n}\n\nconst producer = new Producer(app, 'ProducerStack');\nnew Consumer(app, 'ConsumerStack', { userBucket: producer.myBucket });",
681 "version": "0"
682 }
683 },
684 "location": {
685 "api": {
686 "api": "moduleReadme",
687 "moduleFqn": "@aws-cdk/aws-s3"
688 },
689 "field": {
690 "field": "markdown",
691 "line": 169
692 }
693 },
694 "didCompile": true,
695 "fqnsReferenced": [
696 "@aws-cdk/aws-iam.IGrantable",
697 "@aws-cdk/aws-iam.User",
698 "@aws-cdk/aws-s3.Bucket",
699 "@aws-cdk/aws-s3.BucketProps",
700 "@aws-cdk/aws-s3.IBucket",
701 "@aws-cdk/aws-s3.IBucket#grantReadWrite",
702 "@aws-cdk/core.App",
703 "@aws-cdk/core.RemovalPolicy",
704 "@aws-cdk/core.RemovalPolicy#DESTROY",
705 "@aws-cdk/core.Stack",
706 "@aws-cdk/core.StackProps",
707 "constructs.Construct"
708 ],
709 "fullSource": "/// !cdk-integ *\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as cdk from '@aws-cdk/core';\nimport * as s3 from '../lib';\n\nconst app = new cdk.App();\n\n/// !show\n\n/**\n * Stack that defines the bucket\n */\nclass Producer extends cdk.Stack {\n public readonly myBucket: s3.Bucket;\n\n constructor(scope: cdk.App, id: string, props?: cdk.StackProps) {\n super(scope, id, props);\n\n const bucket = new s3.Bucket(this, 'MyBucket', {\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n });\n this.myBucket = bucket;\n }\n}\n\ninterface ConsumerProps extends cdk.StackProps {\n userBucket: s3.IBucket;\n}\n\n/**\n * Stack that consumes the bucket\n */\nclass Consumer extends cdk.Stack {\n constructor(scope: cdk.App, id: string, props: ConsumerProps) {\n super(scope, id, props);\n\n const user = new iam.User(this, 'MyUser');\n props.userBucket.grantReadWrite(user);\n }\n}\n\nconst producer = new Producer(app, 'ProducerStack');\nnew Consumer(app, 'ConsumerStack', { userBucket: producer.myBucket });\n/// !hide\n\napp.synth();\n",
710 "syntaxKindCounter": {
711 "10": 4,
712 "57": 1,
713 "62": 1,
714 "75": 58,
715 "102": 2,
716 "104": 3,
717 "119": 1,
718 "138": 1,
719 "143": 2,
720 "153": 5,
721 "156": 6,
722 "158": 1,
723 "159": 1,
724 "162": 2,
725 "169": 6,
726 "193": 2,
727 "194": 11,
728 "196": 3,
729 "197": 4,
730 "209": 1,
731 "216": 3,
732 "223": 2,
733 "225": 3,
734 "226": 5,
735 "242": 3,
736 "243": 3,
737 "245": 2,
738 "246": 1,
739 "279": 3,
740 "281": 2
741 },
742 "fqnsFingerprint": "1a2ff359fc5b501cc0379adc9372a314b288e988f797586b19eb12674ce1c3aa"
743 },
744 "ce59949be8a853213175c4947526bbd616ea7ee936cc66dbe439bec1c2f8b3cc": {
745 "translations": {
746 "python": {
747 "source": "# my_lambda: lambda.Function\n\nbucket = s3.Bucket.from_bucket_attributes(self, \"ImportedBucket\",\n bucket_arn=\"arn:aws:s3:::my-bucket\"\n)\n\n# now you can just call methods on the bucket\nbucket.add_event_notification(s3.EventType.OBJECT_CREATED, s3n.LambdaDestination(my_lambda), prefix=\"home/myusername/*\")",
748 "version": "2"
749 },
750 "csharp": {
751 "source": "Function myLambda;\n\nIBucket bucket = Bucket.FromBucketAttributes(this, \"ImportedBucket\", new BucketAttributes {\n BucketArn = \"arn:aws:s3:::my-bucket\"\n});\n\n// now you can just call methods on the bucket\nbucket.AddEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), new NotificationKeyFilter { Prefix = \"home/myusername/*\" });",
752 "version": "1"
753 },
754 "java": {
755 "source": "Function myLambda;\n\nIBucket bucket = Bucket.fromBucketAttributes(this, \"ImportedBucket\", BucketAttributes.builder()\n .bucketArn(\"arn:aws:s3:::my-bucket\")\n .build());\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), NotificationKeyFilter.builder().prefix(\"home/myusername/*\").build());",
756 "version": "1"
757 },
758 "go": {
759 "source": "var myLambda function\n\nbucket := s3.bucket.fromBucketAttributes(this, jsii.String(\"ImportedBucket\"), &bucketAttributes{\n\tbucketArn: jsii.String(\"arn:aws:s3:::my-bucket\"),\n})\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(s3.eventType_OBJECT_CREATED, s3n.NewLambdaDestination(myLambda), &notificationKeyFilter{\n\tprefix: jsii.String(\"home/myusername/*\"),\n})",
760 "version": "1"
761 },
762 "$": {
763 "source": "declare const myLambda: lambda.Function;\nconst bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n});\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'});",
764 "version": "0"
765 }
766 },
767 "location": {
768 "api": {
769 "api": "moduleReadme",
770 "moduleFqn": "@aws-cdk/aws-s3"
771 },
772 "field": {
773 "field": "markdown",
774 "line": 213
775 }
776 },
777 "didCompile": true,
778 "fqnsReferenced": [
779 "@aws-cdk/aws-lambda.IFunction",
780 "@aws-cdk/aws-s3-notifications.LambdaDestination",
781 "@aws-cdk/aws-s3.Bucket",
782 "@aws-cdk/aws-s3.Bucket#fromBucketAttributes",
783 "@aws-cdk/aws-s3.BucketAttributes",
784 "@aws-cdk/aws-s3.EventType",
785 "@aws-cdk/aws-s3.EventType#OBJECT_CREATED",
786 "@aws-cdk/aws-s3.IBucket",
787 "@aws-cdk/aws-s3.IBucket#addEventNotification",
788 "@aws-cdk/aws-s3.IBucketNotificationDestination",
789 "@aws-cdk/aws-s3.NotificationKeyFilter",
790 "constructs.Construct"
791 ],
792 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myLambda: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n});\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
793 "syntaxKindCounter": {
794 "10": 3,
795 "75": 17,
796 "104": 1,
797 "130": 1,
798 "153": 1,
799 "169": 1,
800 "193": 2,
801 "194": 6,
802 "196": 2,
803 "197": 1,
804 "225": 2,
805 "226": 1,
806 "242": 2,
807 "243": 2,
808 "281": 2,
809 "290": 1
810 },
811 "fqnsFingerprint": "dfdb607e655261c3dd45865fbc961ba9bc469172e72d6a7fe8db1f7d942a46ff"
812 },
813 "afb098aad002cde97de71399e05dce09ac709d431b9171aabb5f8cdf85f591b4": {
814 "translations": {
815 "python": {
816 "source": "by_name = s3.Bucket.from_bucket_name(self, \"BucketByName\", \"my-bucket\")\nby_arn = s3.Bucket.from_bucket_arn(self, \"BucketByArn\", \"arn:aws:s3:::my-bucket\")",
817 "version": "2"
818 },
819 "csharp": {
820 "source": "IBucket byName = Bucket.FromBucketName(this, \"BucketByName\", \"my-bucket\");\nIBucket byArn = Bucket.FromBucketArn(this, \"BucketByArn\", \"arn:aws:s3:::my-bucket\");",
821 "version": "1"
822 },
823 "java": {
824 "source": "IBucket byName = Bucket.fromBucketName(this, \"BucketByName\", \"my-bucket\");\nIBucket byArn = Bucket.fromBucketArn(this, \"BucketByArn\", \"arn:aws:s3:::my-bucket\");",
825 "version": "1"
826 },
827 "go": {
828 "source": "byName := s3.bucket.fromBucketName(this, jsii.String(\"BucketByName\"), jsii.String(\"my-bucket\"))\nbyArn := s3.bucket.fromBucketArn(this, jsii.String(\"BucketByArn\"), jsii.String(\"arn:aws:s3:::my-bucket\"))",
829 "version": "1"
830 },
831 "$": {
832 "source": "const byName = s3.Bucket.fromBucketName(this, 'BucketByName', 'my-bucket');\nconst byArn = s3.Bucket.fromBucketArn(this, 'BucketByArn', 'arn:aws:s3:::my-bucket');",
833 "version": "0"
834 }
835 },
836 "location": {
837 "api": {
838 "api": "moduleReadme",
839 "moduleFqn": "@aws-cdk/aws-s3"
840 },
841 "field": {
842 "field": "markdown",
843 "line": 227
844 }
845 },
846 "didCompile": true,
847 "fqnsReferenced": [
848 "@aws-cdk/aws-s3.Bucket",
849 "@aws-cdk/aws-s3.Bucket#fromBucketArn",
850 "@aws-cdk/aws-s3.Bucket#fromBucketName",
851 "@aws-cdk/aws-s3.IBucket",
852 "constructs.Construct"
853 ],
854 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst byName = s3.Bucket.fromBucketName(this, 'BucketByName', 'my-bucket');\nconst byArn = s3.Bucket.fromBucketArn(this, 'BucketByArn', 'arn:aws:s3:::my-bucket');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
855 "syntaxKindCounter": {
856 "10": 4,
857 "75": 8,
858 "104": 2,
859 "194": 4,
860 "196": 2,
861 "225": 2,
862 "242": 2,
863 "243": 2
864 },
865 "fqnsFingerprint": "1c897e348f9898c98d76326044fbf43044dd46827a6731d8b23c9b03139d07a2"
866 },
867 "a8c28d6c79f0c84ab82a231f0a19c69ab7860e861d9494770bf457ece86fa242": {
868 "translations": {
869 "python": {
870 "source": "my_cross_region_bucket = s3.Bucket.from_bucket_attributes(self, \"CrossRegionImport\",\n bucket_arn=\"arn:aws:s3:::my-bucket\",\n region=\"us-east-1\"\n)",
871 "version": "2"
872 },
873 "csharp": {
874 "source": "IBucket myCrossRegionBucket = Bucket.FromBucketAttributes(this, \"CrossRegionImport\", new BucketAttributes {\n BucketArn = \"arn:aws:s3:::my-bucket\",\n Region = \"us-east-1\"\n});",
875 "version": "1"
876 },
877 "java": {
878 "source": "IBucket myCrossRegionBucket = Bucket.fromBucketAttributes(this, \"CrossRegionImport\", BucketAttributes.builder()\n .bucketArn(\"arn:aws:s3:::my-bucket\")\n .region(\"us-east-1\")\n .build());",
879 "version": "1"
880 },
881 "go": {
882 "source": "myCrossRegionBucket := s3.bucket.fromBucketAttributes(this, jsii.String(\"CrossRegionImport\"), &bucketAttributes{\n\tbucketArn: jsii.String(\"arn:aws:s3:::my-bucket\"),\n\tregion: jsii.String(\"us-east-1\"),\n})",
883 "version": "1"
884 },
885 "$": {
886 "source": "const myCrossRegionBucket = s3.Bucket.fromBucketAttributes(this, 'CrossRegionImport', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n region: 'us-east-1',\n});\n// myCrossRegionBucket.bucketRegionalDomainName === 'my-bucket.s3.us-east-1.amazonaws.com'",
887 "version": "0"
888 }
889 },
890 "location": {
891 "api": {
892 "api": "moduleReadme",
893 "moduleFqn": "@aws-cdk/aws-s3"
894 },
895 "field": {
896 "field": "markdown",
897 "line": 235
898 }
899 },
900 "didCompile": true,
901 "fqnsReferenced": [
902 "@aws-cdk/aws-s3.Bucket",
903 "@aws-cdk/aws-s3.Bucket#fromBucketAttributes",
904 "@aws-cdk/aws-s3.BucketAttributes",
905 "@aws-cdk/aws-s3.IBucket",
906 "constructs.Construct"
907 ],
908 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst myCrossRegionBucket = s3.Bucket.fromBucketAttributes(this, 'CrossRegionImport', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n region: 'us-east-1',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
909 "syntaxKindCounter": {
910 "10": 3,
911 "75": 6,
912 "104": 1,
913 "193": 1,
914 "194": 2,
915 "196": 1,
916 "225": 1,
917 "242": 1,
918 "243": 1,
919 "281": 2
920 },
921 "fqnsFingerprint": "c5ff011ceb6de24426baaa44ee4bc21a73aa8c158020ca992747f5e1cde09cea"
922 },
923 "31a9b854c09d6af88c651a6032d4b25e3828b8c3d6b9bba98609527de67dbdd1": {
924 "translations": {
925 "python": {
926 "source": "bucket = s3.Bucket(self, \"MyBucket\")\ntopic = sns.Topic(self, \"MyTopic\")\nbucket.add_event_notification(s3.EventType.OBJECT_CREATED, s3n.SnsDestination(topic))",
927 "version": "2"
928 },
929 "csharp": {
930 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nTopic topic = new Topic(this, \"MyTopic\");\nbucket.AddEventNotification(EventType.OBJECT_CREATED, new SnsDestination(topic));",
931 "version": "1"
932 },
933 "java": {
934 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nTopic topic = new Topic(this, \"MyTopic\");\nbucket.addEventNotification(EventType.OBJECT_CREATED, new SnsDestination(topic));",
935 "version": "1"
936 },
937 "go": {
938 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\ntopic := sns.NewTopic(this, jsii.String(\"MyTopic\"))\nbucket.addEventNotification(s3.eventType_OBJECT_CREATED, s3n.NewSnsDestination(topic))",
939 "version": "1"
940 },
941 "$": {
942 "source": "const bucket = new s3.Bucket(this, 'MyBucket');\nconst topic = new sns.Topic(this, 'MyTopic');\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.SnsDestination(topic));",
943 "version": "0"
944 }
945 },
946 "location": {
947 "api": {
948 "api": "moduleReadme",
949 "moduleFqn": "@aws-cdk/aws-s3"
950 },
951 "field": {
952 "field": "markdown",
953 "line": 255
954 }
955 },
956 "didCompile": true,
957 "fqnsReferenced": [
958 "@aws-cdk/aws-s3-notifications.SnsDestination",
959 "@aws-cdk/aws-s3.Bucket",
960 "@aws-cdk/aws-s3.BucketBase#addEventNotification",
961 "@aws-cdk/aws-s3.EventType",
962 "@aws-cdk/aws-s3.EventType#OBJECT_CREATED",
963 "@aws-cdk/aws-s3.IBucketNotificationDestination",
964 "@aws-cdk/aws-sns.ITopic",
965 "@aws-cdk/aws-sns.Topic",
966 "constructs.Construct"
967 ],
968 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket');\nconst topic = new sns.Topic(this, 'MyTopic');\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.SnsDestination(topic));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
969 "syntaxKindCounter": {
970 "10": 2,
971 "75": 14,
972 "104": 2,
973 "194": 6,
974 "196": 1,
975 "197": 3,
976 "225": 2,
977 "226": 1,
978 "242": 2,
979 "243": 2
980 },
981 "fqnsFingerprint": "12426b8fa61f32b51a57c01177024215270bacd4b68ed8b6515d26d434f55a82"
982 },
983 "1684710021bfdb58c0d08fbc7fad26b925a70105d6825e6bb2e1dfadb021a2df": {
984 "translations": {
985 "python": {
986 "source": "# my_queue: sqs.Queue\n\nbucket = s3.Bucket(self, \"MyBucket\")\nbucket.add_event_notification(s3.EventType.OBJECT_REMOVED,\n s3n.SqsDestination(my_queue), prefix=\"foo/\", suffix=\".jpg\")",
987 "version": "2"
988 },
989 "csharp": {
990 "source": "Queue myQueue;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.AddEventNotification(EventType.OBJECT_REMOVED,\nnew SqsDestination(myQueue), new NotificationKeyFilter { Prefix = \"foo/\", Suffix = \".jpg\" });",
991 "version": "1"
992 },
993 "java": {
994 "source": "Queue myQueue;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.addEventNotification(EventType.OBJECT_REMOVED,\nnew SqsDestination(myQueue), NotificationKeyFilter.builder().prefix(\"foo/\").suffix(\".jpg\").build());",
995 "version": "1"
996 },
997 "go": {
998 "source": "var myQueue queue\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.addEventNotification(s3.eventType_OBJECT_REMOVED,\ns3n.NewSqsDestination(myQueue), &notificationKeyFilter{\n\tprefix: jsii.String(\"foo/\"),\n\tsuffix: jsii.String(\".jpg\"),\n})",
999 "version": "1"
1000 },
1001 "$": {
1002 "source": "declare const myQueue: sqs.Queue;\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.addEventNotification(s3.EventType.OBJECT_REMOVED,\n new s3n.SqsDestination(myQueue),\n { prefix: 'foo/', suffix: '.jpg' });",
1003 "version": "0"
1004 }
1005 },
1006 "location": {
1007 "api": {
1008 "api": "moduleReadme",
1009 "moduleFqn": "@aws-cdk/aws-s3"
1010 },
1011 "field": {
1012 "field": "markdown",
1013 "line": 270
1014 }
1015 },
1016 "didCompile": true,
1017 "fqnsReferenced": [
1018 "@aws-cdk/aws-s3-notifications.SqsDestination",
1019 "@aws-cdk/aws-s3.Bucket",
1020 "@aws-cdk/aws-s3.BucketBase#addEventNotification",
1021 "@aws-cdk/aws-s3.EventType",
1022 "@aws-cdk/aws-s3.EventType#OBJECT_REMOVED",
1023 "@aws-cdk/aws-s3.IBucketNotificationDestination",
1024 "@aws-cdk/aws-s3.NotificationKeyFilter",
1025 "@aws-cdk/aws-sqs.IQueue",
1026 "constructs.Construct"
1027 ],
1028 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myQueue: sqs.Queue;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.addEventNotification(s3.EventType.OBJECT_REMOVED,\n new s3n.SqsDestination(myQueue),\n { prefix: 'foo/', suffix: '.jpg' });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1029 "syntaxKindCounter": {
1030 "10": 3,
1031 "75": 16,
1032 "104": 1,
1033 "130": 1,
1034 "153": 1,
1035 "169": 1,
1036 "193": 1,
1037 "194": 5,
1038 "196": 1,
1039 "197": 2,
1040 "225": 2,
1041 "226": 1,
1042 "242": 2,
1043 "243": 2,
1044 "281": 2,
1045 "290": 1
1046 },
1047 "fqnsFingerprint": "1ebf3274d8449ea7d48470f14a16a4409fcc82f03a24df75930f9648ede35ec0"
1048 },
1049 "cdc9b35b6b797a2cc026af25a47108aa089f3ff8cb9ac6cfdab71caddca45181": {
1050 "translations": {
1051 "python": {
1052 "source": "# topic: sns.Topic\n\nbucket = s3.Bucket.from_bucket_attributes(self, \"ImportedBucket\",\n bucket_arn=\"arn:aws:s3:::my-bucket\"\n)\nbucket.add_event_notification(s3.EventType.OBJECT_CREATED, s3n.SnsDestination(topic))",
1053 "version": "2"
1054 },
1055 "csharp": {
1056 "source": "Topic topic;\n\nIBucket bucket = Bucket.FromBucketAttributes(this, \"ImportedBucket\", new BucketAttributes {\n BucketArn = \"arn:aws:s3:::my-bucket\"\n});\nbucket.AddEventNotification(EventType.OBJECT_CREATED, new SnsDestination(topic));",
1057 "version": "1"
1058 },
1059 "java": {
1060 "source": "Topic topic;\n\nIBucket bucket = Bucket.fromBucketAttributes(this, \"ImportedBucket\", BucketAttributes.builder()\n .bucketArn(\"arn:aws:s3:::my-bucket\")\n .build());\nbucket.addEventNotification(EventType.OBJECT_CREATED, new SnsDestination(topic));",
1061 "version": "1"
1062 },
1063 "go": {
1064 "source": "var topic topic\n\nbucket := s3.bucket.fromBucketAttributes(this, jsii.String(\"ImportedBucket\"), &bucketAttributes{\n\tbucketArn: jsii.String(\"arn:aws:s3:::my-bucket\"),\n})\nbucket.addEventNotification(s3.eventType_OBJECT_CREATED, s3n.NewSnsDestination(topic))",
1065 "version": "1"
1066 },
1067 "$": {
1068 "source": "declare const topic: sns.Topic;\nconst bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n});\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.SnsDestination(topic));",
1069 "version": "0"
1070 }
1071 },
1072 "location": {
1073 "api": {
1074 "api": "moduleReadme",
1075 "moduleFqn": "@aws-cdk/aws-s3"
1076 },
1077 "field": {
1078 "field": "markdown",
1079 "line": 280
1080 }
1081 },
1082 "didCompile": true,
1083 "fqnsReferenced": [
1084 "@aws-cdk/aws-s3-notifications.SnsDestination",
1085 "@aws-cdk/aws-s3.Bucket",
1086 "@aws-cdk/aws-s3.Bucket#fromBucketAttributes",
1087 "@aws-cdk/aws-s3.BucketAttributes",
1088 "@aws-cdk/aws-s3.EventType",
1089 "@aws-cdk/aws-s3.EventType#OBJECT_CREATED",
1090 "@aws-cdk/aws-s3.IBucket",
1091 "@aws-cdk/aws-s3.IBucket#addEventNotification",
1092 "@aws-cdk/aws-s3.IBucketNotificationDestination",
1093 "@aws-cdk/aws-sns.ITopic",
1094 "constructs.Construct"
1095 ],
1096 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const topic: sns.Topic;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n});\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.SnsDestination(topic));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1097 "syntaxKindCounter": {
1098 "10": 2,
1099 "75": 16,
1100 "104": 1,
1101 "130": 1,
1102 "153": 1,
1103 "169": 1,
1104 "193": 1,
1105 "194": 6,
1106 "196": 2,
1107 "197": 1,
1108 "225": 2,
1109 "226": 1,
1110 "242": 2,
1111 "243": 2,
1112 "281": 1,
1113 "290": 1
1114 },
1115 "fqnsFingerprint": "40816ae3962dc152a3043abb9899f2becdbd3338096ce9a8bf9face86d385f58"
1116 },
1117 "5b4c155f86d9de0e234cc8571e615bbf99edd2835745021834ec8b7828815334": {
1118 "translations": {
1119 "python": {
1120 "source": "# my_role: iam.IRole\n\nbucket = s3.Bucket(self, \"MyBucket\",\n notifications_handler_role=my_role\n)",
1121 "version": "2"
1122 },
1123 "csharp": {
1124 "source": "IRole myRole;\n\nBucket bucket = new Bucket(this, \"MyBucket\", new BucketProps {\n NotificationsHandlerRole = myRole\n});",
1125 "version": "1"
1126 },
1127 "java": {
1128 "source": "IRole myRole;\n\nBucket bucket = Bucket.Builder.create(this, \"MyBucket\")\n .notificationsHandlerRole(myRole)\n .build();",
1129 "version": "1"
1130 },
1131 "go": {
1132 "source": "var myRole iRole\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tnotificationsHandlerRole: myRole,\n})",
1133 "version": "1"
1134 },
1135 "$": {
1136 "source": "declare const myRole: iam.IRole;\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n notificationsHandlerRole: myRole,\n});",
1137 "version": "0"
1138 }
1139 },
1140 "location": {
1141 "api": {
1142 "api": "moduleReadme",
1143 "moduleFqn": "@aws-cdk/aws-s3"
1144 },
1145 "field": {
1146 "field": "markdown",
1147 "line": 293
1148 }
1149 },
1150 "didCompile": true,
1151 "fqnsReferenced": [
1152 "@aws-cdk/aws-iam.IRole",
1153 "@aws-cdk/aws-s3.Bucket",
1154 "@aws-cdk/aws-s3.BucketProps",
1155 "constructs.Construct"
1156 ],
1157 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myRole: iam.IRole;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n notificationsHandlerRole: myRole,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1158 "syntaxKindCounter": {
1159 "10": 1,
1160 "75": 8,
1161 "104": 1,
1162 "130": 1,
1163 "153": 1,
1164 "169": 1,
1165 "193": 1,
1166 "194": 1,
1167 "197": 1,
1168 "225": 2,
1169 "242": 2,
1170 "243": 2,
1171 "281": 1,
1172 "290": 1
1173 },
1174 "fqnsFingerprint": "5b80092f729eb8ef1e09c6f5ee40599befb20fb6e9cd111686afd173658c01bb"
1175 },
1176 "890ca17ff3ef8b09eb9f4ad8592682b26af8e1458d0b494b22265e14145e2176": {
1177 "translations": {
1178 "python": {
1179 "source": "imported_role = iam.Role.from_role_arn(self, \"role\", \"arn:aws:iam::123456789012:role/RoleName\",\n mutable=False\n)",
1180 "version": "2"
1181 },
1182 "csharp": {
1183 "source": "IRole importedRole = Role.FromRoleArn(this, \"role\", \"arn:aws:iam::123456789012:role/RoleName\", new FromRoleArnOptions {\n Mutable = false\n});",
1184 "version": "1"
1185 },
1186 "java": {
1187 "source": "IRole importedRole = Role.fromRoleArn(this, \"role\", \"arn:aws:iam::123456789012:role/RoleName\", FromRoleArnOptions.builder()\n .mutable(false)\n .build());",
1188 "version": "1"
1189 },
1190 "go": {
1191 "source": "importedRole := iam.role.fromRoleArn(this, jsii.String(\"role\"), jsii.String(\"arn:aws:iam::123456789012:role/RoleName\"), &fromRoleArnOptions{\n\tmutable: jsii.Boolean(false),\n})",
1192 "version": "1"
1193 },
1194 "$": {
1195 "source": "const importedRole = iam.Role.fromRoleArn(this, 'role', 'arn:aws:iam::123456789012:role/RoleName', {\n mutable: false,\n});",
1196 "version": "0"
1197 }
1198 },
1199 "location": {
1200 "api": {
1201 "api": "moduleReadme",
1202 "moduleFqn": "@aws-cdk/aws-s3"
1203 },
1204 "field": {
1205 "field": "markdown",
1206 "line": 306
1207 }
1208 },
1209 "didCompile": true,
1210 "fqnsReferenced": [
1211 "@aws-cdk/aws-iam.FromRoleArnOptions",
1212 "@aws-cdk/aws-iam.IRole",
1213 "@aws-cdk/aws-iam.Role",
1214 "@aws-cdk/aws-iam.Role#fromRoleArn",
1215 "constructs.Construct"
1216 ],
1217 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst importedRole = iam.Role.fromRoleArn(this, 'role', 'arn:aws:iam::123456789012:role/RoleName', {\n mutable: false,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1218 "syntaxKindCounter": {
1219 "10": 2,
1220 "75": 5,
1221 "91": 1,
1222 "104": 1,
1223 "193": 1,
1224 "194": 2,
1225 "196": 1,
1226 "225": 1,
1227 "242": 1,
1228 "243": 1,
1229 "281": 1
1230 },
1231 "fqnsFingerprint": "63f6edbd79135f6c5ad931e879bbbaa6ef0c5d18a52e97cdf6568cf72c37b438"
1232 },
1233 "6460fc5c4a273e6a2b3180acabef3c713285af61e9295b768906baa43b83b536": {
1234 "translations": {
1235 "python": {
1236 "source": "bucket = s3.Bucket(self, \"MyEventBridgeBucket\",\n event_bridge_enabled=True\n)",
1237 "version": "2"
1238 },
1239 "csharp": {
1240 "source": "Bucket bucket = new Bucket(this, \"MyEventBridgeBucket\", new BucketProps {\n EventBridgeEnabled = true\n});",
1241 "version": "1"
1242 },
1243 "java": {
1244 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyEventBridgeBucket\")\n .eventBridgeEnabled(true)\n .build();",
1245 "version": "1"
1246 },
1247 "go": {
1248 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyEventBridgeBucket\"), &bucketProps{\n\teventBridgeEnabled: jsii.Boolean(true),\n})",
1249 "version": "1"
1250 },
1251 "$": {
1252 "source": "const bucket = new s3.Bucket(this, 'MyEventBridgeBucket', {\n eventBridgeEnabled: true,\n});",
1253 "version": "0"
1254 }
1255 },
1256 "location": {
1257 "api": {
1258 "api": "moduleReadme",
1259 "moduleFqn": "@aws-cdk/aws-s3"
1260 },
1261 "field": {
1262 "field": "markdown",
1263 "line": 325
1264 }
1265 },
1266 "didCompile": true,
1267 "fqnsReferenced": [
1268 "@aws-cdk/aws-s3.Bucket",
1269 "@aws-cdk/aws-s3.BucketProps",
1270 "constructs.Construct"
1271 ],
1272 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyEventBridgeBucket', {\n eventBridgeEnabled: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1273 "syntaxKindCounter": {
1274 "10": 1,
1275 "75": 4,
1276 "104": 1,
1277 "106": 1,
1278 "193": 1,
1279 "194": 1,
1280 "197": 1,
1281 "225": 1,
1282 "242": 1,
1283 "243": 1,
1284 "281": 1
1285 },
1286 "fqnsFingerprint": "eb0dfaab3b5150668b66f7c0db7adc3307081430cdb5e34998966c0994b1aa4b"
1287 },
1288 "449c32c629685a1b9aa8880b1654cf3996386ef5eee3678f8bfb37c7e3d6ae55": {
1289 "translations": {
1290 "python": {
1291 "source": "bucket = s3.Bucket(self, \"MyBlockedBucket\",\n block_public_access=s3.BlockPublicAccess.BLOCK_ALL\n)",
1292 "version": "2"
1293 },
1294 "csharp": {
1295 "source": "Bucket bucket = new Bucket(this, \"MyBlockedBucket\", new BucketProps {\n BlockPublicAccess = BlockPublicAccess.BLOCK_ALL\n});",
1296 "version": "1"
1297 },
1298 "java": {
1299 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyBlockedBucket\")\n .blockPublicAccess(BlockPublicAccess.BLOCK_ALL)\n .build();",
1300 "version": "1"
1301 },
1302 "go": {
1303 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBlockedBucket\"), &bucketProps{\n\tblockPublicAccess: s3.blockPublicAccess_BLOCK_ALL(),\n})",
1304 "version": "1"
1305 },
1306 "$": {
1307 "source": "const bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,\n});",
1308 "version": "0"
1309 }
1310 },
1311 "location": {
1312 "api": {
1313 "api": "moduleReadme",
1314 "moduleFqn": "@aws-cdk/aws-s3"
1315 },
1316 "field": {
1317 "field": "markdown",
1318 "line": 339
1319 }
1320 },
1321 "didCompile": true,
1322 "fqnsReferenced": [
1323 "@aws-cdk/aws-s3.BlockPublicAccess",
1324 "@aws-cdk/aws-s3.BlockPublicAccess#BLOCK_ALL",
1325 "@aws-cdk/aws-s3.Bucket",
1326 "@aws-cdk/aws-s3.BucketProps",
1327 "constructs.Construct"
1328 ],
1329 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1330 "syntaxKindCounter": {
1331 "10": 1,
1332 "75": 7,
1333 "104": 1,
1334 "193": 1,
1335 "194": 3,
1336 "197": 1,
1337 "225": 1,
1338 "242": 1,
1339 "243": 1,
1340 "281": 1
1341 },
1342 "fqnsFingerprint": "21bb3e9f44c1a5d3ea1cb88abdcad9092d9af2ca557a990eb0c4bae3f54e5d20"
1343 },
1344 "f203e2b3cdc70bfdd14e7fa086c0328295d73df05aec6e124fdcb85665cd9468": {
1345 "translations": {
1346 "python": {
1347 "source": "bucket = s3.Bucket(self, \"MyBlockedBucket\",\n block_public_access=s3.BlockPublicAccess.BLOCK_ACLS\n)",
1348 "version": "2"
1349 },
1350 "csharp": {
1351 "source": "Bucket bucket = new Bucket(this, \"MyBlockedBucket\", new BucketProps {\n BlockPublicAccess = BlockPublicAccess.BLOCK_ACLS\n});",
1352 "version": "1"
1353 },
1354 "java": {
1355 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyBlockedBucket\")\n .blockPublicAccess(BlockPublicAccess.BLOCK_ACLS)\n .build();",
1356 "version": "1"
1357 },
1358 "go": {
1359 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBlockedBucket\"), &bucketProps{\n\tblockPublicAccess: s3.blockPublicAccess_BLOCK_ACLS(),\n})",
1360 "version": "1"
1361 },
1362 "$": {
1363 "source": "const bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: s3.BlockPublicAccess.BLOCK_ACLS,\n});",
1364 "version": "0"
1365 }
1366 },
1367 "location": {
1368 "api": {
1369 "api": "moduleReadme",
1370 "moduleFqn": "@aws-cdk/aws-s3"
1371 },
1372 "field": {
1373 "field": "markdown",
1374 "line": 347
1375 }
1376 },
1377 "didCompile": true,
1378 "fqnsReferenced": [
1379 "@aws-cdk/aws-s3.BlockPublicAccess",
1380 "@aws-cdk/aws-s3.BlockPublicAccess#BLOCK_ACLS",
1381 "@aws-cdk/aws-s3.Bucket",
1382 "@aws-cdk/aws-s3.BucketProps",
1383 "constructs.Construct"
1384 ],
1385 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: s3.BlockPublicAccess.BLOCK_ACLS,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1386 "syntaxKindCounter": {
1387 "10": 1,
1388 "75": 7,
1389 "104": 1,
1390 "193": 1,
1391 "194": 3,
1392 "197": 1,
1393 "225": 1,
1394 "242": 1,
1395 "243": 1,
1396 "281": 1
1397 },
1398 "fqnsFingerprint": "2a3e96e52b888b20af84599000d40d016c0dcdca0385827790d2c1d602ebc0f6"
1399 },
1400 "3b33e9a3410c0717d7faeb932c3735c6ebcff58e5c6cffcabc0dddc8c9e87aa5": {
1401 "translations": {
1402 "python": {
1403 "source": "bucket = s3.Bucket(self, \"MyBlockedBucket\",\n block_public_access=s3.BlockPublicAccess(block_public_policy=True)\n)",
1404 "version": "2"
1405 },
1406 "csharp": {
1407 "source": "Bucket bucket = new Bucket(this, \"MyBlockedBucket\", new BucketProps {\n BlockPublicAccess = new BlockPublicAccess(new BlockPublicAccessOptions { BlockPublicPolicy = true })\n});",
1408 "version": "1"
1409 },
1410 "java": {
1411 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyBlockedBucket\")\n .blockPublicAccess(BlockPublicAccess.Builder.create().blockPublicPolicy(true).build())\n .build();",
1412 "version": "1"
1413 },
1414 "go": {
1415 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBlockedBucket\"), &bucketProps{\n\tblockPublicAccess: s3.NewBlockPublicAccess(&blockPublicAccessOptions{\n\t\tblockPublicPolicy: jsii.Boolean(true),\n\t}),\n})",
1416 "version": "1"
1417 },
1418 "$": {
1419 "source": "const bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: new s3.BlockPublicAccess({ blockPublicPolicy: true }),\n});",
1420 "version": "0"
1421 }
1422 },
1423 "location": {
1424 "api": {
1425 "api": "moduleReadme",
1426 "moduleFqn": "@aws-cdk/aws-s3"
1427 },
1428 "field": {
1429 "field": "markdown",
1430 "line": 355
1431 }
1432 },
1433 "didCompile": true,
1434 "fqnsReferenced": [
1435 "@aws-cdk/aws-s3.BlockPublicAccess",
1436 "@aws-cdk/aws-s3.BlockPublicAccessOptions",
1437 "@aws-cdk/aws-s3.Bucket",
1438 "@aws-cdk/aws-s3.BucketProps",
1439 "constructs.Construct"
1440 ],
1441 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: new s3.BlockPublicAccess({ blockPublicPolicy: true }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1442 "syntaxKindCounter": {
1443 "10": 1,
1444 "75": 7,
1445 "104": 1,
1446 "106": 1,
1447 "193": 2,
1448 "194": 2,
1449 "197": 2,
1450 "225": 1,
1451 "242": 1,
1452 "243": 1,
1453 "281": 2
1454 },
1455 "fqnsFingerprint": "8d537936facf45746d71d29575eed70ee6d4266704405407cbeb04f10b78dc22"
1456 },
1457 "3ec3c0d78960b28e4a144df7b79b669375f922a83b02fcd1e6f95eaf60a9b749": {
1458 "translations": {
1459 "python": {
1460 "source": "access_logs_bucket = s3.Bucket(self, \"AccessLogsBucket\")\n\nbucket = s3.Bucket(self, \"MyBucket\",\n server_access_logs_bucket=access_logs_bucket\n)",
1461 "version": "2"
1462 },
1463 "csharp": {
1464 "source": "Bucket accessLogsBucket = new Bucket(this, \"AccessLogsBucket\");\n\nBucket bucket = new Bucket(this, \"MyBucket\", new BucketProps {\n ServerAccessLogsBucket = accessLogsBucket\n});",
1465 "version": "1"
1466 },
1467 "java": {
1468 "source": "Bucket accessLogsBucket = new Bucket(this, \"AccessLogsBucket\");\n\nBucket bucket = Bucket.Builder.create(this, \"MyBucket\")\n .serverAccessLogsBucket(accessLogsBucket)\n .build();",
1469 "version": "1"
1470 },
1471 "go": {
1472 "source": "accessLogsBucket := s3.NewBucket(this, jsii.String(\"AccessLogsBucket\"))\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tserverAccessLogsBucket: accessLogsBucket,\n})",
1473 "version": "1"
1474 },
1475 "$": {
1476 "source": "const accessLogsBucket = new s3.Bucket(this, 'AccessLogsBucket');\n\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n serverAccessLogsBucket: accessLogsBucket,\n});",
1477 "version": "0"
1478 }
1479 },
1480 "location": {
1481 "api": {
1482 "api": "moduleReadme",
1483 "moduleFqn": "@aws-cdk/aws-s3"
1484 },
1485 "field": {
1486 "field": "markdown",
1487 "line": 369
1488 }
1489 },
1490 "didCompile": true,
1491 "fqnsReferenced": [
1492 "@aws-cdk/aws-s3.Bucket",
1493 "@aws-cdk/aws-s3.BucketProps",
1494 "@aws-cdk/aws-s3.IBucket",
1495 "constructs.Construct"
1496 ],
1497 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst accessLogsBucket = new s3.Bucket(this, 'AccessLogsBucket');\n\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n serverAccessLogsBucket: accessLogsBucket,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1498 "syntaxKindCounter": {
1499 "10": 2,
1500 "75": 8,
1501 "104": 2,
1502 "193": 1,
1503 "194": 2,
1504 "197": 2,
1505 "225": 2,
1506 "242": 2,
1507 "243": 2,
1508 "281": 1
1509 },
1510 "fqnsFingerprint": "c4fecea0fbfbadf8e733e645a64a56e8f2c9486d5d4d12733cf16668a2a84183"
1511 },
1512 "8df0a19b9ad0338c137c9efc0d9250edfaab61be12ee9ab016cdcb378119a432": {
1513 "translations": {
1514 "python": {
1515 "source": "access_logs_bucket = s3.Bucket(self, \"AccessLogsBucket\")\n\nbucket = s3.Bucket(self, \"MyBucket\",\n server_access_logs_bucket=access_logs_bucket,\n server_access_logs_prefix=\"logs\"\n)",
1516 "version": "2"
1517 },
1518 "csharp": {
1519 "source": "Bucket accessLogsBucket = new Bucket(this, \"AccessLogsBucket\");\n\nBucket bucket = new Bucket(this, \"MyBucket\", new BucketProps {\n ServerAccessLogsBucket = accessLogsBucket,\n ServerAccessLogsPrefix = \"logs\"\n});",
1520 "version": "1"
1521 },
1522 "java": {
1523 "source": "Bucket accessLogsBucket = new Bucket(this, \"AccessLogsBucket\");\n\nBucket bucket = Bucket.Builder.create(this, \"MyBucket\")\n .serverAccessLogsBucket(accessLogsBucket)\n .serverAccessLogsPrefix(\"logs\")\n .build();",
1524 "version": "1"
1525 },
1526 "go": {
1527 "source": "accessLogsBucket := s3.NewBucket(this, jsii.String(\"AccessLogsBucket\"))\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tserverAccessLogsBucket: accessLogsBucket,\n\tserverAccessLogsPrefix: jsii.String(\"logs\"),\n})",
1528 "version": "1"
1529 },
1530 "$": {
1531 "source": "const accessLogsBucket = new s3.Bucket(this, 'AccessLogsBucket');\n\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n serverAccessLogsBucket: accessLogsBucket,\n serverAccessLogsPrefix: 'logs',\n});",
1532 "version": "0"
1533 }
1534 },
1535 "location": {
1536 "api": {
1537 "api": "moduleReadme",
1538 "moduleFqn": "@aws-cdk/aws-s3"
1539 },
1540 "field": {
1541 "field": "markdown",
1542 "line": 379
1543 }
1544 },
1545 "didCompile": true,
1546 "fqnsReferenced": [
1547 "@aws-cdk/aws-s3.Bucket",
1548 "@aws-cdk/aws-s3.BucketProps",
1549 "@aws-cdk/aws-s3.IBucket",
1550 "constructs.Construct"
1551 ],
1552 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst accessLogsBucket = new s3.Bucket(this, 'AccessLogsBucket');\n\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n serverAccessLogsBucket: accessLogsBucket,\n serverAccessLogsPrefix: 'logs',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1553 "syntaxKindCounter": {
1554 "10": 3,
1555 "75": 9,
1556 "104": 2,
1557 "193": 1,
1558 "194": 2,
1559 "197": 2,
1560 "225": 2,
1561 "242": 2,
1562 "243": 2,
1563 "281": 2
1564 },
1565 "fqnsFingerprint": "c4fecea0fbfbadf8e733e645a64a56e8f2c9486d5d4d12733cf16668a2a84183"
1566 },
1567 "1c0f4c3f1e18c3b9e499b2ab37bb943b464d006c550727732262b2af0948dcc6": {
1568 "translations": {
1569 "python": {
1570 "source": "inventory_bucket = s3.Bucket(self, \"InventoryBucket\")\n\ndata_bucket = s3.Bucket(self, \"DataBucket\",\n inventories=[s3.Inventory(\n frequency=s3.InventoryFrequency.DAILY,\n include_object_versions=s3.InventoryObjectVersion.CURRENT,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket\n )\n ), s3.Inventory(\n frequency=s3.InventoryFrequency.WEEKLY,\n include_object_versions=s3.InventoryObjectVersion.ALL,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket,\n prefix=\"with-all-versions\"\n )\n )\n ]\n)",
1571 "version": "2"
1572 },
1573 "csharp": {
1574 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = new Bucket(this, \"DataBucket\", new BucketProps {\n Inventories = new [] { new Inventory {\n Frequency = InventoryFrequency.DAILY,\n IncludeObjectVersions = InventoryObjectVersion.CURRENT,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket\n }\n }, new Inventory {\n Frequency = InventoryFrequency.WEEKLY,\n IncludeObjectVersions = InventoryObjectVersion.ALL,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket,\n Prefix = \"with-all-versions\"\n }\n } }\n});",
1575 "version": "1"
1576 },
1577 "java": {
1578 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = Bucket.Builder.create(this, \"DataBucket\")\n .inventories(List.of(Inventory.builder()\n .frequency(InventoryFrequency.DAILY)\n .includeObjectVersions(InventoryObjectVersion.CURRENT)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .build())\n .build(), Inventory.builder()\n .frequency(InventoryFrequency.WEEKLY)\n .includeObjectVersions(InventoryObjectVersion.ALL)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .prefix(\"with-all-versions\")\n .build())\n .build()))\n .build();",
1579 "version": "1"
1580 },
1581 "go": {
1582 "source": "inventoryBucket := s3.NewBucket(this, jsii.String(\"InventoryBucket\"))\n\ndataBucket := s3.NewBucket(this, jsii.String(\"DataBucket\"), &bucketProps{\n\tinventories: []inventory{\n\t\t&inventory{\n\t\t\tfrequency: s3.inventoryFrequency_DAILY,\n\t\t\tincludeObjectVersions: s3.inventoryObjectVersion_CURRENT,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t},\n\t\t},\n\t\t&inventory{\n\t\t\tfrequency: s3.*inventoryFrequency_WEEKLY,\n\t\t\tincludeObjectVersions: s3.*inventoryObjectVersion_ALL,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t\tprefix: jsii.String(\"with-all-versions\"),\n\t\t\t},\n\t\t},\n\t},\n})",
1583 "version": "1"
1584 },
1585 "$": {
1586 "source": "const inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});",
1587 "version": "0"
1588 }
1589 },
1590 "location": {
1591 "api": {
1592 "api": "moduleReadme",
1593 "moduleFqn": "@aws-cdk/aws-s3"
1594 },
1595 "field": {
1596 "field": "markdown",
1597 "line": 396
1598 }
1599 },
1600 "didCompile": true,
1601 "fqnsReferenced": [
1602 "@aws-cdk/aws-s3.Bucket",
1603 "@aws-cdk/aws-s3.BucketProps",
1604 "@aws-cdk/aws-s3.IBucket",
1605 "@aws-cdk/aws-s3.InventoryDestination",
1606 "@aws-cdk/aws-s3.InventoryFrequency",
1607 "@aws-cdk/aws-s3.InventoryFrequency#DAILY",
1608 "@aws-cdk/aws-s3.InventoryFrequency#WEEKLY",
1609 "@aws-cdk/aws-s3.InventoryObjectVersion",
1610 "@aws-cdk/aws-s3.InventoryObjectVersion#ALL",
1611 "@aws-cdk/aws-s3.InventoryObjectVersion#CURRENT",
1612 "constructs.Construct"
1613 ],
1614 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1615 "syntaxKindCounter": {
1616 "10": 3,
1617 "75": 30,
1618 "104": 2,
1619 "192": 1,
1620 "193": 5,
1621 "194": 10,
1622 "197": 2,
1623 "225": 2,
1624 "242": 2,
1625 "243": 2,
1626 "281": 10
1627 },
1628 "fqnsFingerprint": "90b411883ef8b2f192e2666e273c769434a67c3ca8d96a64eb3fd051346ba8cf"
1629 },
1630 "dcb5fe207b669703f0cbc3a86d321dfde36b4f17973c085df6c9e0e044416d76": {
1631 "translations": {
1632 "python": {
1633 "source": "bucket = s3.Bucket(self, \"MyRedirectedBucket\",\n website_redirect=s3.RedirectTarget(host_name=\"www.example.com\")\n)",
1634 "version": "2"
1635 },
1636 "csharp": {
1637 "source": "Bucket bucket = new Bucket(this, \"MyRedirectedBucket\", new BucketProps {\n WebsiteRedirect = new RedirectTarget { HostName = \"www.example.com\" }\n});",
1638 "version": "1"
1639 },
1640 "java": {
1641 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyRedirectedBucket\")\n .websiteRedirect(RedirectTarget.builder().hostName(\"www.example.com\").build())\n .build();",
1642 "version": "1"
1643 },
1644 "go": {
1645 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyRedirectedBucket\"), &bucketProps{\n\twebsiteRedirect: &redirectTarget{\n\t\thostName: jsii.String(\"www.example.com\"),\n\t},\n})",
1646 "version": "1"
1647 },
1648 "$": {
1649 "source": "const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRedirect: { hostName: 'www.example.com' },\n});",
1650 "version": "0"
1651 }
1652 },
1653 "location": {
1654 "api": {
1655 "api": "moduleReadme",
1656 "moduleFqn": "@aws-cdk/aws-s3"
1657 },
1658 "field": {
1659 "field": "markdown",
1660 "line": 448
1661 }
1662 },
1663 "didCompile": true,
1664 "fqnsReferenced": [
1665 "@aws-cdk/aws-s3.Bucket",
1666 "@aws-cdk/aws-s3.BucketProps",
1667 "@aws-cdk/aws-s3.RedirectTarget",
1668 "constructs.Construct"
1669 ],
1670 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRedirect: { hostName: 'www.example.com' },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1671 "syntaxKindCounter": {
1672 "10": 2,
1673 "75": 5,
1674 "104": 1,
1675 "193": 2,
1676 "194": 1,
1677 "197": 1,
1678 "225": 1,
1679 "242": 1,
1680 "243": 1,
1681 "281": 2
1682 },
1683 "fqnsFingerprint": "d539b8cf8fa76faf09fe8601b8518de208a913a5f501be5f5b03ef70899810b8"
1684 },
1685 "9f72ba98ab02b135bb0e7a392ef1b0898911a4127190ac988ecb5b2691a6fca3": {
1686 "translations": {
1687 "python": {
1688 "source": "bucket = s3.Bucket(self, \"MyRedirectedBucket\",\n website_routing_rules=[s3.RoutingRule(\n host_name=\"www.example.com\",\n http_redirect_code=\"302\",\n protocol=s3.RedirectProtocol.HTTPS,\n replace_key=s3.ReplaceKey.prefix_with(\"test/\"),\n condition=s3.RoutingRuleCondition(\n http_error_code_returned_equals=\"200\",\n key_prefix_equals=\"prefix\"\n )\n )]\n)",
1689 "version": "2"
1690 },
1691 "csharp": {
1692 "source": "Bucket bucket = new Bucket(this, \"MyRedirectedBucket\", new BucketProps {\n WebsiteRoutingRules = new [] { new RoutingRule {\n HostName = \"www.example.com\",\n HttpRedirectCode = \"302\",\n Protocol = RedirectProtocol.HTTPS,\n ReplaceKey = ReplaceKey.PrefixWith(\"test/\"),\n Condition = new RoutingRuleCondition {\n HttpErrorCodeReturnedEquals = \"200\",\n KeyPrefixEquals = \"prefix\"\n }\n } }\n});",
1693 "version": "1"
1694 },
1695 "java": {
1696 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyRedirectedBucket\")\n .websiteRoutingRules(List.of(RoutingRule.builder()\n .hostName(\"www.example.com\")\n .httpRedirectCode(\"302\")\n .protocol(RedirectProtocol.HTTPS)\n .replaceKey(ReplaceKey.prefixWith(\"test/\"))\n .condition(RoutingRuleCondition.builder()\n .httpErrorCodeReturnedEquals(\"200\")\n .keyPrefixEquals(\"prefix\")\n .build())\n .build()))\n .build();",
1697 "version": "1"
1698 },
1699 "go": {
1700 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyRedirectedBucket\"), &bucketProps{\n\twebsiteRoutingRules: []routingRule{\n\t\t&routingRule{\n\t\t\thostName: jsii.String(\"www.example.com\"),\n\t\t\thttpRedirectCode: jsii.String(\"302\"),\n\t\t\tprotocol: s3.redirectProtocol_HTTPS,\n\t\t\treplaceKey: s3.replaceKey.prefixWith(jsii.String(\"test/\")),\n\t\t\tcondition: &routingRuleCondition{\n\t\t\t\thttpErrorCodeReturnedEquals: jsii.String(\"200\"),\n\t\t\t\tkeyPrefixEquals: jsii.String(\"prefix\"),\n\t\t\t},\n\t\t},\n\t},\n})",
1701 "version": "1"
1702 },
1703 "$": {
1704 "source": "const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});",
1705 "version": "0"
1706 }
1707 },
1708 "location": {
1709 "api": {
1710 "api": "moduleReadme",
1711 "moduleFqn": "@aws-cdk/aws-s3"
1712 },
1713 "field": {
1714 "field": "markdown",
1715 "line": 458
1716 }
1717 },
1718 "didCompile": true,
1719 "fqnsReferenced": [
1720 "@aws-cdk/aws-s3.Bucket",
1721 "@aws-cdk/aws-s3.BucketProps",
1722 "@aws-cdk/aws-s3.RedirectProtocol",
1723 "@aws-cdk/aws-s3.RedirectProtocol#HTTPS",
1724 "@aws-cdk/aws-s3.ReplaceKey",
1725 "@aws-cdk/aws-s3.ReplaceKey#prefixWith",
1726 "@aws-cdk/aws-s3.RoutingRuleCondition",
1727 "constructs.Construct"
1728 ],
1729 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1730 "syntaxKindCounter": {
1731 "10": 6,
1732 "75": 17,
1733 "104": 1,
1734 "192": 1,
1735 "193": 3,
1736 "194": 5,
1737 "196": 1,
1738 "197": 1,
1739 "225": 1,
1740 "242": 1,
1741 "243": 1,
1742 "281": 8
1743 },
1744 "fqnsFingerprint": "e3a7ef7ce03beb45517010e38f18fb44ecf38b45d589da3ed411f4ca510f8136"
1745 },
1746 "9a1df4b7688e0132464b9905a11808a7f3b012e21faeccb0a01d7eb6fff434ff": {
1747 "translations": {
1748 "python": {
1749 "source": "bucket = s3.Bucket(self, \"MyBucket\")\nbucket.url_for_object(\"objectname\") # Path-Style URL\nbucket.virtual_hosted_url_for_object(\"objectname\") # Virtual Hosted-Style URL\nbucket.virtual_hosted_url_for_object(\"objectname\", regional=False)",
1750 "version": "2"
1751 },
1752 "csharp": {
1753 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nbucket.UrlForObject(\"objectname\"); // Path-Style URL\nbucket.VirtualHostedUrlForObject(\"objectname\"); // Virtual Hosted-Style URL\nbucket.VirtualHostedUrlForObject(\"objectname\", new VirtualHostedStyleUrlOptions { Regional = false });",
1754 "version": "1"
1755 },
1756 "java": {
1757 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nbucket.urlForObject(\"objectname\"); // Path-Style URL\nbucket.virtualHostedUrlForObject(\"objectname\"); // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject(\"objectname\", VirtualHostedStyleUrlOptions.builder().regional(false).build());",
1758 "version": "1"
1759 },
1760 "go": {
1761 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.urlForObject(jsii.String(\"objectname\")) // Path-Style URL\nbucket.virtualHostedUrlForObject(jsii.String(\"objectname\")) // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject(jsii.String(\"objectname\"), &virtualHostedStyleUrlOptions{\n\tregional: jsii.Boolean(false),\n})",
1762 "version": "1"
1763 },
1764 "$": {
1765 "source": "const bucket = new s3.Bucket(this, 'MyBucket');\nbucket.urlForObject('objectname'); // Path-Style URL\nbucket.virtualHostedUrlForObject('objectname'); // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject('objectname', { regional: false }); // Virtual Hosted-Style URL but non-regional",
1766 "version": "0"
1767 }
1768 },
1769 "location": {
1770 "api": {
1771 "api": "moduleReadme",
1772 "moduleFqn": "@aws-cdk/aws-s3"
1773 },
1774 "field": {
1775 "field": "markdown",
1776 "line": 489
1777 }
1778 },
1779 "didCompile": true,
1780 "fqnsReferenced": [
1781 "@aws-cdk/aws-s3.Bucket",
1782 "@aws-cdk/aws-s3.BucketBase#urlForObject",
1783 "@aws-cdk/aws-s3.BucketBase#virtualHostedUrlForObject",
1784 "@aws-cdk/aws-s3.VirtualHostedStyleUrlOptions",
1785 "constructs.Construct"
1786 ],
1787 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.urlForObject('objectname'); // Path-Style URL\nbucket.virtualHostedUrlForObject('objectname'); // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject('objectname', { regional: false });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1788 "syntaxKindCounter": {
1789 "10": 4,
1790 "75": 10,
1791 "91": 1,
1792 "104": 1,
1793 "193": 1,
1794 "194": 4,
1795 "196": 3,
1796 "197": 1,
1797 "225": 1,
1798 "226": 3,
1799 "242": 1,
1800 "243": 1,
1801 "281": 1
1802 },
1803 "fqnsFingerprint": "b020aca7ffbf7361fbc77986f59f092fabb6a277693210220592c40a195b2f74"
1804 },
1805 "0e24c5fc757895589f565befbdbcdd9754a3d2791f201e0f9dfde5d672fa1af1": {
1806 "translations": {
1807 "python": {
1808 "source": "s3.Bucket(self, \"MyBucket\",\n object_ownership=s3.ObjectOwnership.OBJECT_WRITER\n)",
1809 "version": "2"
1810 },
1811 "csharp": {
1812 "source": "new Bucket(this, \"MyBucket\", new BucketProps {\n ObjectOwnership = ObjectOwnership.OBJECT_WRITER\n});",
1813 "version": "1"
1814 },
1815 "java": {
1816 "source": "Bucket.Builder.create(this, \"MyBucket\")\n .objectOwnership(ObjectOwnership.OBJECT_WRITER)\n .build();",
1817 "version": "1"
1818 },
1819 "go": {
1820 "source": "s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tobjectOwnership: s3.objectOwnership_OBJECT_WRITER,\n})",
1821 "version": "1"
1822 },
1823 "$": {
1824 "source": "new s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.OBJECT_WRITER,\n});",
1825 "version": "0"
1826 }
1827 },
1828 "location": {
1829 "api": {
1830 "api": "moduleReadme",
1831 "moduleFqn": "@aws-cdk/aws-s3"
1832 },
1833 "field": {
1834 "field": "markdown",
1835 "line": 506
1836 }
1837 },
1838 "didCompile": true,
1839 "fqnsReferenced": [
1840 "@aws-cdk/aws-s3.Bucket",
1841 "@aws-cdk/aws-s3.BucketProps",
1842 "@aws-cdk/aws-s3.ObjectOwnership",
1843 "@aws-cdk/aws-s3.ObjectOwnership#OBJECT_WRITER",
1844 "constructs.Construct"
1845 ],
1846 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.OBJECT_WRITER,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1847 "syntaxKindCounter": {
1848 "10": 1,
1849 "75": 6,
1850 "104": 1,
1851 "193": 1,
1852 "194": 3,
1853 "197": 1,
1854 "226": 1,
1855 "281": 1
1856 },
1857 "fqnsFingerprint": "604be30aebaef57c6480f4d3cca13521915a6841926362a9c2acc0f6ccf2fcf0"
1858 },
1859 "fdba0a3b1fc77528ad1e9a3e8448101552f1e9266e444af52380ba99d4096ee4": {
1860 "translations": {
1861 "python": {
1862 "source": "s3.Bucket(self, \"MyBucket\",\n object_ownership=s3.ObjectOwnership.BUCKET_OWNER_PREFERRED\n)",
1863 "version": "2"
1864 },
1865 "csharp": {
1866 "source": "new Bucket(this, \"MyBucket\", new BucketProps {\n ObjectOwnership = ObjectOwnership.BUCKET_OWNER_PREFERRED\n});",
1867 "version": "1"
1868 },
1869 "java": {
1870 "source": "Bucket.Builder.create(this, \"MyBucket\")\n .objectOwnership(ObjectOwnership.BUCKET_OWNER_PREFERRED)\n .build();",
1871 "version": "1"
1872 },
1873 "go": {
1874 "source": "s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tobjectOwnership: s3.objectOwnership_BUCKET_OWNER_PREFERRED,\n})",
1875 "version": "1"
1876 },
1877 "$": {
1878 "source": "new s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_PREFERRED,\n});",
1879 "version": "0"
1880 }
1881 },
1882 "location": {
1883 "api": {
1884 "api": "moduleReadme",
1885 "moduleFqn": "@aws-cdk/aws-s3"
1886 },
1887 "field": {
1888 "field": "markdown",
1889 "line": 516
1890 }
1891 },
1892 "didCompile": true,
1893 "fqnsReferenced": [
1894 "@aws-cdk/aws-s3.Bucket",
1895 "@aws-cdk/aws-s3.BucketProps",
1896 "@aws-cdk/aws-s3.ObjectOwnership",
1897 "@aws-cdk/aws-s3.ObjectOwnership#BUCKET_OWNER_PREFERRED",
1898 "constructs.Construct"
1899 ],
1900 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_PREFERRED,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1901 "syntaxKindCounter": {
1902 "10": 1,
1903 "75": 6,
1904 "104": 1,
1905 "193": 1,
1906 "194": 3,
1907 "197": 1,
1908 "226": 1,
1909 "281": 1
1910 },
1911 "fqnsFingerprint": "2226d0594c5b89a56ed8be099fdecb1b4da9a86241b6cdb190ed953fa7ce7385"
1912 },
1913 "8545528d8a1dcd10784c7b6a5ee34263573542ed838560c2a193d9fc5ccd6fff": {
1914 "translations": {
1915 "python": {
1916 "source": "s3.Bucket(self, \"MyBucket\",\n object_ownership=s3.ObjectOwnership.BUCKET_OWNER_ENFORCED\n)",
1917 "version": "2"
1918 },
1919 "csharp": {
1920 "source": "new Bucket(this, \"MyBucket\", new BucketProps {\n ObjectOwnership = ObjectOwnership.BUCKET_OWNER_ENFORCED\n});",
1921 "version": "1"
1922 },
1923 "java": {
1924 "source": "Bucket.Builder.create(this, \"MyBucket\")\n .objectOwnership(ObjectOwnership.BUCKET_OWNER_ENFORCED)\n .build();",
1925 "version": "1"
1926 },
1927 "go": {
1928 "source": "s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tobjectOwnership: s3.objectOwnership_BUCKET_OWNER_ENFORCED,\n})",
1929 "version": "1"
1930 },
1931 "$": {
1932 "source": "new s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_ENFORCED,\n});",
1933 "version": "0"
1934 }
1935 },
1936 "location": {
1937 "api": {
1938 "api": "moduleReadme",
1939 "moduleFqn": "@aws-cdk/aws-s3"
1940 },
1941 "field": {
1942 "field": "markdown",
1943 "line": 526
1944 }
1945 },
1946 "didCompile": true,
1947 "fqnsReferenced": [
1948 "@aws-cdk/aws-s3.Bucket",
1949 "@aws-cdk/aws-s3.BucketProps",
1950 "@aws-cdk/aws-s3.ObjectOwnership",
1951 "@aws-cdk/aws-s3.ObjectOwnership#BUCKET_OWNER_ENFORCED",
1952 "constructs.Construct"
1953 ],
1954 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.BUCKET_OWNER_ENFORCED,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
1955 "syntaxKindCounter": {
1956 "10": 1,
1957 "75": 6,
1958 "104": 1,
1959 "193": 1,
1960 "194": 3,
1961 "197": 1,
1962 "226": 1,
1963 "281": 1
1964 },
1965 "fqnsFingerprint": "5018d6b0ddefbeb36dd9a83535a82d38d4876e802c825af1f2d64a4ec89ef631"
1966 },
1967 "dc016d3a953365ca00f3ca1fff79017d34171895ba09ba2bd033ccde8fc0c438": {
1968 "translations": {
1969 "python": {
1970 "source": "bucket = s3.Bucket(self, \"MyTempFileBucket\",\n removal_policy=cdk.RemovalPolicy.DESTROY,\n auto_delete_objects=True\n)",
1971 "version": "2"
1972 },
1973 "csharp": {
1974 "source": "Bucket bucket = new Bucket(this, \"MyTempFileBucket\", new BucketProps {\n RemovalPolicy = RemovalPolicy.DESTROY,\n AutoDeleteObjects = true\n});",
1975 "version": "1"
1976 },
1977 "java": {
1978 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyTempFileBucket\")\n .removalPolicy(RemovalPolicy.DESTROY)\n .autoDeleteObjects(true)\n .build();",
1979 "version": "1"
1980 },
1981 "go": {
1982 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyTempFileBucket\"), &bucketProps{\n\tremovalPolicy: cdk.removalPolicy_DESTROY,\n\tautoDeleteObjects: jsii.Boolean(true),\n})",
1983 "version": "1"
1984 },
1985 "$": {
1986 "source": "const bucket = new s3.Bucket(this, 'MyTempFileBucket', {\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n autoDeleteObjects: true,\n});",
1987 "version": "0"
1988 }
1989 },
1990 "location": {
1991 "api": {
1992 "api": "moduleReadme",
1993 "moduleFqn": "@aws-cdk/aws-s3"
1994 },
1995 "field": {
1996 "field": "markdown",
1997 "line": 543
1998 }
1999 },
2000 "didCompile": true,
2001 "fqnsReferenced": [
2002 "@aws-cdk/aws-s3.Bucket",
2003 "@aws-cdk/aws-s3.BucketProps",
2004 "@aws-cdk/core.RemovalPolicy",
2005 "@aws-cdk/core.RemovalPolicy#DESTROY",
2006 "constructs.Construct"
2007 ],
2008 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyTempFileBucket', {\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n autoDeleteObjects: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2009 "syntaxKindCounter": {
2010 "10": 1,
2011 "75": 8,
2012 "104": 1,
2013 "106": 1,
2014 "193": 1,
2015 "194": 3,
2016 "197": 1,
2017 "225": 1,
2018 "242": 1,
2019 "243": 1,
2020 "281": 2
2021 },
2022 "fqnsFingerprint": "2cb37b46e32d19f5df7190021648804bd23e11574efe0ce916e834e806bd93f5"
2023 },
2024 "adc723db3d63936d889e34a9cf3865083c8bffa31e6ada5df48715a40fcbfdc8": {
2025 "translations": {
2026 "python": {
2027 "source": "bucket = s3.Bucket(self, \"MyBucket\",\n transfer_acceleration=True\n)",
2028 "version": "2"
2029 },
2030 "csharp": {
2031 "source": "Bucket bucket = new Bucket(this, \"MyBucket\", new BucketProps {\n TransferAcceleration = true\n});",
2032 "version": "1"
2033 },
2034 "java": {
2035 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyBucket\")\n .transferAcceleration(true)\n .build();",
2036 "version": "1"
2037 },
2038 "go": {
2039 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\ttransferAcceleration: jsii.Boolean(true),\n})",
2040 "version": "1"
2041 },
2042 "$": {
2043 "source": "const bucket = new s3.Bucket(this, 'MyBucket', {\n transferAcceleration: true,\n});",
2044 "version": "0"
2045 }
2046 },
2047 "location": {
2048 "api": {
2049 "api": "moduleReadme",
2050 "moduleFqn": "@aws-cdk/aws-s3"
2051 },
2052 "field": {
2053 "field": "markdown",
2054 "line": 559
2055 }
2056 },
2057 "didCompile": true,
2058 "fqnsReferenced": [
2059 "@aws-cdk/aws-s3.Bucket",
2060 "@aws-cdk/aws-s3.BucketProps",
2061 "constructs.Construct"
2062 ],
2063 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n transferAcceleration: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2064 "syntaxKindCounter": {
2065 "10": 1,
2066 "75": 4,
2067 "104": 1,
2068 "106": 1,
2069 "193": 1,
2070 "194": 1,
2071 "197": 1,
2072 "225": 1,
2073 "242": 1,
2074 "243": 1,
2075 "281": 1
2076 },
2077 "fqnsFingerprint": "eb0dfaab3b5150668b66f7c0db7adc3307081430cdb5e34998966c0994b1aa4b"
2078 },
2079 "22263bedfc873b8ee8047882d48091094566624553d5e9239e2ec146fb3659ce": {
2080 "translations": {
2081 "python": {
2082 "source": "bucket = s3.Bucket(self, \"MyBucket\",\n transfer_acceleration=True\n)\nbucket.transfer_acceleration_url_for_object(\"objectname\")",
2083 "version": "2"
2084 },
2085 "csharp": {
2086 "source": "Bucket bucket = new Bucket(this, \"MyBucket\", new BucketProps {\n TransferAcceleration = true\n});\nbucket.TransferAccelerationUrlForObject(\"objectname\");",
2087 "version": "1"
2088 },
2089 "java": {
2090 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyBucket\")\n .transferAcceleration(true)\n .build();\nbucket.transferAccelerationUrlForObject(\"objectname\");",
2091 "version": "1"
2092 },
2093 "go": {
2094 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\ttransferAcceleration: jsii.Boolean(true),\n})\nbucket.transferAccelerationUrlForObject(jsii.String(\"objectname\"))",
2095 "version": "1"
2096 },
2097 "$": {
2098 "source": "const bucket = new s3.Bucket(this, 'MyBucket', {\n transferAcceleration: true,\n});\nbucket.transferAccelerationUrlForObject('objectname');",
2099 "version": "0"
2100 }
2101 },
2102 "location": {
2103 "api": {
2104 "api": "moduleReadme",
2105 "moduleFqn": "@aws-cdk/aws-s3"
2106 },
2107 "field": {
2108 "field": "markdown",
2109 "line": 567
2110 }
2111 },
2112 "didCompile": true,
2113 "fqnsReferenced": [
2114 "@aws-cdk/aws-s3.Bucket",
2115 "@aws-cdk/aws-s3.BucketBase#transferAccelerationUrlForObject",
2116 "@aws-cdk/aws-s3.BucketProps",
2117 "constructs.Construct"
2118 ],
2119 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket', {\n transferAcceleration: true,\n});\nbucket.transferAccelerationUrlForObject('objectname');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2120 "syntaxKindCounter": {
2121 "10": 2,
2122 "75": 6,
2123 "104": 1,
2124 "106": 1,
2125 "193": 1,
2126 "194": 2,
2127 "196": 1,
2128 "197": 1,
2129 "225": 1,
2130 "226": 1,
2131 "242": 1,
2132 "243": 1,
2133 "281": 1
2134 },
2135 "fqnsFingerprint": "583241aa466f05365486fb2d17ea488b222e5ee1f0d680e82c93ffbe933dc90d"
2136 },
2137 "4360b1d60834247c353d31723d200fd22034ada2587447b69be3e504619edae3": {
2138 "translations": {
2139 "python": {
2140 "source": "s3.Bucket(self, \"MyBucket\",\n intelligent_tiering_configurations=[s3.IntelligentTieringConfiguration(\n name=\"foo\",\n prefix=\"folder/name\",\n archive_access_tier_time=cdk.Duration.days(90),\n deep_archive_access_tier_time=cdk.Duration.days(180),\n tags=[s3.Tag(key=\"tagname\", value=\"tagvalue\")]\n )]\n)",
2141 "version": "2"
2142 },
2143 "csharp": {
2144 "source": "new Bucket(this, \"MyBucket\", new BucketProps {\n IntelligentTieringConfigurations = new [] { new IntelligentTieringConfiguration {\n Name = \"foo\",\n Prefix = \"folder/name\",\n ArchiveAccessTierTime = Duration.Days(90),\n DeepArchiveAccessTierTime = Duration.Days(180),\n Tags = new [] { new Tag { Key = \"tagname\", Value = \"tagvalue\" } }\n } }\n});",
2145 "version": "1"
2146 },
2147 "java": {
2148 "source": "Bucket.Builder.create(this, \"MyBucket\")\n .intelligentTieringConfigurations(List.of(IntelligentTieringConfiguration.builder()\n .name(\"foo\")\n .prefix(\"folder/name\")\n .archiveAccessTierTime(Duration.days(90))\n .deepArchiveAccessTierTime(Duration.days(180))\n .tags(List.of(Tag.builder().key(\"tagname\").value(\"tagvalue\").build()))\n .build()))\n .build();",
2149 "version": "1"
2150 },
2151 "go": {
2152 "source": "s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tintelligentTieringConfigurations: []intelligentTieringConfiguration{\n\t\t&intelligentTieringConfiguration{\n\t\t\tname: jsii.String(\"foo\"),\n\t\t\tprefix: jsii.String(\"folder/name\"),\n\t\t\tarchiveAccessTierTime: cdk.duration.days(jsii.Number(90)),\n\t\t\tdeepArchiveAccessTierTime: cdk.*duration.days(jsii.Number(180)),\n\t\t\ttags: []tag{\n\t\t\t\t&tag{\n\t\t\t\t\tkey: jsii.String(\"tagname\"),\n\t\t\t\t\tvalue: jsii.String(\"tagvalue\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})",
2153 "version": "1"
2154 },
2155 "$": {
2156 "source": " new s3.Bucket(this, 'MyBucket', {\n intelligentTieringConfigurations: [{\n name: 'foo',\n prefix: 'folder/name',\n archiveAccessTierTime: cdk.Duration.days(90),\n deepArchiveAccessTierTime: cdk.Duration.days(180),\n tags: [{key: 'tagname', value: 'tagvalue'}]\n }],\n});",
2157 "version": "0"
2158 }
2159 },
2160 "location": {
2161 "api": {
2162 "api": "moduleReadme",
2163 "moduleFqn": "@aws-cdk/aws-s3"
2164 },
2165 "field": {
2166 "field": "markdown",
2167 "line": 578
2168 }
2169 },
2170 "didCompile": true,
2171 "fqnsReferenced": [
2172 "@aws-cdk/aws-s3.Bucket",
2173 "@aws-cdk/aws-s3.BucketProps",
2174 "@aws-cdk/core.Duration",
2175 "@aws-cdk/core.Duration#days",
2176 "constructs.Construct"
2177 ],
2178 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n new s3.Bucket(this, 'MyBucket', {\n intelligentTieringConfigurations: [{\n name: 'foo',\n prefix: 'folder/name',\n archiveAccessTierTime: cdk.Duration.days(90),\n deepArchiveAccessTierTime: cdk.Duration.days(180),\n tags: [{key: 'tagname', value: 'tagvalue'}]\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2179 "syntaxKindCounter": {
2180 "8": 2,
2181 "10": 5,
2182 "75": 16,
2183 "104": 1,
2184 "192": 2,
2185 "193": 3,
2186 "194": 5,
2187 "196": 2,
2188 "197": 1,
2189 "226": 1,
2190 "281": 8
2191 },
2192 "fqnsFingerprint": "af1bc5c4c82c0db09b350ce218ad8373dae45b24dccb86a7d3c8f82fb8e17125"
2193 },
2194 "b0c69834eaffdaea4b005d4b73634b075fee7fd3dc7f0e5211b3a01c5bcb0478": {
2195 "translations": {
2196 "python": {
2197 "source": "bucket = s3.Bucket(self, \"MyBlockedBucket\",\n block_public_access=s3.BlockPublicAccess.BLOCK_ALL\n)",
2198 "version": "2"
2199 },
2200 "csharp": {
2201 "source": "Bucket bucket = new Bucket(this, \"MyBlockedBucket\", new BucketProps {\n BlockPublicAccess = BlockPublicAccess.BLOCK_ALL\n});",
2202 "version": "1"
2203 },
2204 "java": {
2205 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyBlockedBucket\")\n .blockPublicAccess(BlockPublicAccess.BLOCK_ALL)\n .build();",
2206 "version": "1"
2207 },
2208 "go": {
2209 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBlockedBucket\"), &bucketProps{\n\tblockPublicAccess: s3.blockPublicAccess_BLOCK_ALL(),\n})",
2210 "version": "1"
2211 },
2212 "$": {
2213 "source": "const bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,\n});",
2214 "version": "0"
2215 }
2216 },
2217 "location": {
2218 "api": {
2219 "api": "type",
2220 "fqn": "@aws-cdk/aws-s3.BlockPublicAccess"
2221 },
2222 "field": {
2223 "field": "example"
2224 }
2225 },
2226 "didCompile": true,
2227 "fqnsReferenced": [
2228 "@aws-cdk/aws-s3.BlockPublicAccess",
2229 "@aws-cdk/aws-s3.BlockPublicAccess#BLOCK_ALL",
2230 "@aws-cdk/aws-s3.Bucket",
2231 "@aws-cdk/aws-s3.BucketProps",
2232 "constructs.Construct"
2233 ],
2234 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2235 "syntaxKindCounter": {
2236 "10": 1,
2237 "75": 7,
2238 "104": 1,
2239 "193": 1,
2240 "194": 3,
2241 "197": 1,
2242 "225": 1,
2243 "242": 1,
2244 "243": 1,
2245 "281": 1
2246 },
2247 "fqnsFingerprint": "21bb3e9f44c1a5d3ea1cb88abdcad9092d9af2ca557a990eb0c4bae3f54e5d20"
2248 },
2249 "1cad386cd3026dcb4e94aaf4d7814bf66c0c776a4f25fb4f4c97b822fdd0900d": {
2250 "translations": {
2251 "python": {
2252 "source": "bucket = s3.Bucket(self, \"MyBlockedBucket\",\n block_public_access=s3.BlockPublicAccess(block_public_policy=True)\n)",
2253 "version": "2"
2254 },
2255 "csharp": {
2256 "source": "Bucket bucket = new Bucket(this, \"MyBlockedBucket\", new BucketProps {\n BlockPublicAccess = new BlockPublicAccess(new BlockPublicAccessOptions { BlockPublicPolicy = true })\n});",
2257 "version": "1"
2258 },
2259 "java": {
2260 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyBlockedBucket\")\n .blockPublicAccess(BlockPublicAccess.Builder.create().blockPublicPolicy(true).build())\n .build();",
2261 "version": "1"
2262 },
2263 "go": {
2264 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBlockedBucket\"), &bucketProps{\n\tblockPublicAccess: s3.NewBlockPublicAccess(&blockPublicAccessOptions{\n\t\tblockPublicPolicy: jsii.Boolean(true),\n\t}),\n})",
2265 "version": "1"
2266 },
2267 "$": {
2268 "source": "const bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: new s3.BlockPublicAccess({ blockPublicPolicy: true }),\n});",
2269 "version": "0"
2270 }
2271 },
2272 "location": {
2273 "api": {
2274 "api": "type",
2275 "fqn": "@aws-cdk/aws-s3.BlockPublicAccessOptions"
2276 },
2277 "field": {
2278 "field": "example"
2279 }
2280 },
2281 "didCompile": true,
2282 "fqnsReferenced": [
2283 "@aws-cdk/aws-s3.BlockPublicAccess",
2284 "@aws-cdk/aws-s3.BlockPublicAccessOptions",
2285 "@aws-cdk/aws-s3.Bucket",
2286 "@aws-cdk/aws-s3.BucketProps",
2287 "constructs.Construct"
2288 ],
2289 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBlockedBucket', {\n blockPublicAccess: new s3.BlockPublicAccess({ blockPublicPolicy: true }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2290 "syntaxKindCounter": {
2291 "10": 1,
2292 "75": 7,
2293 "104": 1,
2294 "106": 1,
2295 "193": 2,
2296 "194": 2,
2297 "197": 2,
2298 "225": 1,
2299 "242": 1,
2300 "243": 1,
2301 "281": 2
2302 },
2303 "fqnsFingerprint": "8d537936facf45746d71d29575eed70ee6d4266704405407cbeb04f10b78dc22"
2304 },
2305 "fed0af595847160093dce79d6535a22af382fc2e4ccfb88b94659e38fec914ad": {
2306 "translations": {
2307 "python": {
2308 "source": "# ecr_repository: ecr.Repository\n\n\ncodebuild.Project(self, \"Project\",\n environment=codebuild.BuildEnvironment(\n build_image=codebuild.WindowsBuildImage.from_ecr_repository(ecr_repository, \"v1.0\", codebuild.WindowsImageType.SERVER_2019),\n # optional certificate to include in the build image\n certificate=codebuild.BuildEnvironmentCertificate(\n bucket=s3.Bucket.from_bucket_name(self, \"Bucket\", \"my-bucket\"),\n object_key=\"path/to/cert.pem\"\n )\n )\n)",
2309 "version": "2"
2310 },
2311 "csharp": {
2312 "source": "Repository ecrRepository;\n\n\nnew Project(this, \"Project\", new ProjectProps {\n Environment = new BuildEnvironment {\n BuildImage = WindowsBuildImage.FromEcrRepository(ecrRepository, \"v1.0\", WindowsImageType.SERVER_2019),\n // optional certificate to include in the build image\n Certificate = new BuildEnvironmentCertificate {\n Bucket = Bucket.FromBucketName(this, \"Bucket\", \"my-bucket\"),\n ObjectKey = \"path/to/cert.pem\"\n }\n }\n});",
2313 "version": "1"
2314 },
2315 "java": {
2316 "source": "Repository ecrRepository;\n\n\nProject.Builder.create(this, \"Project\")\n .environment(BuildEnvironment.builder()\n .buildImage(WindowsBuildImage.fromEcrRepository(ecrRepository, \"v1.0\", WindowsImageType.SERVER_2019))\n // optional certificate to include in the build image\n .certificate(BuildEnvironmentCertificate.builder()\n .bucket(Bucket.fromBucketName(this, \"Bucket\", \"my-bucket\"))\n .objectKey(\"path/to/cert.pem\")\n .build())\n .build())\n .build();",
2317 "version": "1"
2318 },
2319 "go": {
2320 "source": "var ecrRepository repository\n\n\ncodebuild.NewProject(this, jsii.String(\"Project\"), &projectProps{\n\tenvironment: &buildEnvironment{\n\t\tbuildImage: codebuild.windowsBuildImage.fromEcrRepository(ecrRepository, jsii.String(\"v1.0\"), codebuild.windowsImageType_SERVER_2019),\n\t\t// optional certificate to include in the build image\n\t\tcertificate: &buildEnvironmentCertificate{\n\t\t\tbucket: s3.bucket.fromBucketName(this, jsii.String(\"Bucket\"), jsii.String(\"my-bucket\")),\n\t\t\tobjectKey: jsii.String(\"path/to/cert.pem\"),\n\t\t},\n\t},\n})",
2321 "version": "1"
2322 },
2323 "$": {
2324 "source": "declare const ecrRepository: ecr.Repository;\n\nnew codebuild.Project(this, 'Project', {\n environment: {\n buildImage: codebuild.WindowsBuildImage.fromEcrRepository(ecrRepository, 'v1.0', codebuild.WindowsImageType.SERVER_2019),\n // optional certificate to include in the build image\n certificate: {\n bucket: s3.Bucket.fromBucketName(this, 'Bucket', 'my-bucket'),\n objectKey: 'path/to/cert.pem',\n },\n },\n // ...\n})",
2325 "version": "0"
2326 }
2327 },
2328 "location": {
2329 "api": {
2330 "api": "type",
2331 "fqn": "@aws-cdk/aws-s3.Bucket"
2332 },
2333 "field": {
2334 "field": "example"
2335 }
2336 },
2337 "didCompile": true,
2338 "fqnsReferenced": [
2339 "@aws-cdk/aws-codebuild.BuildEnvironment",
2340 "@aws-cdk/aws-codebuild.BuildEnvironmentCertificate",
2341 "@aws-cdk/aws-codebuild.IBuildImage",
2342 "@aws-cdk/aws-codebuild.Project",
2343 "@aws-cdk/aws-codebuild.ProjectProps",
2344 "@aws-cdk/aws-codebuild.WindowsBuildImage",
2345 "@aws-cdk/aws-codebuild.WindowsBuildImage#fromEcrRepository",
2346 "@aws-cdk/aws-codebuild.WindowsImageType",
2347 "@aws-cdk/aws-codebuild.WindowsImageType#SERVER_2019",
2348 "@aws-cdk/aws-ecr.IRepository",
2349 "@aws-cdk/aws-s3.Bucket",
2350 "@aws-cdk/aws-s3.Bucket#fromBucketName",
2351 "@aws-cdk/aws-s3.IBucket",
2352 "constructs.Construct"
2353 ],
2354 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const ecrRepository: ecr.Repository;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration, SecretValue } from '@aws-cdk/core';\nimport codebuild = require('@aws-cdk/aws-codebuild');\nimport iam = require('@aws-cdk/aws-iam');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as elbv2 from '@aws-cdk/aws-elasticloadbalancingv2';\nimport * as ecr from '@aws-cdk/aws-ecr';\nimport * as logs from '@aws-cdk/aws-logs';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew codebuild.Project(this, 'Project', {\n environment: {\n buildImage: codebuild.WindowsBuildImage.fromEcrRepository(ecrRepository, 'v1.0', codebuild.WindowsImageType.SERVER_2019),\n // optional certificate to include in the build image\n certificate: {\n bucket: s3.Bucket.fromBucketName(this, 'Bucket', 'my-bucket'),\n objectKey: 'path/to/cert.pem',\n },\n },\n // ...\n})\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2355 "syntaxKindCounter": {
2356 "10": 5,
2357 "75": 20,
2358 "104": 2,
2359 "130": 1,
2360 "153": 1,
2361 "169": 1,
2362 "193": 3,
2363 "194": 7,
2364 "196": 2,
2365 "197": 1,
2366 "225": 1,
2367 "226": 1,
2368 "242": 1,
2369 "243": 1,
2370 "281": 5,
2371 "290": 1
2372 },
2373 "fqnsFingerprint": "6c4f77f8dd61314bcde9f8a9de16b8af3cbfec14d87348c1147e71f2fc78a3ab"
2374 },
2375 "847889833f4137c7e477e51b5aa64c30ce7326956285dc1c27f2c141d6728dc9": {
2376 "translations": {
2377 "python": {
2378 "source": "bucket = s3.Bucket(self, \"MyBucket\")\n\niot.TopicRule(self, \"TopicRule\",\n sql=iot.IotSql.from_string_as_ver20160323(\"SELECT * FROM 'device/+/data'\"),\n actions=[\n actions.S3PutObjectAction(bucket,\n access_control=s3.BucketAccessControl.PUBLIC_READ\n )\n ]\n)",
2379 "version": "2"
2380 },
2381 "csharp": {
2382 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\n\nnew TopicRule(this, \"TopicRule\", new TopicRuleProps {\n Sql = IotSql.FromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"),\n Actions = new [] {\n new S3PutObjectAction(bucket, new S3PutObjectActionProps {\n AccessControl = BucketAccessControl.PUBLIC_READ\n }) }\n});",
2383 "version": "1"
2384 },
2385 "java": {
2386 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\n\nTopicRule.Builder.create(this, \"TopicRule\")\n .sql(IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"))\n .actions(List.of(\n S3PutObjectAction.Builder.create(bucket)\n .accessControl(BucketAccessControl.PUBLIC_READ)\n .build()))\n .build();",
2387 "version": "1"
2388 },
2389 "go": {
2390 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\n\niot.NewTopicRule(this, jsii.String(\"TopicRule\"), &topicRuleProps{\n\tsql: iot.iotSql.fromStringAsVer20160323(jsii.String(\"SELECT * FROM 'device/+/data'\")),\n\tactions: []iAction{\n\t\tactions.NewS3PutObjectAction(bucket, &s3PutObjectActionProps{\n\t\t\taccessControl: s3.bucketAccessControl_PUBLIC_READ,\n\t\t}),\n\t},\n})",
2391 "version": "1"
2392 },
2393 "$": {
2394 "source": "const bucket = new s3.Bucket(this, 'MyBucket');\n\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"),\n actions: [\n new actions.S3PutObjectAction(bucket, {\n accessControl: s3.BucketAccessControl.PUBLIC_READ,\n }),\n ],\n});",
2395 "version": "0"
2396 }
2397 },
2398 "location": {
2399 "api": {
2400 "api": "type",
2401 "fqn": "@aws-cdk/aws-s3.BucketAccessControl"
2402 },
2403 "field": {
2404 "field": "example"
2405 }
2406 },
2407 "didCompile": true,
2408 "fqnsReferenced": [
2409 "@aws-cdk/aws-iot-actions.S3PutObjectAction",
2410 "@aws-cdk/aws-iot-actions.S3PutObjectActionProps",
2411 "@aws-cdk/aws-iot.IotSql",
2412 "@aws-cdk/aws-iot.IotSql#fromStringAsVer20160323",
2413 "@aws-cdk/aws-iot.TopicRule",
2414 "@aws-cdk/aws-iot.TopicRuleProps",
2415 "@aws-cdk/aws-s3.Bucket",
2416 "@aws-cdk/aws-s3.BucketAccessControl",
2417 "@aws-cdk/aws-s3.BucketAccessControl#PUBLIC_READ",
2418 "@aws-cdk/aws-s3.IBucket",
2419 "constructs.Construct"
2420 ],
2421 "fullSource": "// Fixture with packages imported, but nothing else\nimport { Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as actions from '@aws-cdk/aws-iot-actions';\nimport * as iot from '@aws-cdk/aws-iot';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as s3 from '@aws-cdk/aws-s3';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket');\n\nnew iot.TopicRule(this, 'TopicRule', {\n sql: iot.IotSql.fromStringAsVer20160323(\"SELECT * FROM 'device/+/data'\"),\n actions: [\n new actions.S3PutObjectAction(bucket, {\n accessControl: s3.BucketAccessControl.PUBLIC_READ,\n }),\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
2422 "syntaxKindCounter": {
2423 "10": 3,
2424 "75": 17,
2425 "104": 2,
2426 "192": 1,
2427 "193": 2,
2428 "194": 7,
2429 "196": 1,
2430 "197": 3,
2431 "225": 1,
2432 "226": 1,
2433 "242": 1,
2434 "243": 1,
2435 "281": 3
2436 },
2437 "fqnsFingerprint": "ce1b687bb2c82100a3505e91639a22cd9143e3fffaec492b1626a5387ba1e7ce"
2438 },
2439 "02a0548dea63e07b7d48b4b2ed91128801c96056e8fefa738a4c16f2724439e5": {
2440 "translations": {
2441 "python": {
2442 "source": "# my_lambda: lambda.Function\n\nbucket = s3.Bucket.from_bucket_attributes(self, \"ImportedBucket\",\n bucket_arn=\"arn:aws:s3:::my-bucket\"\n)\n\n# now you can just call methods on the bucket\nbucket.add_event_notification(s3.EventType.OBJECT_CREATED, s3n.LambdaDestination(my_lambda), prefix=\"home/myusername/*\")",
2443 "version": "2"
2444 },
2445 "csharp": {
2446 "source": "Function myLambda;\n\nIBucket bucket = Bucket.FromBucketAttributes(this, \"ImportedBucket\", new BucketAttributes {\n BucketArn = \"arn:aws:s3:::my-bucket\"\n});\n\n// now you can just call methods on the bucket\nbucket.AddEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), new NotificationKeyFilter { Prefix = \"home/myusername/*\" });",
2447 "version": "1"
2448 },
2449 "java": {
2450 "source": "Function myLambda;\n\nIBucket bucket = Bucket.fromBucketAttributes(this, \"ImportedBucket\", BucketAttributes.builder()\n .bucketArn(\"arn:aws:s3:::my-bucket\")\n .build());\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), NotificationKeyFilter.builder().prefix(\"home/myusername/*\").build());",
2451 "version": "1"
2452 },
2453 "go": {
2454 "source": "var myLambda function\n\nbucket := s3.bucket.fromBucketAttributes(this, jsii.String(\"ImportedBucket\"), &bucketAttributes{\n\tbucketArn: jsii.String(\"arn:aws:s3:::my-bucket\"),\n})\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(s3.eventType_OBJECT_CREATED, s3n.NewLambdaDestination(myLambda), &notificationKeyFilter{\n\tprefix: jsii.String(\"home/myusername/*\"),\n})",
2455 "version": "1"
2456 },
2457 "$": {
2458 "source": "declare const myLambda: lambda.Function;\nconst bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n});\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'});",
2459 "version": "0"
2460 }
2461 },
2462 "location": {
2463 "api": {
2464 "api": "type",
2465 "fqn": "@aws-cdk/aws-s3.BucketAttributes"
2466 },
2467 "field": {
2468 "field": "example"
2469 }
2470 },
2471 "didCompile": true,
2472 "fqnsReferenced": [
2473 "@aws-cdk/aws-lambda.IFunction",
2474 "@aws-cdk/aws-s3-notifications.LambdaDestination",
2475 "@aws-cdk/aws-s3.Bucket",
2476 "@aws-cdk/aws-s3.Bucket#fromBucketAttributes",
2477 "@aws-cdk/aws-s3.BucketAttributes",
2478 "@aws-cdk/aws-s3.EventType",
2479 "@aws-cdk/aws-s3.EventType#OBJECT_CREATED",
2480 "@aws-cdk/aws-s3.IBucket",
2481 "@aws-cdk/aws-s3.IBucket#addEventNotification",
2482 "@aws-cdk/aws-s3.IBucketNotificationDestination",
2483 "@aws-cdk/aws-s3.NotificationKeyFilter",
2484 "constructs.Construct"
2485 ],
2486 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myLambda: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst bucket = s3.Bucket.fromBucketAttributes(this, 'ImportedBucket', {\n bucketArn: 'arn:aws:s3:::my-bucket',\n});\n\n// now you can just call methods on the bucket\nbucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2487 "syntaxKindCounter": {
2488 "10": 3,
2489 "75": 17,
2490 "104": 1,
2491 "130": 1,
2492 "153": 1,
2493 "169": 1,
2494 "193": 2,
2495 "194": 6,
2496 "196": 2,
2497 "197": 1,
2498 "225": 2,
2499 "226": 1,
2500 "242": 2,
2501 "243": 2,
2502 "281": 2,
2503 "290": 1
2504 },
2505 "fqnsFingerprint": "dfdb607e655261c3dd45865fbc961ba9bc469172e72d6a7fe8db1f7d942a46ff"
2506 },
2507 "d88688cb43478674044c1c3dd244b2cdc5078fae3d84334b715c5491145be8b1": {
2508 "translations": {
2509 "python": {
2510 "source": "# my_lambda: lambda.Function\n\nbucket = s3.Bucket(self, \"MyBucket\")\nbucket.add_event_notification(s3.EventType.OBJECT_CREATED, s3n.LambdaDestination(my_lambda), prefix=\"home/myusername/*\")",
2511 "version": "2"
2512 },
2513 "csharp": {
2514 "source": "Function myLambda;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.AddEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), new NotificationKeyFilter { Prefix = \"home/myusername/*\" });",
2515 "version": "1"
2516 },
2517 "java": {
2518 "source": "Function myLambda;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.addEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), NotificationKeyFilter.builder().prefix(\"home/myusername/*\").build());",
2519 "version": "1"
2520 },
2521 "go": {
2522 "source": "var myLambda function\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.addEventNotification(s3.eventType_OBJECT_CREATED, s3n.NewLambdaDestination(myLambda), &notificationKeyFilter{\n\tprefix: jsii.String(\"home/myusername/*\"),\n})",
2523 "version": "1"
2524 },
2525 "$": {
2526 "source": " declare const myLambda: lambda.Function;\n const bucket = new s3.Bucket(this, 'MyBucket');\n bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'});",
2527 "version": "0"
2528 }
2529 },
2530 "location": {
2531 "api": {
2532 "api": "member",
2533 "fqn": "@aws-cdk/aws-s3.BucketBase",
2534 "memberName": "addEventNotification"
2535 },
2536 "field": {
2537 "field": "example"
2538 }
2539 },
2540 "didCompile": true,
2541 "fqnsReferenced": [
2542 "@aws-cdk/aws-lambda.IFunction",
2543 "@aws-cdk/aws-s3-notifications.LambdaDestination",
2544 "@aws-cdk/aws-s3.Bucket",
2545 "@aws-cdk/aws-s3.BucketBase#addEventNotification",
2546 "@aws-cdk/aws-s3.EventType",
2547 "@aws-cdk/aws-s3.EventType#OBJECT_CREATED",
2548 "@aws-cdk/aws-s3.IBucketNotificationDestination",
2549 "@aws-cdk/aws-s3.NotificationKeyFilter",
2550 "constructs.Construct"
2551 ],
2552 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n declare const myLambda: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n const bucket = new s3.Bucket(this, 'MyBucket');\n bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2553 "syntaxKindCounter": {
2554 "10": 2,
2555 "75": 15,
2556 "104": 1,
2557 "130": 1,
2558 "153": 1,
2559 "169": 1,
2560 "193": 1,
2561 "194": 5,
2562 "196": 1,
2563 "197": 2,
2564 "225": 2,
2565 "226": 1,
2566 "242": 2,
2567 "243": 2,
2568 "281": 1,
2569 "290": 1
2570 },
2571 "fqnsFingerprint": "163b94ccb296fbc41a1d6b572c6db264327e39055f0b09ef6eb3a8e3c3e4f948"
2572 },
2573 "0d6ad90f8b8fd904bff48c044500e89d62a7897b72dcc7df84bffd914dd44175": {
2574 "translations": {
2575 "python": {
2576 "source": "bucket = s3.Bucket(self, \"MyEncryptedBucket\",\n encryption=s3.BucketEncryption.KMS\n)\n\n# you can access the encryption key:\nassert(bucket.encryption_key instanceof kms.Key)",
2577 "version": "2"
2578 },
2579 "csharp": {
2580 "source": "Bucket bucket = new Bucket(this, \"MyEncryptedBucket\", new BucketProps {\n Encryption = BucketEncryption.KMS\n});\n\n// you can access the encryption key:\nAssert(bucket.EncryptionKey instanceof Key);",
2581 "version": "1"
2582 },
2583 "java": {
2584 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyEncryptedBucket\")\n .encryption(BucketEncryption.KMS)\n .build();\n\n// you can access the encryption key:\nassert(bucket.getEncryptionKey() instanceof Key);",
2585 "version": "1"
2586 },
2587 "go": {
2588 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyEncryptedBucket\"), &bucketProps{\n\tencryption: s3.bucketEncryption_KMS,\n})\n\n// you can access the encryption key:\nassert(bucket.encryptionKey instanceof kms.key)",
2589 "version": "1"
2590 },
2591 "$": {
2592 "source": "const bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n});\n\n// you can access the encryption key:\nassert(bucket.encryptionKey instanceof kms.Key);",
2593 "version": "0"
2594 }
2595 },
2596 "location": {
2597 "api": {
2598 "api": "type",
2599 "fqn": "@aws-cdk/aws-s3.BucketEncryption"
2600 },
2601 "field": {
2602 "field": "example"
2603 }
2604 },
2605 "didCompile": true,
2606 "fqnsReferenced": [
2607 "@aws-cdk/aws-kms.Key",
2608 "@aws-cdk/aws-s3.Bucket",
2609 "@aws-cdk/aws-s3.Bucket#encryptionKey",
2610 "@aws-cdk/aws-s3.BucketEncryption",
2611 "@aws-cdk/aws-s3.BucketEncryption#KMS",
2612 "@aws-cdk/aws-s3.BucketProps",
2613 "constructs.Construct"
2614 ],
2615 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyEncryptedBucket', {\n encryption: s3.BucketEncryption.KMS,\n});\n\n// you can access the encryption key:\nassert(bucket.encryptionKey instanceof kms.Key);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2616 "syntaxKindCounter": {
2617 "10": 1,
2618 "75": 12,
2619 "98": 1,
2620 "104": 1,
2621 "193": 1,
2622 "194": 5,
2623 "196": 1,
2624 "197": 1,
2625 "209": 1,
2626 "225": 1,
2627 "226": 1,
2628 "242": 1,
2629 "243": 1,
2630 "281": 1
2631 },
2632 "fqnsFingerprint": "d5ecc9c9b5d14a9d69f60e06000ba204c410cbf0b0f2feddee45af4c8f08f8aa"
2633 },
2634 "da570904a072f0753983505fdc978db03f460b24c02ffa62b80967dbf7b3f4c7": {
2635 "translations": {
2636 "python": {
2637 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# tag_filters: Any\n\nbucket_metrics = s3.BucketMetrics(\n id=\"id\",\n\n # the properties below are optional\n prefix=\"prefix\",\n tag_filters={\n \"tag_filters_key\": tag_filters\n }\n)",
2638 "version": "2"
2639 },
2640 "csharp": {
2641 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar tagFilters;\n\nBucketMetrics bucketMetrics = new BucketMetrics {\n Id = \"id\",\n\n // the properties below are optional\n Prefix = \"prefix\",\n TagFilters = new Dictionary<string, object> {\n { \"tagFiltersKey\", tagFilters }\n }\n};",
2642 "version": "1"
2643 },
2644 "java": {
2645 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject tagFilters;\n\nBucketMetrics bucketMetrics = BucketMetrics.builder()\n .id(\"id\")\n\n // the properties below are optional\n .prefix(\"prefix\")\n .tagFilters(Map.of(\n \"tagFiltersKey\", tagFilters))\n .build();",
2646 "version": "1"
2647 },
2648 "go": {
2649 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar tagFilters interface{}\n\nbucketMetrics := &bucketMetrics{\n\tid: jsii.String(\"id\"),\n\n\t// the properties below are optional\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilters: map[string]interface{}{\n\t\t\"tagFiltersKey\": tagFilters,\n\t},\n}",
2650 "version": "1"
2651 },
2652 "$": {
2653 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const tagFilters: any;\nconst bucketMetrics: s3.BucketMetrics = {\n id: 'id',\n\n // the properties below are optional\n prefix: 'prefix',\n tagFilters: {\n tagFiltersKey: tagFilters,\n },\n};",
2654 "version": "0"
2655 }
2656 },
2657 "location": {
2658 "api": {
2659 "api": "type",
2660 "fqn": "@aws-cdk/aws-s3.BucketMetrics"
2661 },
2662 "field": {
2663 "field": "example"
2664 }
2665 },
2666 "didCompile": true,
2667 "fqnsReferenced": [
2668 "@aws-cdk/aws-s3.BucketMetrics"
2669 ],
2670 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const tagFilters: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst bucketMetrics: s3.BucketMetrics = {\n id: 'id',\n\n // the properties below are optional\n prefix: 'prefix',\n tagFilters: {\n tagFiltersKey: tagFilters,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2671 "syntaxKindCounter": {
2672 "10": 3,
2673 "75": 10,
2674 "125": 1,
2675 "130": 1,
2676 "153": 1,
2677 "169": 1,
2678 "193": 2,
2679 "225": 2,
2680 "242": 2,
2681 "243": 2,
2682 "254": 1,
2683 "255": 1,
2684 "256": 1,
2685 "281": 4,
2686 "290": 1
2687 },
2688 "fqnsFingerprint": "29e9eecde005f1b5cc0958fc3890e32a4700e77f3474ff2b5c77e386351e106b"
2689 },
2690 "af0069b490275520e4c50a93261c17ae66776d42c782b92bd0d6620a65073497": {
2691 "translations": {
2692 "python": {
2693 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.core as cdk\n\n# dependable: cdk.IDependable\n\nbucket_notification_destination_config = s3.BucketNotificationDestinationConfig(\n arn=\"arn\",\n type=s3.BucketNotificationDestinationType.LAMBDA,\n\n # the properties below are optional\n dependencies=[dependable]\n)",
2694 "version": "2"
2695 },
2696 "csharp": {
2697 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK;\n\nIDependable dependable;\nBucketNotificationDestinationConfig bucketNotificationDestinationConfig = new BucketNotificationDestinationConfig {\n Arn = \"arn\",\n Type = BucketNotificationDestinationType.LAMBDA,\n\n // the properties below are optional\n Dependencies = new [] { dependable }\n};",
2698 "version": "1"
2699 },
2700 "java": {
2701 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.core.*;\n\nIDependable dependable;\n\nBucketNotificationDestinationConfig bucketNotificationDestinationConfig = BucketNotificationDestinationConfig.builder()\n .arn(\"arn\")\n .type(BucketNotificationDestinationType.LAMBDA)\n\n // the properties below are optional\n .dependencies(List.of(dependable))\n .build();",
2702 "version": "1"
2703 },
2704 "go": {
2705 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar dependable iDependable\n\nbucketNotificationDestinationConfig := &bucketNotificationDestinationConfig{\n\tarn: jsii.String(\"arn\"),\n\ttype: s3.bucketNotificationDestinationType_LAMBDA,\n\n\t// the properties below are optional\n\tdependencies: []*iDependable{\n\t\tdependable,\n\t},\n}",
2706 "version": "1"
2707 },
2708 "$": {
2709 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const dependable: cdk.IDependable;\nconst bucketNotificationDestinationConfig: s3.BucketNotificationDestinationConfig = {\n arn: 'arn',\n type: s3.BucketNotificationDestinationType.LAMBDA,\n\n // the properties below are optional\n dependencies: [dependable],\n};",
2710 "version": "0"
2711 }
2712 },
2713 "location": {
2714 "api": {
2715 "api": "type",
2716 "fqn": "@aws-cdk/aws-s3.BucketNotificationDestinationConfig"
2717 },
2718 "field": {
2719 "field": "example"
2720 }
2721 },
2722 "didCompile": true,
2723 "fqnsReferenced": [
2724 "@aws-cdk/aws-s3.BucketNotificationDestinationConfig",
2725 "@aws-cdk/aws-s3.BucketNotificationDestinationType",
2726 "@aws-cdk/aws-s3.BucketNotificationDestinationType#LAMBDA"
2727 ],
2728 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const dependable: cdk.IDependable;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst bucketNotificationDestinationConfig: s3.BucketNotificationDestinationConfig = {\n arn: 'arn',\n type: s3.BucketNotificationDestinationType.LAMBDA,\n\n // the properties below are optional\n dependencies: [dependable],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2729 "syntaxKindCounter": {
2730 "10": 3,
2731 "75": 15,
2732 "130": 1,
2733 "153": 2,
2734 "169": 2,
2735 "192": 1,
2736 "193": 1,
2737 "194": 2,
2738 "225": 2,
2739 "242": 2,
2740 "243": 2,
2741 "254": 2,
2742 "255": 2,
2743 "256": 2,
2744 "281": 3,
2745 "290": 1
2746 },
2747 "fqnsFingerprint": "12061b93584790492aa59bc8c06e2589a48fd22d3f7414e664d14bf79cce0ed1"
2748 },
2749 "f173081b35fe0e3eb1b0d5cc03d3ab3b1a2c763c537c3d04867eca5877089e28": {
2750 "translations": {
2751 "python": {
2752 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.core as cdk\n\n# bucket: s3.Bucket\n\nbucket_policy = s3.BucketPolicy(self, \"MyBucketPolicy\",\n bucket=bucket,\n\n # the properties below are optional\n removal_policy=cdk.RemovalPolicy.DESTROY\n)",
2753 "version": "2"
2754 },
2755 "csharp": {
2756 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK;\n\nBucket bucket;\nBucketPolicy bucketPolicy = new BucketPolicy(this, \"MyBucketPolicy\", new BucketPolicyProps {\n Bucket = bucket,\n\n // the properties below are optional\n RemovalPolicy = RemovalPolicy.DESTROY\n});",
2757 "version": "1"
2758 },
2759 "java": {
2760 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.core.*;\n\nBucket bucket;\n\nBucketPolicy bucketPolicy = BucketPolicy.Builder.create(this, \"MyBucketPolicy\")\n .bucket(bucket)\n\n // the properties below are optional\n .removalPolicy(RemovalPolicy.DESTROY)\n .build();",
2761 "version": "1"
2762 },
2763 "go": {
2764 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar bucket bucket\n\nbucketPolicy := s3.NewBucketPolicy(this, jsii.String(\"MyBucketPolicy\"), &bucketPolicyProps{\n\tbucket: bucket,\n\n\t// the properties below are optional\n\tremovalPolicy: cdk.removalPolicy_DESTROY,\n})",
2765 "version": "1"
2766 },
2767 "$": {
2768 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const bucket: s3.Bucket;\nconst bucketPolicy = new s3.BucketPolicy(this, 'MyBucketPolicy', {\n bucket: bucket,\n\n // the properties below are optional\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n});",
2769 "version": "0"
2770 }
2771 },
2772 "location": {
2773 "api": {
2774 "api": "type",
2775 "fqn": "@aws-cdk/aws-s3.BucketPolicy"
2776 },
2777 "field": {
2778 "field": "example"
2779 }
2780 },
2781 "didCompile": true,
2782 "fqnsReferenced": [
2783 "@aws-cdk/aws-s3.BucketPolicy",
2784 "@aws-cdk/aws-s3.BucketPolicyProps",
2785 "@aws-cdk/aws-s3.IBucket",
2786 "@aws-cdk/core.RemovalPolicy",
2787 "@aws-cdk/core.RemovalPolicy#DESTROY",
2788 "constructs.Construct"
2789 ],
2790 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst bucketPolicy = new s3.BucketPolicy(this, 'MyBucketPolicy', {\n bucket: bucket,\n\n // the properties below are optional\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2791 "syntaxKindCounter": {
2792 "10": 3,
2793 "75": 14,
2794 "104": 1,
2795 "130": 1,
2796 "153": 1,
2797 "169": 1,
2798 "193": 1,
2799 "194": 3,
2800 "197": 1,
2801 "225": 2,
2802 "242": 2,
2803 "243": 2,
2804 "254": 2,
2805 "255": 2,
2806 "256": 2,
2807 "281": 2,
2808 "290": 1
2809 },
2810 "fqnsFingerprint": "f6b1bd00d565e0c0b323855f94771d3766ac018efd35129c3f1dc2709c901e8d"
2811 },
2812 "de26bdbd5c6d854ad2192bdb7f8d5bc016a1d67ea48ba1a295d4b531623cb356": {
2813 "translations": {
2814 "python": {
2815 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.core as cdk\n\n# bucket: s3.Bucket\n\nbucket_policy_props = s3.BucketPolicyProps(\n bucket=bucket,\n\n # the properties below are optional\n removal_policy=cdk.RemovalPolicy.DESTROY\n)",
2816 "version": "2"
2817 },
2818 "csharp": {
2819 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK;\n\nBucket bucket;\nBucketPolicyProps bucketPolicyProps = new BucketPolicyProps {\n Bucket = bucket,\n\n // the properties below are optional\n RemovalPolicy = RemovalPolicy.DESTROY\n};",
2820 "version": "1"
2821 },
2822 "java": {
2823 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.core.*;\n\nBucket bucket;\n\nBucketPolicyProps bucketPolicyProps = BucketPolicyProps.builder()\n .bucket(bucket)\n\n // the properties below are optional\n .removalPolicy(RemovalPolicy.DESTROY)\n .build();",
2824 "version": "1"
2825 },
2826 "go": {
2827 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar bucket bucket\n\nbucketPolicyProps := &bucketPolicyProps{\n\tbucket: bucket,\n\n\t// the properties below are optional\n\tremovalPolicy: cdk.removalPolicy_DESTROY,\n}",
2828 "version": "1"
2829 },
2830 "$": {
2831 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const bucket: s3.Bucket;\nconst bucketPolicyProps: s3.BucketPolicyProps = {\n bucket: bucket,\n\n // the properties below are optional\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n};",
2832 "version": "0"
2833 }
2834 },
2835 "location": {
2836 "api": {
2837 "api": "type",
2838 "fqn": "@aws-cdk/aws-s3.BucketPolicyProps"
2839 },
2840 "field": {
2841 "field": "example"
2842 }
2843 },
2844 "didCompile": true,
2845 "fqnsReferenced": [
2846 "@aws-cdk/aws-s3.BucketPolicyProps",
2847 "@aws-cdk/aws-s3.IBucket",
2848 "@aws-cdk/core.RemovalPolicy",
2849 "@aws-cdk/core.RemovalPolicy#DESTROY"
2850 ],
2851 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst bucketPolicyProps: s3.BucketPolicyProps = {\n bucket: bucket,\n\n // the properties below are optional\n removalPolicy: cdk.RemovalPolicy.DESTROY,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2852 "syntaxKindCounter": {
2853 "10": 2,
2854 "75": 14,
2855 "130": 1,
2856 "153": 2,
2857 "169": 2,
2858 "193": 1,
2859 "194": 2,
2860 "225": 2,
2861 "242": 2,
2862 "243": 2,
2863 "254": 2,
2864 "255": 2,
2865 "256": 2,
2866 "281": 2,
2867 "290": 1
2868 },
2869 "fqnsFingerprint": "1e183477c70614a4ff3d9d993dcf3469b7ff84a6f705f052ee3ffba82faa87e0"
2870 },
2871 "7681e5882b4bb9bcd0fee687275b9643e54e2f20db2d990a26783ba837f9b4ab": {
2872 "translations": {
2873 "python": {
2874 "source": "source_bucket = s3.Bucket(self, \"MyBucket\",\n versioned=True\n)\n\npipeline = codepipeline.Pipeline(self, \"MyPipeline\")\nsource_output = codepipeline.Artifact()\nsource_action = codepipeline_actions.S3SourceAction(\n action_name=\"S3Source\",\n bucket=source_bucket,\n bucket_key=\"path/to/file.zip\",\n output=source_output\n)\npipeline.add_stage(\n stage_name=\"Source\",\n actions=[source_action]\n)",
2875 "version": "2"
2876 },
2877 "csharp": {
2878 "source": "Bucket sourceBucket = new Bucket(this, \"MyBucket\", new BucketProps {\n Versioned = true\n});\n\nPipeline pipeline = new Pipeline(this, \"MyPipeline\");\nArtifact sourceOutput = new Artifact();\nS3SourceAction sourceAction = new S3SourceAction(new S3SourceActionProps {\n ActionName = \"S3Source\",\n Bucket = sourceBucket,\n BucketKey = \"path/to/file.zip\",\n Output = sourceOutput\n});\npipeline.AddStage(new StageOptions {\n StageName = \"Source\",\n Actions = new [] { sourceAction }\n});",
2879 "version": "1"
2880 },
2881 "java": {
2882 "source": "Bucket sourceBucket = Bucket.Builder.create(this, \"MyBucket\")\n .versioned(true)\n .build();\n\nPipeline pipeline = new Pipeline(this, \"MyPipeline\");\nArtifact sourceOutput = new Artifact();\nS3SourceAction sourceAction = S3SourceAction.Builder.create()\n .actionName(\"S3Source\")\n .bucket(sourceBucket)\n .bucketKey(\"path/to/file.zip\")\n .output(sourceOutput)\n .build();\npipeline.addStage(StageOptions.builder()\n .stageName(\"Source\")\n .actions(List.of(sourceAction))\n .build());",
2883 "version": "1"
2884 },
2885 "go": {
2886 "source": "sourceBucket := s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tversioned: jsii.Boolean(true),\n})\n\npipeline := codepipeline.NewPipeline(this, jsii.String(\"MyPipeline\"))\nsourceOutput := codepipeline.NewArtifact()\nsourceAction := codepipeline_actions.NewS3SourceAction(&s3SourceActionProps{\n\tactionName: jsii.String(\"S3Source\"),\n\tbucket: sourceBucket,\n\tbucketKey: jsii.String(\"path/to/file.zip\"),\n\toutput: sourceOutput,\n})\npipeline.addStage(&stageOptions{\n\tstageName: jsii.String(\"Source\"),\n\tactions: []iAction{\n\t\tsourceAction,\n\t},\n})",
2887 "version": "1"
2888 },
2889 "$": {
2890 "source": "const sourceBucket = new s3.Bucket(this, 'MyBucket', {\n versioned: true, // a Bucket used as a source in CodePipeline must be versioned\n});\n\nconst pipeline = new codepipeline.Pipeline(this, 'MyPipeline');\nconst sourceOutput = new codepipeline.Artifact();\nconst sourceAction = new codepipeline_actions.S3SourceAction({\n actionName: 'S3Source',\n bucket: sourceBucket,\n bucketKey: 'path/to/file.zip',\n output: sourceOutput,\n});\npipeline.addStage({\n stageName: 'Source',\n actions: [sourceAction],\n});",
2891 "version": "0"
2892 }
2893 },
2894 "location": {
2895 "api": {
2896 "api": "type",
2897 "fqn": "@aws-cdk/aws-s3.BucketProps"
2898 },
2899 "field": {
2900 "field": "example"
2901 }
2902 },
2903 "didCompile": true,
2904 "fqnsReferenced": [
2905 "@aws-cdk/aws-codepipeline-actions.S3SourceAction",
2906 "@aws-cdk/aws-codepipeline-actions.S3SourceActionProps",
2907 "@aws-cdk/aws-codepipeline.Artifact",
2908 "@aws-cdk/aws-codepipeline.Pipeline",
2909 "@aws-cdk/aws-codepipeline.Pipeline#addStage",
2910 "@aws-cdk/aws-codepipeline.StageOptions",
2911 "@aws-cdk/aws-s3.Bucket",
2912 "@aws-cdk/aws-s3.BucketProps",
2913 "@aws-cdk/aws-s3.IBucket",
2914 "constructs.Construct"
2915 ],
2916 "fullSource": "// Fixture with packages imported, but nothing else\nimport { Arn, Construct, Duration, SecretValue, Stack } from '@aws-cdk/core';\nimport codebuild = require('@aws-cdk/aws-codebuild');\nimport codedeploy = require('@aws-cdk/aws-codedeploy');\nimport codepipeline = require('@aws-cdk/aws-codepipeline');\nimport codepipeline_actions = require('@aws-cdk/aws-codepipeline-actions');\nimport codecommit = require('@aws-cdk/aws-codecommit');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3 = require('@aws-cdk/aws-s3');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst sourceBucket = new s3.Bucket(this, 'MyBucket', {\n versioned: true, // a Bucket used as a source in CodePipeline must be versioned\n});\n\nconst pipeline = new codepipeline.Pipeline(this, 'MyPipeline');\nconst sourceOutput = new codepipeline.Artifact();\nconst sourceAction = new codepipeline_actions.S3SourceAction({\n actionName: 'S3Source',\n bucket: sourceBucket,\n bucketKey: 'path/to/file.zip',\n output: sourceOutput,\n});\npipeline.addStage({\n stageName: 'Source',\n actions: [sourceAction],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
2917 "syntaxKindCounter": {
2918 "10": 5,
2919 "75": 24,
2920 "104": 2,
2921 "106": 1,
2922 "192": 1,
2923 "193": 3,
2924 "194": 5,
2925 "196": 1,
2926 "197": 4,
2927 "225": 4,
2928 "226": 1,
2929 "242": 4,
2930 "243": 4,
2931 "281": 7
2932 },
2933 "fqnsFingerprint": "63243a32408e7b5b17ddaadbec01d96c803959ebed36499c6c27730fac68fc72"
2934 },
2935 "ee358ea95c8b5d9b7fee17f4736e510de67111c1097e90fe215a14ab0b806762": {
2936 "translations": {
2937 "python": {
2938 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# policy: Any\n# policy_status: Any\n\ncfn_access_point = s3.CfnAccessPoint(self, \"MyCfnAccessPoint\",\n bucket=\"bucket\",\n\n # the properties below are optional\n name=\"name\",\n policy=policy,\n policy_status=policy_status,\n public_access_block_configuration=s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty(\n block_public_acls=False,\n block_public_policy=False,\n ignore_public_acls=False,\n restrict_public_buckets=False\n ),\n vpc_configuration=s3.CfnAccessPoint.VpcConfigurationProperty(\n vpc_id=\"vpcId\"\n )\n)",
2939 "version": "2"
2940 },
2941 "csharp": {
2942 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar policy;\nvar policyStatus;\n\nCfnAccessPoint cfnAccessPoint = new CfnAccessPoint(this, \"MyCfnAccessPoint\", new CfnAccessPointProps {\n Bucket = \"bucket\",\n\n // the properties below are optional\n Name = \"name\",\n Policy = policy,\n PolicyStatus = policyStatus,\n PublicAccessBlockConfiguration = new PublicAccessBlockConfigurationProperty {\n BlockPublicAcls = false,\n BlockPublicPolicy = false,\n IgnorePublicAcls = false,\n RestrictPublicBuckets = false\n },\n VpcConfiguration = new VpcConfigurationProperty {\n VpcId = \"vpcId\"\n }\n});",
2943 "version": "1"
2944 },
2945 "java": {
2946 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject policy;\nObject policyStatus;\n\nCfnAccessPoint cfnAccessPoint = CfnAccessPoint.Builder.create(this, \"MyCfnAccessPoint\")\n .bucket(\"bucket\")\n\n // the properties below are optional\n .name(\"name\")\n .policy(policy)\n .policyStatus(policyStatus)\n .publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()\n .blockPublicAcls(false)\n .blockPublicPolicy(false)\n .ignorePublicAcls(false)\n .restrictPublicBuckets(false)\n .build())\n .vpcConfiguration(VpcConfigurationProperty.builder()\n .vpcId(\"vpcId\")\n .build())\n .build();",
2947 "version": "1"
2948 },
2949 "go": {
2950 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar policy interface{}\nvar policyStatus interface{}\n\ncfnAccessPoint := s3.NewCfnAccessPoint(this, jsii.String(\"MyCfnAccessPoint\"), &cfnAccessPointProps{\n\tbucket: jsii.String(\"bucket\"),\n\n\t// the properties below are optional\n\tname: jsii.String(\"name\"),\n\tpolicy: policy,\n\tpolicyStatus: policyStatus,\n\tpublicAccessBlockConfiguration: &publicAccessBlockConfigurationProperty{\n\t\tblockPublicAcls: jsii.Boolean(false),\n\t\tblockPublicPolicy: jsii.Boolean(false),\n\t\tignorePublicAcls: jsii.Boolean(false),\n\t\trestrictPublicBuckets: jsii.Boolean(false),\n\t},\n\tvpcConfiguration: &vpcConfigurationProperty{\n\t\tvpcId: jsii.String(\"vpcId\"),\n\t},\n})",
2951 "version": "1"
2952 },
2953 "$": {
2954 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\ndeclare const policyStatus: any;\nconst cfnAccessPoint = new s3.CfnAccessPoint(this, 'MyCfnAccessPoint', {\n bucket: 'bucket',\n\n // the properties below are optional\n name: 'name',\n policy: policy,\n policyStatus: policyStatus,\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n vpcConfiguration: {\n vpcId: 'vpcId',\n },\n});",
2955 "version": "0"
2956 }
2957 },
2958 "location": {
2959 "api": {
2960 "api": "type",
2961 "fqn": "@aws-cdk/aws-s3.CfnAccessPoint"
2962 },
2963 "field": {
2964 "field": "example"
2965 }
2966 },
2967 "didCompile": true,
2968 "fqnsReferenced": [
2969 "@aws-cdk/aws-s3.CfnAccessPoint",
2970 "@aws-cdk/aws-s3.CfnAccessPointProps",
2971 "@aws-cdk/core.Construct"
2972 ],
2973 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\ndeclare const policyStatus: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnAccessPoint = new s3.CfnAccessPoint(this, 'MyCfnAccessPoint', {\n bucket: 'bucket',\n\n // the properties below are optional\n name: 'name',\n policy: policy,\n policyStatus: policyStatus,\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n vpcConfiguration: {\n vpcId: 'vpcId',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
2974 "syntaxKindCounter": {
2975 "10": 5,
2976 "75": 19,
2977 "91": 4,
2978 "104": 1,
2979 "125": 2,
2980 "130": 2,
2981 "193": 3,
2982 "194": 1,
2983 "197": 1,
2984 "225": 3,
2985 "242": 3,
2986 "243": 3,
2987 "254": 1,
2988 "255": 1,
2989 "256": 1,
2990 "281": 11,
2991 "290": 1
2992 },
2993 "fqnsFingerprint": "ee3edc394c6d55b2cd588e83ef27a94a22b39e87c366994ca3e9d9a9187f4d1c"
2994 },
2995 "23f52e77e74c12c2f5624f9190794d33833f80b6e40ef29ee4c51daba45d2e08": {
2996 "translations": {
2997 "python": {
2998 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\npublic_access_block_configuration_property = s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty(\n block_public_acls=False,\n block_public_policy=False,\n ignore_public_acls=False,\n restrict_public_buckets=False\n)",
2999 "version": "2"
3000 },
3001 "csharp": {
3002 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nPublicAccessBlockConfigurationProperty publicAccessBlockConfigurationProperty = new PublicAccessBlockConfigurationProperty {\n BlockPublicAcls = false,\n BlockPublicPolicy = false,\n IgnorePublicAcls = false,\n RestrictPublicBuckets = false\n};",
3003 "version": "1"
3004 },
3005 "java": {
3006 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nPublicAccessBlockConfigurationProperty publicAccessBlockConfigurationProperty = PublicAccessBlockConfigurationProperty.builder()\n .blockPublicAcls(false)\n .blockPublicPolicy(false)\n .ignorePublicAcls(false)\n .restrictPublicBuckets(false)\n .build();",
3007 "version": "1"
3008 },
3009 "go": {
3010 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\npublicAccessBlockConfigurationProperty := &publicAccessBlockConfigurationProperty{\n\tblockPublicAcls: jsii.Boolean(false),\n\tblockPublicPolicy: jsii.Boolean(false),\n\tignorePublicAcls: jsii.Boolean(false),\n\trestrictPublicBuckets: jsii.Boolean(false),\n}",
3011 "version": "1"
3012 },
3013 "$": {
3014 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst publicAccessBlockConfigurationProperty: s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty = {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n};",
3015 "version": "0"
3016 }
3017 },
3018 "location": {
3019 "api": {
3020 "api": "type",
3021 "fqn": "@aws-cdk/aws-s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty"
3022 },
3023 "field": {
3024 "field": "example"
3025 }
3026 },
3027 "didCompile": true,
3028 "fqnsReferenced": [
3029 "@aws-cdk/aws-s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty"
3030 ],
3031 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst publicAccessBlockConfigurationProperty: s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty = {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3032 "syntaxKindCounter": {
3033 "10": 1,
3034 "75": 9,
3035 "91": 4,
3036 "153": 2,
3037 "169": 1,
3038 "193": 1,
3039 "225": 1,
3040 "242": 1,
3041 "243": 1,
3042 "254": 1,
3043 "255": 1,
3044 "256": 1,
3045 "281": 4,
3046 "290": 1
3047 },
3048 "fqnsFingerprint": "aa4f9d58b3026275eff4c5bf6b8a831ddd8ef6d36bc765cb089941ab3ac80c0a"
3049 },
3050 "a0711d153cad3a3853f07f391f8ddc2a43d96396cdeea8d9e9e766a1b33f8823": {
3051 "translations": {
3052 "python": {
3053 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nvpc_configuration_property = s3.CfnAccessPoint.VpcConfigurationProperty(\n vpc_id=\"vpcId\"\n)",
3054 "version": "2"
3055 },
3056 "csharp": {
3057 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nVpcConfigurationProperty vpcConfigurationProperty = new VpcConfigurationProperty {\n VpcId = \"vpcId\"\n};",
3058 "version": "1"
3059 },
3060 "java": {
3061 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nVpcConfigurationProperty vpcConfigurationProperty = VpcConfigurationProperty.builder()\n .vpcId(\"vpcId\")\n .build();",
3062 "version": "1"
3063 },
3064 "go": {
3065 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvpcConfigurationProperty := &vpcConfigurationProperty{\n\tvpcId: jsii.String(\"vpcId\"),\n}",
3066 "version": "1"
3067 },
3068 "$": {
3069 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst vpcConfigurationProperty: s3.CfnAccessPoint.VpcConfigurationProperty = {\n vpcId: 'vpcId',\n};",
3070 "version": "0"
3071 }
3072 },
3073 "location": {
3074 "api": {
3075 "api": "type",
3076 "fqn": "@aws-cdk/aws-s3.CfnAccessPoint.VpcConfigurationProperty"
3077 },
3078 "field": {
3079 "field": "example"
3080 }
3081 },
3082 "didCompile": true,
3083 "fqnsReferenced": [
3084 "@aws-cdk/aws-s3.CfnAccessPoint.VpcConfigurationProperty"
3085 ],
3086 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst vpcConfigurationProperty: s3.CfnAccessPoint.VpcConfigurationProperty = {\n vpcId: 'vpcId',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3087 "syntaxKindCounter": {
3088 "10": 2,
3089 "75": 6,
3090 "153": 2,
3091 "169": 1,
3092 "193": 1,
3093 "225": 1,
3094 "242": 1,
3095 "243": 1,
3096 "254": 1,
3097 "255": 1,
3098 "256": 1,
3099 "281": 1,
3100 "290": 1
3101 },
3102 "fqnsFingerprint": "c97b5f4bd0826ba296ce50796cd464f64aae426902e839e8505089bf1e973848"
3103 },
3104 "18e5e0d165534771c65cd646b46a4935c54dba2328e5148b6e13dc7b17082310": {
3105 "translations": {
3106 "python": {
3107 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# policy: Any\n# policy_status: Any\n\ncfn_access_point_props = s3.CfnAccessPointProps(\n bucket=\"bucket\",\n\n # the properties below are optional\n name=\"name\",\n policy=policy,\n policy_status=policy_status,\n public_access_block_configuration=s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty(\n block_public_acls=False,\n block_public_policy=False,\n ignore_public_acls=False,\n restrict_public_buckets=False\n ),\n vpc_configuration=s3.CfnAccessPoint.VpcConfigurationProperty(\n vpc_id=\"vpcId\"\n )\n)",
3108 "version": "2"
3109 },
3110 "csharp": {
3111 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar policy;\nvar policyStatus;\n\nCfnAccessPointProps cfnAccessPointProps = new CfnAccessPointProps {\n Bucket = \"bucket\",\n\n // the properties below are optional\n Name = \"name\",\n Policy = policy,\n PolicyStatus = policyStatus,\n PublicAccessBlockConfiguration = new PublicAccessBlockConfigurationProperty {\n BlockPublicAcls = false,\n BlockPublicPolicy = false,\n IgnorePublicAcls = false,\n RestrictPublicBuckets = false\n },\n VpcConfiguration = new VpcConfigurationProperty {\n VpcId = \"vpcId\"\n }\n};",
3112 "version": "1"
3113 },
3114 "java": {
3115 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject policy;\nObject policyStatus;\n\nCfnAccessPointProps cfnAccessPointProps = CfnAccessPointProps.builder()\n .bucket(\"bucket\")\n\n // the properties below are optional\n .name(\"name\")\n .policy(policy)\n .policyStatus(policyStatus)\n .publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()\n .blockPublicAcls(false)\n .blockPublicPolicy(false)\n .ignorePublicAcls(false)\n .restrictPublicBuckets(false)\n .build())\n .vpcConfiguration(VpcConfigurationProperty.builder()\n .vpcId(\"vpcId\")\n .build())\n .build();",
3116 "version": "1"
3117 },
3118 "go": {
3119 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar policy interface{}\nvar policyStatus interface{}\n\ncfnAccessPointProps := &cfnAccessPointProps{\n\tbucket: jsii.String(\"bucket\"),\n\n\t// the properties below are optional\n\tname: jsii.String(\"name\"),\n\tpolicy: policy,\n\tpolicyStatus: policyStatus,\n\tpublicAccessBlockConfiguration: &publicAccessBlockConfigurationProperty{\n\t\tblockPublicAcls: jsii.Boolean(false),\n\t\tblockPublicPolicy: jsii.Boolean(false),\n\t\tignorePublicAcls: jsii.Boolean(false),\n\t\trestrictPublicBuckets: jsii.Boolean(false),\n\t},\n\tvpcConfiguration: &vpcConfigurationProperty{\n\t\tvpcId: jsii.String(\"vpcId\"),\n\t},\n}",
3120 "version": "1"
3121 },
3122 "$": {
3123 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\ndeclare const policyStatus: any;\nconst cfnAccessPointProps: s3.CfnAccessPointProps = {\n bucket: 'bucket',\n\n // the properties below are optional\n name: 'name',\n policy: policy,\n policyStatus: policyStatus,\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n vpcConfiguration: {\n vpcId: 'vpcId',\n },\n};",
3124 "version": "0"
3125 }
3126 },
3127 "location": {
3128 "api": {
3129 "api": "type",
3130 "fqn": "@aws-cdk/aws-s3.CfnAccessPointProps"
3131 },
3132 "field": {
3133 "field": "example"
3134 }
3135 },
3136 "didCompile": true,
3137 "fqnsReferenced": [
3138 "@aws-cdk/aws-s3.CfnAccessPointProps"
3139 ],
3140 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\ndeclare const policyStatus: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnAccessPointProps: s3.CfnAccessPointProps = {\n bucket: 'bucket',\n\n // the properties below are optional\n name: 'name',\n policy: policy,\n policyStatus: policyStatus,\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n vpcConfiguration: {\n vpcId: 'vpcId',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3141 "syntaxKindCounter": {
3142 "10": 4,
3143 "75": 19,
3144 "91": 4,
3145 "125": 2,
3146 "130": 2,
3147 "153": 1,
3148 "169": 1,
3149 "193": 3,
3150 "225": 3,
3151 "242": 3,
3152 "243": 3,
3153 "254": 1,
3154 "255": 1,
3155 "256": 1,
3156 "281": 11,
3157 "290": 1
3158 },
3159 "fqnsFingerprint": "7c44e6864cd0e27304fc01a87106595d0be28faac7748bb0a61967c587ee8ecd"
3160 },
3161 "7eaa1927ee66da20f1560a62dcba995af86891941c12a2c3f4523120b48f6a09": {
3162 "translations": {
3163 "python": {
3164 "source": "# cfn_template: cfn_inc.CfnInclude\n\ncfn_bucket = cfn_template.get_resource(\"Bucket\")\n\nrole = iam.Role(self, \"Role\",\n assumed_by=iam.AnyPrincipal()\n)\nrole.add_to_policy(iam.PolicyStatement(\n actions=[\"s3:*\"],\n resources=[cfn_bucket.attr_arn]\n))",
3165 "version": "2"
3166 },
3167 "csharp": {
3168 "source": "CfnInclude cfnTemplate;\n\nCfnBucket cfnBucket = (CfnBucket)cfnTemplate.GetResource(\"Bucket\");\n\nRole role = new Role(this, \"Role\", new RoleProps {\n AssumedBy = new AnyPrincipal()\n});\nrole.AddToPolicy(new PolicyStatement(new PolicyStatementProps {\n Actions = new [] { \"s3:*\" },\n Resources = new [] { cfnBucket.AttrArn }\n}));",
3169 "version": "1"
3170 },
3171 "java": {
3172 "source": "CfnInclude cfnTemplate;\n\nCfnBucket cfnBucket = (CfnBucket)cfnTemplate.getResource(\"Bucket\");\n\nRole role = Role.Builder.create(this, \"Role\")\n .assumedBy(new AnyPrincipal())\n .build();\nrole.addToPolicy(PolicyStatement.Builder.create()\n .actions(List.of(\"s3:*\"))\n .resources(List.of(cfnBucket.getAttrArn()))\n .build());",
3173 "version": "1"
3174 },
3175 "go": {
3176 "source": "var cfnTemplate cfnInclude\n\ncfnBucket := cfnTemplate.getResource(jsii.String(\"Bucket\")).(cfnBucket)\n\nrole := iam.NewRole(this, jsii.String(\"Role\"), &roleProps{\n\tassumedBy: iam.NewAnyPrincipal(),\n})\nrole.addToPolicy(iam.NewPolicyStatement(&policyStatementProps{\n\tactions: []*string{\n\t\tjsii.String(\"s3:*\"),\n\t},\n\tresources: []*string{\n\t\tcfnBucket.attrArn,\n\t},\n}))",
3177 "version": "1"
3178 },
3179 "$": {
3180 "source": "declare const cfnTemplate: cfn_inc.CfnInclude;\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\n\nconst role = new iam.Role(this, 'Role', {\n assumedBy: new iam.AnyPrincipal(),\n});\nrole.addToPolicy(new iam.PolicyStatement({\n actions: ['s3:*'],\n resources: [cfnBucket.attrArn],\n}));",
3181 "version": "0"
3182 }
3183 },
3184 "location": {
3185 "api": {
3186 "api": "type",
3187 "fqn": "@aws-cdk/aws-s3.CfnBucket"
3188 },
3189 "field": {
3190 "field": "example"
3191 }
3192 },
3193 "didCompile": true,
3194 "fqnsReferenced": [
3195 "@aws-cdk/aws-iam.AnyPrincipal",
3196 "@aws-cdk/aws-iam.IPrincipal",
3197 "@aws-cdk/aws-iam.PolicyStatement",
3198 "@aws-cdk/aws-iam.PolicyStatementProps",
3199 "@aws-cdk/aws-iam.Role",
3200 "@aws-cdk/aws-iam.Role#addToPolicy",
3201 "@aws-cdk/aws-iam.RoleProps",
3202 "@aws-cdk/aws-s3.CfnBucket",
3203 "@aws-cdk/aws-s3.CfnBucket#attrArn",
3204 "@aws-cdk/cloudformation-include.CfnInclude#getResource",
3205 "constructs.Construct"
3206 ],
3207 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\n\nconst role = new iam.Role(this, 'Role', {\n assumedBy: new iam.AnyPrincipal(),\n});\nrole.addToPolicy(new iam.PolicyStatement({\n actions: ['s3:*'],\n resources: [cfnBucket.attrArn],\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
3208 "syntaxKindCounter": {
3209 "10": 3,
3210 "75": 22,
3211 "104": 1,
3212 "130": 1,
3213 "153": 2,
3214 "169": 2,
3215 "192": 2,
3216 "193": 2,
3217 "194": 6,
3218 "196": 2,
3219 "197": 3,
3220 "217": 1,
3221 "225": 3,
3222 "226": 1,
3223 "242": 3,
3224 "243": 3,
3225 "281": 3,
3226 "290": 1
3227 },
3228 "fqnsFingerprint": "f789a30d5ecc7b2a556a31cdcb528b7a5c86dc90e8f0671f45694975dd20e9f8"
3229 },
3230 "dedc852e09bb2b88571fd940a18704ea32f979342d06140134632e27b8582346": {
3231 "translations": {
3232 "python": {
3233 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nabort_incomplete_multipart_upload_property = s3.CfnBucket.AbortIncompleteMultipartUploadProperty(\n days_after_initiation=123\n)",
3234 "version": "2"
3235 },
3236 "csharp": {
3237 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nAbortIncompleteMultipartUploadProperty abortIncompleteMultipartUploadProperty = new AbortIncompleteMultipartUploadProperty {\n DaysAfterInitiation = 123\n};",
3238 "version": "1"
3239 },
3240 "java": {
3241 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nAbortIncompleteMultipartUploadProperty abortIncompleteMultipartUploadProperty = AbortIncompleteMultipartUploadProperty.builder()\n .daysAfterInitiation(123)\n .build();",
3242 "version": "1"
3243 },
3244 "go": {
3245 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nabortIncompleteMultipartUploadProperty := &abortIncompleteMultipartUploadProperty{\n\tdaysAfterInitiation: jsii.Number(123),\n}",
3246 "version": "1"
3247 },
3248 "$": {
3249 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst abortIncompleteMultipartUploadProperty: s3.CfnBucket.AbortIncompleteMultipartUploadProperty = {\n daysAfterInitiation: 123,\n};",
3250 "version": "0"
3251 }
3252 },
3253 "location": {
3254 "api": {
3255 "api": "type",
3256 "fqn": "@aws-cdk/aws-s3.CfnBucket.AbortIncompleteMultipartUploadProperty"
3257 },
3258 "field": {
3259 "field": "example"
3260 }
3261 },
3262 "didCompile": true,
3263 "fqnsReferenced": [
3264 "@aws-cdk/aws-s3.CfnBucket.AbortIncompleteMultipartUploadProperty"
3265 ],
3266 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst abortIncompleteMultipartUploadProperty: s3.CfnBucket.AbortIncompleteMultipartUploadProperty = {\n daysAfterInitiation: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3267 "syntaxKindCounter": {
3268 "8": 1,
3269 "10": 1,
3270 "75": 6,
3271 "153": 2,
3272 "169": 1,
3273 "193": 1,
3274 "225": 1,
3275 "242": 1,
3276 "243": 1,
3277 "254": 1,
3278 "255": 1,
3279 "256": 1,
3280 "281": 1,
3281 "290": 1
3282 },
3283 "fqnsFingerprint": "2d1f57bf9c858f817239a0ff7a64c26b259a21af8f67d0123a82e54e37ece096"
3284 },
3285 "f1d68ef29dbee46117bb2266c534b5374be782f65c2bc90c4d08178949fc25b6": {
3286 "translations": {
3287 "python": {
3288 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\naccelerate_configuration_property = s3.CfnBucket.AccelerateConfigurationProperty(\n acceleration_status=\"accelerationStatus\"\n)",
3289 "version": "2"
3290 },
3291 "csharp": {
3292 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nAccelerateConfigurationProperty accelerateConfigurationProperty = new AccelerateConfigurationProperty {\n AccelerationStatus = \"accelerationStatus\"\n};",
3293 "version": "1"
3294 },
3295 "java": {
3296 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nAccelerateConfigurationProperty accelerateConfigurationProperty = AccelerateConfigurationProperty.builder()\n .accelerationStatus(\"accelerationStatus\")\n .build();",
3297 "version": "1"
3298 },
3299 "go": {
3300 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\naccelerateConfigurationProperty := &accelerateConfigurationProperty{\n\taccelerationStatus: jsii.String(\"accelerationStatus\"),\n}",
3301 "version": "1"
3302 },
3303 "$": {
3304 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst accelerateConfigurationProperty: s3.CfnBucket.AccelerateConfigurationProperty = {\n accelerationStatus: 'accelerationStatus',\n};",
3305 "version": "0"
3306 }
3307 },
3308 "location": {
3309 "api": {
3310 "api": "type",
3311 "fqn": "@aws-cdk/aws-s3.CfnBucket.AccelerateConfigurationProperty"
3312 },
3313 "field": {
3314 "field": "example"
3315 }
3316 },
3317 "didCompile": true,
3318 "fqnsReferenced": [
3319 "@aws-cdk/aws-s3.CfnBucket.AccelerateConfigurationProperty"
3320 ],
3321 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst accelerateConfigurationProperty: s3.CfnBucket.AccelerateConfigurationProperty = {\n accelerationStatus: 'accelerationStatus',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3322 "syntaxKindCounter": {
3323 "10": 2,
3324 "75": 6,
3325 "153": 2,
3326 "169": 1,
3327 "193": 1,
3328 "225": 1,
3329 "242": 1,
3330 "243": 1,
3331 "254": 1,
3332 "255": 1,
3333 "256": 1,
3334 "281": 1,
3335 "290": 1
3336 },
3337 "fqnsFingerprint": "52981ac7e30b5d2ff4a06bbeb143ab7a7254cdca188930a86e1ef5e3c1da66ed"
3338 },
3339 "6e5244ef224ec83303713fe3d4284167a29e8452ba2d2fe80dd03c83083a3bc2": {
3340 "translations": {
3341 "python": {
3342 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\naccess_control_translation_property = s3.CfnBucket.AccessControlTranslationProperty(\n owner=\"owner\"\n)",
3343 "version": "2"
3344 },
3345 "csharp": {
3346 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nAccessControlTranslationProperty accessControlTranslationProperty = new AccessControlTranslationProperty {\n Owner = \"owner\"\n};",
3347 "version": "1"
3348 },
3349 "java": {
3350 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nAccessControlTranslationProperty accessControlTranslationProperty = AccessControlTranslationProperty.builder()\n .owner(\"owner\")\n .build();",
3351 "version": "1"
3352 },
3353 "go": {
3354 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\naccessControlTranslationProperty := &accessControlTranslationProperty{\n\towner: jsii.String(\"owner\"),\n}",
3355 "version": "1"
3356 },
3357 "$": {
3358 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst accessControlTranslationProperty: s3.CfnBucket.AccessControlTranslationProperty = {\n owner: 'owner',\n};",
3359 "version": "0"
3360 }
3361 },
3362 "location": {
3363 "api": {
3364 "api": "type",
3365 "fqn": "@aws-cdk/aws-s3.CfnBucket.AccessControlTranslationProperty"
3366 },
3367 "field": {
3368 "field": "example"
3369 }
3370 },
3371 "didCompile": true,
3372 "fqnsReferenced": [
3373 "@aws-cdk/aws-s3.CfnBucket.AccessControlTranslationProperty"
3374 ],
3375 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst accessControlTranslationProperty: s3.CfnBucket.AccessControlTranslationProperty = {\n owner: 'owner',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3376 "syntaxKindCounter": {
3377 "10": 2,
3378 "75": 6,
3379 "153": 2,
3380 "169": 1,
3381 "193": 1,
3382 "225": 1,
3383 "242": 1,
3384 "243": 1,
3385 "254": 1,
3386 "255": 1,
3387 "256": 1,
3388 "281": 1,
3389 "290": 1
3390 },
3391 "fqnsFingerprint": "44aa2d286c24cd2c667ba1d9273c2840c40d7cc34248e0f99f4691ab3f952afb"
3392 },
3393 "2fd714cd97e899857b7f537726587fbdfb2a952c19e66ef55841263c095bb925": {
3394 "translations": {
3395 "python": {
3396 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nanalytics_configuration_property = s3.CfnBucket.AnalyticsConfigurationProperty(\n id=\"id\",\n storage_class_analysis=s3.CfnBucket.StorageClassAnalysisProperty(\n data_export=s3.CfnBucket.DataExportProperty(\n destination=s3.CfnBucket.DestinationProperty(\n bucket_arn=\"bucketArn\",\n format=\"format\",\n\n # the properties below are optional\n bucket_account_id=\"bucketAccountId\",\n prefix=\"prefix\"\n ),\n output_schema_version=\"outputSchemaVersion\"\n )\n ),\n\n # the properties below are optional\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )]\n)",
3397 "version": "2"
3398 },
3399 "csharp": {
3400 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nAnalyticsConfigurationProperty analyticsConfigurationProperty = new AnalyticsConfigurationProperty {\n Id = \"id\",\n StorageClassAnalysis = new StorageClassAnalysisProperty {\n DataExport = new DataExportProperty {\n Destination = new DestinationProperty {\n BucketArn = \"bucketArn\",\n Format = \"format\",\n\n // the properties below are optional\n BucketAccountId = \"bucketAccountId\",\n Prefix = \"prefix\"\n },\n OutputSchemaVersion = \"outputSchemaVersion\"\n }\n },\n\n // the properties below are optional\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n};",
3401 "version": "1"
3402 },
3403 "java": {
3404 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nAnalyticsConfigurationProperty analyticsConfigurationProperty = AnalyticsConfigurationProperty.builder()\n .id(\"id\")\n .storageClassAnalysis(StorageClassAnalysisProperty.builder()\n .dataExport(DataExportProperty.builder()\n .destination(DestinationProperty.builder()\n .bucketArn(\"bucketArn\")\n .format(\"format\")\n\n // the properties below are optional\n .bucketAccountId(\"bucketAccountId\")\n .prefix(\"prefix\")\n .build())\n .outputSchemaVersion(\"outputSchemaVersion\")\n .build())\n .build())\n\n // the properties below are optional\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
3405 "version": "1"
3406 },
3407 "go": {
3408 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nanalyticsConfigurationProperty := &analyticsConfigurationProperty{\n\tid: jsii.String(\"id\"),\n\tstorageClassAnalysis: &storageClassAnalysisProperty{\n\t\tdataExport: &dataExportProperty{\n\t\t\tdestination: &destinationProperty{\n\t\t\t\tbucketArn: jsii.String(\"bucketArn\"),\n\t\t\t\tformat: jsii.String(\"format\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tbucketAccountId: jsii.String(\"bucketAccountId\"),\n\t\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\t},\n\t\t\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilters: []interface{}{\n\t\t&tagFilterProperty{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
3409 "version": "1"
3410 },
3411 "$": {
3412 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst analyticsConfigurationProperty: s3.CfnBucket.AnalyticsConfigurationProperty = {\n id: 'id',\n storageClassAnalysis: {\n dataExport: {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n outputSchemaVersion: 'outputSchemaVersion',\n },\n },\n\n // the properties below are optional\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};",
3413 "version": "0"
3414 }
3415 },
3416 "location": {
3417 "api": {
3418 "api": "type",
3419 "fqn": "@aws-cdk/aws-s3.CfnBucket.AnalyticsConfigurationProperty"
3420 },
3421 "field": {
3422 "field": "example"
3423 }
3424 },
3425 "didCompile": true,
3426 "fqnsReferenced": [
3427 "@aws-cdk/aws-s3.CfnBucket.AnalyticsConfigurationProperty"
3428 ],
3429 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst analyticsConfigurationProperty: s3.CfnBucket.AnalyticsConfigurationProperty = {\n id: 'id',\n storageClassAnalysis: {\n dataExport: {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n outputSchemaVersion: 'outputSchemaVersion',\n },\n },\n\n // the properties below are optional\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3430 "syntaxKindCounter": {
3431 "10": 10,
3432 "75": 18,
3433 "153": 2,
3434 "169": 1,
3435 "192": 1,
3436 "193": 5,
3437 "225": 1,
3438 "242": 1,
3439 "243": 1,
3440 "254": 1,
3441 "255": 1,
3442 "256": 1,
3443 "281": 13,
3444 "290": 1
3445 },
3446 "fqnsFingerprint": "e0b12189763b27f072cceb884cc654a538e57c92183ec46bc805134663846daf"
3447 },
3448 "c66424b1e224a6ebb496dc9d73d8593e0bdf264b7eedc2507e192723ec473898": {
3449 "translations": {
3450 "python": {
3451 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nbucket_encryption_property = s3.CfnBucket.BucketEncryptionProperty(\n server_side_encryption_configuration=[s3.CfnBucket.ServerSideEncryptionRuleProperty(\n bucket_key_enabled=False,\n server_side_encryption_by_default=s3.CfnBucket.ServerSideEncryptionByDefaultProperty(\n sse_algorithm=\"sseAlgorithm\",\n\n # the properties below are optional\n kms_master_key_id=\"kmsMasterKeyId\"\n )\n )]\n)",
3452 "version": "2"
3453 },
3454 "csharp": {
3455 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nBucketEncryptionProperty bucketEncryptionProperty = new BucketEncryptionProperty {\n ServerSideEncryptionConfiguration = new [] { new ServerSideEncryptionRuleProperty {\n BucketKeyEnabled = false,\n ServerSideEncryptionByDefault = new ServerSideEncryptionByDefaultProperty {\n SseAlgorithm = \"sseAlgorithm\",\n\n // the properties below are optional\n KmsMasterKeyId = \"kmsMasterKeyId\"\n }\n } }\n};",
3456 "version": "1"
3457 },
3458 "java": {
3459 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nBucketEncryptionProperty bucketEncryptionProperty = BucketEncryptionProperty.builder()\n .serverSideEncryptionConfiguration(List.of(ServerSideEncryptionRuleProperty.builder()\n .bucketKeyEnabled(false)\n .serverSideEncryptionByDefault(ServerSideEncryptionByDefaultProperty.builder()\n .sseAlgorithm(\"sseAlgorithm\")\n\n // the properties below are optional\n .kmsMasterKeyId(\"kmsMasterKeyId\")\n .build())\n .build()))\n .build();",
3460 "version": "1"
3461 },
3462 "go": {
3463 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nbucketEncryptionProperty := &bucketEncryptionProperty{\n\tserverSideEncryptionConfiguration: []interface{}{\n\t\t&serverSideEncryptionRuleProperty{\n\t\t\tbucketKeyEnabled: jsii.Boolean(false),\n\t\t\tserverSideEncryptionByDefault: &serverSideEncryptionByDefaultProperty{\n\t\t\t\tsseAlgorithm: jsii.String(\"sseAlgorithm\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tkmsMasterKeyId: jsii.String(\"kmsMasterKeyId\"),\n\t\t\t},\n\t\t},\n\t},\n}",
3464 "version": "1"
3465 },
3466 "$": {
3467 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst bucketEncryptionProperty: s3.CfnBucket.BucketEncryptionProperty = {\n serverSideEncryptionConfiguration: [{\n bucketKeyEnabled: false,\n serverSideEncryptionByDefault: {\n sseAlgorithm: 'sseAlgorithm',\n\n // the properties below are optional\n kmsMasterKeyId: 'kmsMasterKeyId',\n },\n }],\n};",
3468 "version": "0"
3469 }
3470 },
3471 "location": {
3472 "api": {
3473 "api": "type",
3474 "fqn": "@aws-cdk/aws-s3.CfnBucket.BucketEncryptionProperty"
3475 },
3476 "field": {
3477 "field": "example"
3478 }
3479 },
3480 "didCompile": true,
3481 "fqnsReferenced": [
3482 "@aws-cdk/aws-s3.CfnBucket.BucketEncryptionProperty"
3483 ],
3484 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst bucketEncryptionProperty: s3.CfnBucket.BucketEncryptionProperty = {\n serverSideEncryptionConfiguration: [{\n bucketKeyEnabled: false,\n serverSideEncryptionByDefault: {\n sseAlgorithm: 'sseAlgorithm',\n\n // the properties below are optional\n kmsMasterKeyId: 'kmsMasterKeyId',\n },\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3485 "syntaxKindCounter": {
3486 "10": 3,
3487 "75": 10,
3488 "91": 1,
3489 "153": 2,
3490 "169": 1,
3491 "192": 1,
3492 "193": 3,
3493 "225": 1,
3494 "242": 1,
3495 "243": 1,
3496 "254": 1,
3497 "255": 1,
3498 "256": 1,
3499 "281": 5,
3500 "290": 1
3501 },
3502 "fqnsFingerprint": "93503358f627602bfe598a3e5bb47c28efaa451fa6552f42b1a9f0cd71f15c89"
3503 },
3504 "60e47cae771f3a22f242be48514dc84b9b11ee2fcb0496f0c4ddfa0ae599d5e2": {
3505 "translations": {
3506 "python": {
3507 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ncors_configuration_property = s3.CfnBucket.CorsConfigurationProperty(\n cors_rules=[s3.CfnBucket.CorsRuleProperty(\n allowed_methods=[\"allowedMethods\"],\n allowed_origins=[\"allowedOrigins\"],\n\n # the properties below are optional\n allowed_headers=[\"allowedHeaders\"],\n exposed_headers=[\"exposedHeaders\"],\n id=\"id\",\n max_age=123\n )]\n)",
3508 "version": "2"
3509 },
3510 "csharp": {
3511 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nCorsConfigurationProperty corsConfigurationProperty = new CorsConfigurationProperty {\n CorsRules = new [] { new CorsRuleProperty {\n AllowedMethods = new [] { \"allowedMethods\" },\n AllowedOrigins = new [] { \"allowedOrigins\" },\n\n // the properties below are optional\n AllowedHeaders = new [] { \"allowedHeaders\" },\n ExposedHeaders = new [] { \"exposedHeaders\" },\n Id = \"id\",\n MaxAge = 123\n } }\n};",
3512 "version": "1"
3513 },
3514 "java": {
3515 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nCorsConfigurationProperty corsConfigurationProperty = CorsConfigurationProperty.builder()\n .corsRules(List.of(CorsRuleProperty.builder()\n .allowedMethods(List.of(\"allowedMethods\"))\n .allowedOrigins(List.of(\"allowedOrigins\"))\n\n // the properties below are optional\n .allowedHeaders(List.of(\"allowedHeaders\"))\n .exposedHeaders(List.of(\"exposedHeaders\"))\n .id(\"id\")\n .maxAge(123)\n .build()))\n .build();",
3516 "version": "1"
3517 },
3518 "go": {
3519 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ncorsConfigurationProperty := &corsConfigurationProperty{\n\tcorsRules: []interface{}{\n\t\t&corsRuleProperty{\n\t\t\tallowedMethods: []*string{\n\t\t\t\tjsii.String(\"allowedMethods\"),\n\t\t\t},\n\t\t\tallowedOrigins: []*string{\n\t\t\t\tjsii.String(\"allowedOrigins\"),\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\tallowedHeaders: []*string{\n\t\t\t\tjsii.String(\"allowedHeaders\"),\n\t\t\t},\n\t\t\texposedHeaders: []*string{\n\t\t\t\tjsii.String(\"exposedHeaders\"),\n\t\t\t},\n\t\t\tid: jsii.String(\"id\"),\n\t\t\tmaxAge: jsii.Number(123),\n\t\t},\n\t},\n}",
3520 "version": "1"
3521 },
3522 "$": {
3523 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst corsConfigurationProperty: s3.CfnBucket.CorsConfigurationProperty = {\n corsRules: [{\n allowedMethods: ['allowedMethods'],\n allowedOrigins: ['allowedOrigins'],\n\n // the properties below are optional\n allowedHeaders: ['allowedHeaders'],\n exposedHeaders: ['exposedHeaders'],\n id: 'id',\n maxAge: 123,\n }],\n};",
3524 "version": "0"
3525 }
3526 },
3527 "location": {
3528 "api": {
3529 "api": "type",
3530 "fqn": "@aws-cdk/aws-s3.CfnBucket.CorsConfigurationProperty"
3531 },
3532 "field": {
3533 "field": "example"
3534 }
3535 },
3536 "didCompile": true,
3537 "fqnsReferenced": [
3538 "@aws-cdk/aws-s3.CfnBucket.CorsConfigurationProperty"
3539 ],
3540 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst corsConfigurationProperty: s3.CfnBucket.CorsConfigurationProperty = {\n corsRules: [{\n allowedMethods: ['allowedMethods'],\n allowedOrigins: ['allowedOrigins'],\n\n // the properties below are optional\n allowedHeaders: ['allowedHeaders'],\n exposedHeaders: ['exposedHeaders'],\n id: 'id',\n maxAge: 123,\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3541 "syntaxKindCounter": {
3542 "8": 1,
3543 "10": 6,
3544 "75": 12,
3545 "153": 2,
3546 "169": 1,
3547 "192": 5,
3548 "193": 2,
3549 "225": 1,
3550 "242": 1,
3551 "243": 1,
3552 "254": 1,
3553 "255": 1,
3554 "256": 1,
3555 "281": 7,
3556 "290": 1
3557 },
3558 "fqnsFingerprint": "9b5af21dd79377574302cd336d0273d35e206eefac17e8469df65394e685d3aa"
3559 },
3560 "d40f65d1c07def977a924f1631e8c7f57ba17a24bac71243fe7ec330ac9bb40c": {
3561 "translations": {
3562 "python": {
3563 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ncors_rule_property = s3.CfnBucket.CorsRuleProperty(\n allowed_methods=[\"allowedMethods\"],\n allowed_origins=[\"allowedOrigins\"],\n\n # the properties below are optional\n allowed_headers=[\"allowedHeaders\"],\n exposed_headers=[\"exposedHeaders\"],\n id=\"id\",\n max_age=123\n)",
3564 "version": "2"
3565 },
3566 "csharp": {
3567 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nCorsRuleProperty corsRuleProperty = new CorsRuleProperty {\n AllowedMethods = new [] { \"allowedMethods\" },\n AllowedOrigins = new [] { \"allowedOrigins\" },\n\n // the properties below are optional\n AllowedHeaders = new [] { \"allowedHeaders\" },\n ExposedHeaders = new [] { \"exposedHeaders\" },\n Id = \"id\",\n MaxAge = 123\n};",
3568 "version": "1"
3569 },
3570 "java": {
3571 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nCorsRuleProperty corsRuleProperty = CorsRuleProperty.builder()\n .allowedMethods(List.of(\"allowedMethods\"))\n .allowedOrigins(List.of(\"allowedOrigins\"))\n\n // the properties below are optional\n .allowedHeaders(List.of(\"allowedHeaders\"))\n .exposedHeaders(List.of(\"exposedHeaders\"))\n .id(\"id\")\n .maxAge(123)\n .build();",
3572 "version": "1"
3573 },
3574 "go": {
3575 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ncorsRuleProperty := &corsRuleProperty{\n\tallowedMethods: []*string{\n\t\tjsii.String(\"allowedMethods\"),\n\t},\n\tallowedOrigins: []*string{\n\t\tjsii.String(\"allowedOrigins\"),\n\t},\n\n\t// the properties below are optional\n\tallowedHeaders: []*string{\n\t\tjsii.String(\"allowedHeaders\"),\n\t},\n\texposedHeaders: []*string{\n\t\tjsii.String(\"exposedHeaders\"),\n\t},\n\tid: jsii.String(\"id\"),\n\tmaxAge: jsii.Number(123),\n}",
3576 "version": "1"
3577 },
3578 "$": {
3579 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst corsRuleProperty: s3.CfnBucket.CorsRuleProperty = {\n allowedMethods: ['allowedMethods'],\n allowedOrigins: ['allowedOrigins'],\n\n // the properties below are optional\n allowedHeaders: ['allowedHeaders'],\n exposedHeaders: ['exposedHeaders'],\n id: 'id',\n maxAge: 123,\n};",
3580 "version": "0"
3581 }
3582 },
3583 "location": {
3584 "api": {
3585 "api": "type",
3586 "fqn": "@aws-cdk/aws-s3.CfnBucket.CorsRuleProperty"
3587 },
3588 "field": {
3589 "field": "example"
3590 }
3591 },
3592 "didCompile": true,
3593 "fqnsReferenced": [
3594 "@aws-cdk/aws-s3.CfnBucket.CorsRuleProperty"
3595 ],
3596 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst corsRuleProperty: s3.CfnBucket.CorsRuleProperty = {\n allowedMethods: ['allowedMethods'],\n allowedOrigins: ['allowedOrigins'],\n\n // the properties below are optional\n allowedHeaders: ['allowedHeaders'],\n exposedHeaders: ['exposedHeaders'],\n id: 'id',\n maxAge: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3597 "syntaxKindCounter": {
3598 "8": 1,
3599 "10": 6,
3600 "75": 11,
3601 "153": 2,
3602 "169": 1,
3603 "192": 4,
3604 "193": 1,
3605 "225": 1,
3606 "242": 1,
3607 "243": 1,
3608 "254": 1,
3609 "255": 1,
3610 "256": 1,
3611 "281": 6,
3612 "290": 1
3613 },
3614 "fqnsFingerprint": "4cd1d3a2a323eb647786c76751f85fe53c450e0fbc8abfd4565ae33c041c4b43"
3615 },
3616 "78c908ef2ce6a9814cc5c5d65b9332b8eb3fea1ba3b16ea352092dbb545fdf0c": {
3617 "translations": {
3618 "python": {
3619 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ndata_export_property = s3.CfnBucket.DataExportProperty(\n destination=s3.CfnBucket.DestinationProperty(\n bucket_arn=\"bucketArn\",\n format=\"format\",\n\n # the properties below are optional\n bucket_account_id=\"bucketAccountId\",\n prefix=\"prefix\"\n ),\n output_schema_version=\"outputSchemaVersion\"\n)",
3620 "version": "2"
3621 },
3622 "csharp": {
3623 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nDataExportProperty dataExportProperty = new DataExportProperty {\n Destination = new DestinationProperty {\n BucketArn = \"bucketArn\",\n Format = \"format\",\n\n // the properties below are optional\n BucketAccountId = \"bucketAccountId\",\n Prefix = \"prefix\"\n },\n OutputSchemaVersion = \"outputSchemaVersion\"\n};",
3624 "version": "1"
3625 },
3626 "java": {
3627 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nDataExportProperty dataExportProperty = DataExportProperty.builder()\n .destination(DestinationProperty.builder()\n .bucketArn(\"bucketArn\")\n .format(\"format\")\n\n // the properties below are optional\n .bucketAccountId(\"bucketAccountId\")\n .prefix(\"prefix\")\n .build())\n .outputSchemaVersion(\"outputSchemaVersion\")\n .build();",
3628 "version": "1"
3629 },
3630 "go": {
3631 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ndataExportProperty := &dataExportProperty{\n\tdestination: &destinationProperty{\n\t\tbucketArn: jsii.String(\"bucketArn\"),\n\t\tformat: jsii.String(\"format\"),\n\n\t\t// the properties below are optional\n\t\tbucketAccountId: jsii.String(\"bucketAccountId\"),\n\t\tprefix: jsii.String(\"prefix\"),\n\t},\n\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n}",
3632 "version": "1"
3633 },
3634 "$": {
3635 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst dataExportProperty: s3.CfnBucket.DataExportProperty = {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n outputSchemaVersion: 'outputSchemaVersion',\n};",
3636 "version": "0"
3637 }
3638 },
3639 "location": {
3640 "api": {
3641 "api": "type",
3642 "fqn": "@aws-cdk/aws-s3.CfnBucket.DataExportProperty"
3643 },
3644 "field": {
3645 "field": "example"
3646 }
3647 },
3648 "didCompile": true,
3649 "fqnsReferenced": [
3650 "@aws-cdk/aws-s3.CfnBucket.DataExportProperty"
3651 ],
3652 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst dataExportProperty: s3.CfnBucket.DataExportProperty = {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n outputSchemaVersion: 'outputSchemaVersion',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3653 "syntaxKindCounter": {
3654 "10": 6,
3655 "75": 11,
3656 "153": 2,
3657 "169": 1,
3658 "193": 2,
3659 "225": 1,
3660 "242": 1,
3661 "243": 1,
3662 "254": 1,
3663 "255": 1,
3664 "256": 1,
3665 "281": 6,
3666 "290": 1
3667 },
3668 "fqnsFingerprint": "54a1dc94fc1b0070dbb591e071f8618d58839ad54551defa8f8028f3145a87b2"
3669 },
3670 "e9a4c484ed3c5e4abe7f407daed96362560f6cefb4e3abd75706459a2e1db122": {
3671 "translations": {
3672 "python": {
3673 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ndefault_retention_property = s3.CfnBucket.DefaultRetentionProperty(\n days=123,\n mode=\"mode\",\n years=123\n)",
3674 "version": "2"
3675 },
3676 "csharp": {
3677 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nDefaultRetentionProperty defaultRetentionProperty = new DefaultRetentionProperty {\n Days = 123,\n Mode = \"mode\",\n Years = 123\n};",
3678 "version": "1"
3679 },
3680 "java": {
3681 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nDefaultRetentionProperty defaultRetentionProperty = DefaultRetentionProperty.builder()\n .days(123)\n .mode(\"mode\")\n .years(123)\n .build();",
3682 "version": "1"
3683 },
3684 "go": {
3685 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ndefaultRetentionProperty := &defaultRetentionProperty{\n\tdays: jsii.Number(123),\n\tmode: jsii.String(\"mode\"),\n\tyears: jsii.Number(123),\n}",
3686 "version": "1"
3687 },
3688 "$": {
3689 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst defaultRetentionProperty: s3.CfnBucket.DefaultRetentionProperty = {\n days: 123,\n mode: 'mode',\n years: 123,\n};",
3690 "version": "0"
3691 }
3692 },
3693 "location": {
3694 "api": {
3695 "api": "type",
3696 "fqn": "@aws-cdk/aws-s3.CfnBucket.DefaultRetentionProperty"
3697 },
3698 "field": {
3699 "field": "example"
3700 }
3701 },
3702 "didCompile": true,
3703 "fqnsReferenced": [
3704 "@aws-cdk/aws-s3.CfnBucket.DefaultRetentionProperty"
3705 ],
3706 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst defaultRetentionProperty: s3.CfnBucket.DefaultRetentionProperty = {\n days: 123,\n mode: 'mode',\n years: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3707 "syntaxKindCounter": {
3708 "8": 2,
3709 "10": 2,
3710 "75": 8,
3711 "153": 2,
3712 "169": 1,
3713 "193": 1,
3714 "225": 1,
3715 "242": 1,
3716 "243": 1,
3717 "254": 1,
3718 "255": 1,
3719 "256": 1,
3720 "281": 3,
3721 "290": 1
3722 },
3723 "fqnsFingerprint": "22a30088b7da9a931fd1abac0dcf844bb72a56847ece540f3b876fece67d38ba"
3724 },
3725 "54928c745a2836deb81ef1cd4b86d0086ac7dd8d2fb94cf36dfdb2a6be0f3e4d": {
3726 "translations": {
3727 "python": {
3728 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ndelete_marker_replication_property = s3.CfnBucket.DeleteMarkerReplicationProperty(\n status=\"status\"\n)",
3729 "version": "2"
3730 },
3731 "csharp": {
3732 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nDeleteMarkerReplicationProperty deleteMarkerReplicationProperty = new DeleteMarkerReplicationProperty {\n Status = \"status\"\n};",
3733 "version": "1"
3734 },
3735 "java": {
3736 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nDeleteMarkerReplicationProperty deleteMarkerReplicationProperty = DeleteMarkerReplicationProperty.builder()\n .status(\"status\")\n .build();",
3737 "version": "1"
3738 },
3739 "go": {
3740 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ndeleteMarkerReplicationProperty := &deleteMarkerReplicationProperty{\n\tstatus: jsii.String(\"status\"),\n}",
3741 "version": "1"
3742 },
3743 "$": {
3744 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst deleteMarkerReplicationProperty: s3.CfnBucket.DeleteMarkerReplicationProperty = {\n status: 'status',\n};",
3745 "version": "0"
3746 }
3747 },
3748 "location": {
3749 "api": {
3750 "api": "type",
3751 "fqn": "@aws-cdk/aws-s3.CfnBucket.DeleteMarkerReplicationProperty"
3752 },
3753 "field": {
3754 "field": "example"
3755 }
3756 },
3757 "didCompile": true,
3758 "fqnsReferenced": [
3759 "@aws-cdk/aws-s3.CfnBucket.DeleteMarkerReplicationProperty"
3760 ],
3761 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst deleteMarkerReplicationProperty: s3.CfnBucket.DeleteMarkerReplicationProperty = {\n status: 'status',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3762 "syntaxKindCounter": {
3763 "10": 2,
3764 "75": 6,
3765 "153": 2,
3766 "169": 1,
3767 "193": 1,
3768 "225": 1,
3769 "242": 1,
3770 "243": 1,
3771 "254": 1,
3772 "255": 1,
3773 "256": 1,
3774 "281": 1,
3775 "290": 1
3776 },
3777 "fqnsFingerprint": "5953f118787c7e3216e6b05afe37f33181260d7a215fbebc697613cd85db269d"
3778 },
3779 "08a2ea4021d50f19e66bc7bf17e98e822559e01c254f0136281e548f52cff348": {
3780 "translations": {
3781 "python": {
3782 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ndestination_property = s3.CfnBucket.DestinationProperty(\n bucket_arn=\"bucketArn\",\n format=\"format\",\n\n # the properties below are optional\n bucket_account_id=\"bucketAccountId\",\n prefix=\"prefix\"\n)",
3783 "version": "2"
3784 },
3785 "csharp": {
3786 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nDestinationProperty destinationProperty = new DestinationProperty {\n BucketArn = \"bucketArn\",\n Format = \"format\",\n\n // the properties below are optional\n BucketAccountId = \"bucketAccountId\",\n Prefix = \"prefix\"\n};",
3787 "version": "1"
3788 },
3789 "java": {
3790 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nDestinationProperty destinationProperty = DestinationProperty.builder()\n .bucketArn(\"bucketArn\")\n .format(\"format\")\n\n // the properties below are optional\n .bucketAccountId(\"bucketAccountId\")\n .prefix(\"prefix\")\n .build();",
3791 "version": "1"
3792 },
3793 "go": {
3794 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ndestinationProperty := &destinationProperty{\n\tbucketArn: jsii.String(\"bucketArn\"),\n\tformat: jsii.String(\"format\"),\n\n\t// the properties below are optional\n\tbucketAccountId: jsii.String(\"bucketAccountId\"),\n\tprefix: jsii.String(\"prefix\"),\n}",
3795 "version": "1"
3796 },
3797 "$": {
3798 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst destinationProperty: s3.CfnBucket.DestinationProperty = {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n};",
3799 "version": "0"
3800 }
3801 },
3802 "location": {
3803 "api": {
3804 "api": "type",
3805 "fqn": "@aws-cdk/aws-s3.CfnBucket.DestinationProperty"
3806 },
3807 "field": {
3808 "field": "example"
3809 }
3810 },
3811 "didCompile": true,
3812 "fqnsReferenced": [
3813 "@aws-cdk/aws-s3.CfnBucket.DestinationProperty"
3814 ],
3815 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst destinationProperty: s3.CfnBucket.DestinationProperty = {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3816 "syntaxKindCounter": {
3817 "10": 5,
3818 "75": 9,
3819 "153": 2,
3820 "169": 1,
3821 "193": 1,
3822 "225": 1,
3823 "242": 1,
3824 "243": 1,
3825 "254": 1,
3826 "255": 1,
3827 "256": 1,
3828 "281": 4,
3829 "290": 1
3830 },
3831 "fqnsFingerprint": "b0b7db2da66776b5c251d5006077a7e31bd248cf94befd18edc4ea2676e7413e"
3832 },
3833 "70795bc2c2af470d7e4c285b5c07018507247acad8f4b207e3649a9de0870553": {
3834 "translations": {
3835 "python": {
3836 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nencryption_configuration_property = s3.CfnBucket.EncryptionConfigurationProperty(\n replica_kms_key_id=\"replicaKmsKeyId\"\n)",
3837 "version": "2"
3838 },
3839 "csharp": {
3840 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nEncryptionConfigurationProperty encryptionConfigurationProperty = new EncryptionConfigurationProperty {\n ReplicaKmsKeyId = \"replicaKmsKeyId\"\n};",
3841 "version": "1"
3842 },
3843 "java": {
3844 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nEncryptionConfigurationProperty encryptionConfigurationProperty = EncryptionConfigurationProperty.builder()\n .replicaKmsKeyId(\"replicaKmsKeyId\")\n .build();",
3845 "version": "1"
3846 },
3847 "go": {
3848 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nencryptionConfigurationProperty := &encryptionConfigurationProperty{\n\treplicaKmsKeyId: jsii.String(\"replicaKmsKeyId\"),\n}",
3849 "version": "1"
3850 },
3851 "$": {
3852 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst encryptionConfigurationProperty: s3.CfnBucket.EncryptionConfigurationProperty = {\n replicaKmsKeyId: 'replicaKmsKeyId',\n};",
3853 "version": "0"
3854 }
3855 },
3856 "location": {
3857 "api": {
3858 "api": "type",
3859 "fqn": "@aws-cdk/aws-s3.CfnBucket.EncryptionConfigurationProperty"
3860 },
3861 "field": {
3862 "field": "example"
3863 }
3864 },
3865 "didCompile": true,
3866 "fqnsReferenced": [
3867 "@aws-cdk/aws-s3.CfnBucket.EncryptionConfigurationProperty"
3868 ],
3869 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst encryptionConfigurationProperty: s3.CfnBucket.EncryptionConfigurationProperty = {\n replicaKmsKeyId: 'replicaKmsKeyId',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3870 "syntaxKindCounter": {
3871 "10": 2,
3872 "75": 6,
3873 "153": 2,
3874 "169": 1,
3875 "193": 1,
3876 "225": 1,
3877 "242": 1,
3878 "243": 1,
3879 "254": 1,
3880 "255": 1,
3881 "256": 1,
3882 "281": 1,
3883 "290": 1
3884 },
3885 "fqnsFingerprint": "a9a7920f92fe39384ba7ba23b9c14d9544866094836607e947eb9819815b27ba"
3886 },
3887 "de9466ce4d73b0c5d1e0c91aad11fa00a61499ccb607317a652fe64992f84125": {
3888 "translations": {
3889 "python": {
3890 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nevent_bridge_configuration_property = s3.CfnBucket.EventBridgeConfigurationProperty(\n event_bridge_enabled=False\n)",
3891 "version": "2"
3892 },
3893 "csharp": {
3894 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nEventBridgeConfigurationProperty eventBridgeConfigurationProperty = new EventBridgeConfigurationProperty {\n EventBridgeEnabled = false\n};",
3895 "version": "1"
3896 },
3897 "java": {
3898 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nEventBridgeConfigurationProperty eventBridgeConfigurationProperty = EventBridgeConfigurationProperty.builder()\n .eventBridgeEnabled(false)\n .build();",
3899 "version": "1"
3900 },
3901 "go": {
3902 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\neventBridgeConfigurationProperty := &eventBridgeConfigurationProperty{\n\teventBridgeEnabled: jsii.Boolean(false),\n}",
3903 "version": "1"
3904 },
3905 "$": {
3906 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst eventBridgeConfigurationProperty: s3.CfnBucket.EventBridgeConfigurationProperty = {\n eventBridgeEnabled: false,\n};",
3907 "version": "0"
3908 }
3909 },
3910 "location": {
3911 "api": {
3912 "api": "type",
3913 "fqn": "@aws-cdk/aws-s3.CfnBucket.EventBridgeConfigurationProperty"
3914 },
3915 "field": {
3916 "field": "example"
3917 }
3918 },
3919 "didCompile": true,
3920 "fqnsReferenced": [
3921 "@aws-cdk/aws-s3.CfnBucket.EventBridgeConfigurationProperty"
3922 ],
3923 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst eventBridgeConfigurationProperty: s3.CfnBucket.EventBridgeConfigurationProperty = {\n eventBridgeEnabled: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3924 "syntaxKindCounter": {
3925 "10": 1,
3926 "75": 6,
3927 "91": 1,
3928 "153": 2,
3929 "169": 1,
3930 "193": 1,
3931 "225": 1,
3932 "242": 1,
3933 "243": 1,
3934 "254": 1,
3935 "255": 1,
3936 "256": 1,
3937 "281": 1,
3938 "290": 1
3939 },
3940 "fqnsFingerprint": "138b537060ed71175016c5d3c2c311a260e21ca8fb87545e682a7629e3eb6867"
3941 },
3942 "c7f3c060c99c6aa5495f7d1662eb5ef367174e920f367ec47940b2dc8d6894aa": {
3943 "translations": {
3944 "python": {
3945 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nfilter_rule_property = s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n)",
3946 "version": "2"
3947 },
3948 "csharp": {
3949 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nFilterRuleProperty filterRuleProperty = new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n};",
3950 "version": "1"
3951 },
3952 "java": {
3953 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nFilterRuleProperty filterRuleProperty = FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build();",
3954 "version": "1"
3955 },
3956 "go": {
3957 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nfilterRuleProperty := &filterRuleProperty{\n\tname: jsii.String(\"name\"),\n\tvalue: jsii.String(\"value\"),\n}",
3958 "version": "1"
3959 },
3960 "$": {
3961 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst filterRuleProperty: s3.CfnBucket.FilterRuleProperty = {\n name: 'name',\n value: 'value',\n};",
3962 "version": "0"
3963 }
3964 },
3965 "location": {
3966 "api": {
3967 "api": "type",
3968 "fqn": "@aws-cdk/aws-s3.CfnBucket.FilterRuleProperty"
3969 },
3970 "field": {
3971 "field": "example"
3972 }
3973 },
3974 "didCompile": true,
3975 "fqnsReferenced": [
3976 "@aws-cdk/aws-s3.CfnBucket.FilterRuleProperty"
3977 ],
3978 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst filterRuleProperty: s3.CfnBucket.FilterRuleProperty = {\n name: 'name',\n value: 'value',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
3979 "syntaxKindCounter": {
3980 "10": 3,
3981 "75": 7,
3982 "153": 2,
3983 "169": 1,
3984 "193": 1,
3985 "225": 1,
3986 "242": 1,
3987 "243": 1,
3988 "254": 1,
3989 "255": 1,
3990 "256": 1,
3991 "281": 2,
3992 "290": 1
3993 },
3994 "fqnsFingerprint": "2f54c1bf29d8438addad83de489991c069deabb50d3cc95a2fe38326111f1152"
3995 },
3996 "2812052b528b367e260478e6b9bf9a1f5898d18a513055e0edc39ac1657e0f05": {
3997 "translations": {
3998 "python": {
3999 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nintelligent_tiering_configuration_property = s3.CfnBucket.IntelligentTieringConfigurationProperty(\n id=\"id\",\n status=\"status\",\n tierings=[s3.CfnBucket.TieringProperty(\n access_tier=\"accessTier\",\n days=123\n )],\n\n # the properties below are optional\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )]\n)",
4000 "version": "2"
4001 },
4002 "csharp": {
4003 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nIntelligentTieringConfigurationProperty intelligentTieringConfigurationProperty = new IntelligentTieringConfigurationProperty {\n Id = \"id\",\n Status = \"status\",\n Tierings = new [] { new TieringProperty {\n AccessTier = \"accessTier\",\n Days = 123\n } },\n\n // the properties below are optional\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n};",
4004 "version": "1"
4005 },
4006 "java": {
4007 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nIntelligentTieringConfigurationProperty intelligentTieringConfigurationProperty = IntelligentTieringConfigurationProperty.builder()\n .id(\"id\")\n .status(\"status\")\n .tierings(List.of(TieringProperty.builder()\n .accessTier(\"accessTier\")\n .days(123)\n .build()))\n\n // the properties below are optional\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
4008 "version": "1"
4009 },
4010 "go": {
4011 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nintelligentTieringConfigurationProperty := &intelligentTieringConfigurationProperty{\n\tid: jsii.String(\"id\"),\n\tstatus: jsii.String(\"status\"),\n\ttierings: []interface{}{\n\t\t&tieringProperty{\n\t\t\taccessTier: jsii.String(\"accessTier\"),\n\t\t\tdays: jsii.Number(123),\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilters: []interface{}{\n\t\t&tagFilterProperty{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
4012 "version": "1"
4013 },
4014 "$": {
4015 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst intelligentTieringConfigurationProperty: s3.CfnBucket.IntelligentTieringConfigurationProperty = {\n id: 'id',\n status: 'status',\n tierings: [{\n accessTier: 'accessTier',\n days: 123,\n }],\n\n // the properties below are optional\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};",
4016 "version": "0"
4017 }
4018 },
4019 "location": {
4020 "api": {
4021 "api": "type",
4022 "fqn": "@aws-cdk/aws-s3.CfnBucket.IntelligentTieringConfigurationProperty"
4023 },
4024 "field": {
4025 "field": "example"
4026 }
4027 },
4028 "didCompile": true,
4029 "fqnsReferenced": [
4030 "@aws-cdk/aws-s3.CfnBucket.IntelligentTieringConfigurationProperty"
4031 ],
4032 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst intelligentTieringConfigurationProperty: s3.CfnBucket.IntelligentTieringConfigurationProperty = {\n id: 'id',\n status: 'status',\n tierings: [{\n accessTier: 'accessTier',\n days: 123,\n }],\n\n // the properties below are optional\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4033 "syntaxKindCounter": {
4034 "8": 1,
4035 "10": 7,
4036 "75": 14,
4037 "153": 2,
4038 "169": 1,
4039 "192": 2,
4040 "193": 3,
4041 "225": 1,
4042 "242": 1,
4043 "243": 1,
4044 "254": 1,
4045 "255": 1,
4046 "256": 1,
4047 "281": 9,
4048 "290": 1
4049 },
4050 "fqnsFingerprint": "3aee9c9fa249a8f4b816b80ca8434441e88ab9ff59429bfc0331d013411e94aa"
4051 },
4052 "a046f3b33cbab240383afc9cf5ebe31468015c183d413e93dc757fd7bfd0a919": {
4053 "translations": {
4054 "python": {
4055 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ninventory_configuration_property = s3.CfnBucket.InventoryConfigurationProperty(\n destination=s3.CfnBucket.DestinationProperty(\n bucket_arn=\"bucketArn\",\n format=\"format\",\n\n # the properties below are optional\n bucket_account_id=\"bucketAccountId\",\n prefix=\"prefix\"\n ),\n enabled=False,\n id=\"id\",\n included_object_versions=\"includedObjectVersions\",\n schedule_frequency=\"scheduleFrequency\",\n\n # the properties below are optional\n optional_fields=[\"optionalFields\"],\n prefix=\"prefix\"\n)",
4056 "version": "2"
4057 },
4058 "csharp": {
4059 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nInventoryConfigurationProperty inventoryConfigurationProperty = new InventoryConfigurationProperty {\n Destination = new DestinationProperty {\n BucketArn = \"bucketArn\",\n Format = \"format\",\n\n // the properties below are optional\n BucketAccountId = \"bucketAccountId\",\n Prefix = \"prefix\"\n },\n Enabled = false,\n Id = \"id\",\n IncludedObjectVersions = \"includedObjectVersions\",\n ScheduleFrequency = \"scheduleFrequency\",\n\n // the properties below are optional\n OptionalFields = new [] { \"optionalFields\" },\n Prefix = \"prefix\"\n};",
4060 "version": "1"
4061 },
4062 "java": {
4063 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nInventoryConfigurationProperty inventoryConfigurationProperty = InventoryConfigurationProperty.builder()\n .destination(DestinationProperty.builder()\n .bucketArn(\"bucketArn\")\n .format(\"format\")\n\n // the properties below are optional\n .bucketAccountId(\"bucketAccountId\")\n .prefix(\"prefix\")\n .build())\n .enabled(false)\n .id(\"id\")\n .includedObjectVersions(\"includedObjectVersions\")\n .scheduleFrequency(\"scheduleFrequency\")\n\n // the properties below are optional\n .optionalFields(List.of(\"optionalFields\"))\n .prefix(\"prefix\")\n .build();",
4064 "version": "1"
4065 },
4066 "go": {
4067 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ninventoryConfigurationProperty := &inventoryConfigurationProperty{\n\tdestination: &destinationProperty{\n\t\tbucketArn: jsii.String(\"bucketArn\"),\n\t\tformat: jsii.String(\"format\"),\n\n\t\t// the properties below are optional\n\t\tbucketAccountId: jsii.String(\"bucketAccountId\"),\n\t\tprefix: jsii.String(\"prefix\"),\n\t},\n\tenabled: jsii.Boolean(false),\n\tid: jsii.String(\"id\"),\n\tincludedObjectVersions: jsii.String(\"includedObjectVersions\"),\n\tscheduleFrequency: jsii.String(\"scheduleFrequency\"),\n\n\t// the properties below are optional\n\toptionalFields: []*string{\n\t\tjsii.String(\"optionalFields\"),\n\t},\n\tprefix: jsii.String(\"prefix\"),\n}",
4068 "version": "1"
4069 },
4070 "$": {
4071 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst inventoryConfigurationProperty: s3.CfnBucket.InventoryConfigurationProperty = {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n enabled: false,\n id: 'id',\n includedObjectVersions: 'includedObjectVersions',\n scheduleFrequency: 'scheduleFrequency',\n\n // the properties below are optional\n optionalFields: ['optionalFields'],\n prefix: 'prefix',\n};",
4072 "version": "0"
4073 }
4074 },
4075 "location": {
4076 "api": {
4077 "api": "type",
4078 "fqn": "@aws-cdk/aws-s3.CfnBucket.InventoryConfigurationProperty"
4079 },
4080 "field": {
4081 "field": "example"
4082 }
4083 },
4084 "didCompile": true,
4085 "fqnsReferenced": [
4086 "@aws-cdk/aws-s3.CfnBucket.InventoryConfigurationProperty"
4087 ],
4088 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst inventoryConfigurationProperty: s3.CfnBucket.InventoryConfigurationProperty = {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n enabled: false,\n id: 'id',\n includedObjectVersions: 'includedObjectVersions',\n scheduleFrequency: 'scheduleFrequency',\n\n // the properties below are optional\n optionalFields: ['optionalFields'],\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4089 "syntaxKindCounter": {
4090 "10": 10,
4091 "75": 16,
4092 "91": 1,
4093 "153": 2,
4094 "169": 1,
4095 "192": 1,
4096 "193": 2,
4097 "225": 1,
4098 "242": 1,
4099 "243": 1,
4100 "254": 1,
4101 "255": 1,
4102 "256": 1,
4103 "281": 11,
4104 "290": 1
4105 },
4106 "fqnsFingerprint": "bffcbcb1f88dd92dc98cc41b0d81eb574f3246e125be44e5ceaa99a3c3eac43c"
4107 },
4108 "4099cbd4af7674cb4cd7b0537b7ac8d20ab852834b2aeafcdb4a5911c38ee269": {
4109 "translations": {
4110 "python": {
4111 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nlambda_configuration_property = s3.CfnBucket.LambdaConfigurationProperty(\n event=\"event\",\n function=\"function\",\n\n # the properties below are optional\n filter=s3.CfnBucket.NotificationFilterProperty(\n s3_key=s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n )\n )\n)",
4112 "version": "2"
4113 },
4114 "csharp": {
4115 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nLambdaConfigurationProperty lambdaConfigurationProperty = new LambdaConfigurationProperty {\n Event = \"event\",\n Function = \"function\",\n\n // the properties below are optional\n Filter = new NotificationFilterProperty {\n S3Key = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n }\n }\n};",
4116 "version": "1"
4117 },
4118 "java": {
4119 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nLambdaConfigurationProperty lambdaConfigurationProperty = LambdaConfigurationProperty.builder()\n .event(\"event\")\n .function(\"function\")\n\n // the properties below are optional\n .filter(NotificationFilterProperty.builder()\n .s3Key(S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build())\n .build())\n .build();",
4120 "version": "1"
4121 },
4122 "go": {
4123 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nlambdaConfigurationProperty := &lambdaConfigurationProperty{\n\tevent: jsii.String(\"event\"),\n\tfunction: jsii.String(\"function\"),\n\n\t// the properties below are optional\n\tfilter: &notificationFilterProperty{\n\t\ts3Key: &s3KeyFilterProperty{\n\t\t\trules: []interface{}{\n\t\t\t\t&filterRuleProperty{\n\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n}",
4124 "version": "1"
4125 },
4126 "$": {
4127 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst lambdaConfigurationProperty: s3.CfnBucket.LambdaConfigurationProperty = {\n event: 'event',\n function: 'function',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n};",
4128 "version": "0"
4129 }
4130 },
4131 "location": {
4132 "api": {
4133 "api": "type",
4134 "fqn": "@aws-cdk/aws-s3.CfnBucket.LambdaConfigurationProperty"
4135 },
4136 "field": {
4137 "field": "example"
4138 }
4139 },
4140 "didCompile": true,
4141 "fqnsReferenced": [
4142 "@aws-cdk/aws-s3.CfnBucket.LambdaConfigurationProperty"
4143 ],
4144 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lambdaConfigurationProperty: s3.CfnBucket.LambdaConfigurationProperty = {\n event: 'event',\n function: 'function',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4145 "syntaxKindCounter": {
4146 "10": 5,
4147 "75": 12,
4148 "153": 2,
4149 "169": 1,
4150 "192": 1,
4151 "193": 4,
4152 "225": 1,
4153 "242": 1,
4154 "243": 1,
4155 "254": 1,
4156 "255": 1,
4157 "256": 1,
4158 "281": 7,
4159 "290": 1
4160 },
4161 "fqnsFingerprint": "c77307513550869c8d3a24f80c221bc54651515ed32a7217de9aa0ed1b94b49c"
4162 },
4163 "a7666a9b64fb5b815d201ce30fab0238527f484a328aa41b6da8e978d5a7c92e": {
4164 "translations": {
4165 "python": {
4166 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nlifecycle_configuration_property = s3.CfnBucket.LifecycleConfigurationProperty(\n rules=[s3.CfnBucket.RuleProperty(\n status=\"status\",\n\n # the properties below are optional\n abort_incomplete_multipart_upload=s3.CfnBucket.AbortIncompleteMultipartUploadProperty(\n days_after_initiation=123\n ),\n expiration_date=Date(),\n expiration_in_days=123,\n expired_object_delete_marker=False,\n id=\"id\",\n noncurrent_version_expiration=s3.CfnBucket.NoncurrentVersionExpirationProperty(\n noncurrent_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n ),\n noncurrent_version_expiration_in_days=123,\n noncurrent_version_transition=s3.CfnBucket.NoncurrentVersionTransitionProperty(\n storage_class=\"storageClass\",\n transition_in_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n ),\n noncurrent_version_transitions=[s3.CfnBucket.NoncurrentVersionTransitionProperty(\n storage_class=\"storageClass\",\n transition_in_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n )],\n object_size_greater_than=123,\n object_size_less_than=123,\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )],\n transition=s3.CfnBucket.TransitionProperty(\n storage_class=\"storageClass\",\n\n # the properties below are optional\n transition_date=Date(),\n transition_in_days=123\n ),\n transitions=[s3.CfnBucket.TransitionProperty(\n storage_class=\"storageClass\",\n\n # the properties below are optional\n transition_date=Date(),\n transition_in_days=123\n )]\n )]\n)",
4167 "version": "2"
4168 },
4169 "csharp": {
4170 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nLifecycleConfigurationProperty lifecycleConfigurationProperty = new LifecycleConfigurationProperty {\n Rules = new [] { new RuleProperty {\n Status = \"status\",\n\n // the properties below are optional\n AbortIncompleteMultipartUpload = new AbortIncompleteMultipartUploadProperty {\n DaysAfterInitiation = 123\n },\n ExpirationDate = new Date(),\n ExpirationInDays = 123,\n ExpiredObjectDeleteMarker = false,\n Id = \"id\",\n NoncurrentVersionExpiration = new NoncurrentVersionExpirationProperty {\n NoncurrentDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n },\n NoncurrentVersionExpirationInDays = 123,\n NoncurrentVersionTransition = new NoncurrentVersionTransitionProperty {\n StorageClass = \"storageClass\",\n TransitionInDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n },\n NoncurrentVersionTransitions = new [] { new NoncurrentVersionTransitionProperty {\n StorageClass = \"storageClass\",\n TransitionInDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n } },\n ObjectSizeGreaterThan = 123,\n ObjectSizeLessThan = 123,\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } },\n Transition = new TransitionProperty {\n StorageClass = \"storageClass\",\n\n // the properties below are optional\n TransitionDate = new Date(),\n TransitionInDays = 123\n },\n Transitions = new [] { new TransitionProperty {\n StorageClass = \"storageClass\",\n\n // the properties below are optional\n TransitionDate = new Date(),\n TransitionInDays = 123\n } }\n } }\n};",
4171 "version": "1"
4172 },
4173 "java": {
4174 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nLifecycleConfigurationProperty lifecycleConfigurationProperty = LifecycleConfigurationProperty.builder()\n .rules(List.of(RuleProperty.builder()\n .status(\"status\")\n\n // the properties below are optional\n .abortIncompleteMultipartUpload(AbortIncompleteMultipartUploadProperty.builder()\n .daysAfterInitiation(123)\n .build())\n .expirationDate(new Date())\n .expirationInDays(123)\n .expiredObjectDeleteMarker(false)\n .id(\"id\")\n .noncurrentVersionExpiration(NoncurrentVersionExpirationProperty.builder()\n .noncurrentDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build())\n .noncurrentVersionExpirationInDays(123)\n .noncurrentVersionTransition(NoncurrentVersionTransitionProperty.builder()\n .storageClass(\"storageClass\")\n .transitionInDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build())\n .noncurrentVersionTransitions(List.of(NoncurrentVersionTransitionProperty.builder()\n .storageClass(\"storageClass\")\n .transitionInDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build()))\n .objectSizeGreaterThan(123)\n .objectSizeLessThan(123)\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .transition(TransitionProperty.builder()\n .storageClass(\"storageClass\")\n\n // the properties below are optional\n .transitionDate(new Date())\n .transitionInDays(123)\n .build())\n .transitions(List.of(TransitionProperty.builder()\n .storageClass(\"storageClass\")\n\n // the properties below are optional\n .transitionDate(new Date())\n .transitionInDays(123)\n .build()))\n .build()))\n .build();",
4175 "version": "1"
4176 },
4177 "go": {
4178 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nlifecycleConfigurationProperty := &lifecycleConfigurationProperty{\n\trules: []interface{}{\n\t\t&ruleProperty{\n\t\t\tstatus: jsii.String(\"status\"),\n\n\t\t\t// the properties below are optional\n\t\t\tabortIncompleteMultipartUpload: &abortIncompleteMultipartUploadProperty{\n\t\t\t\tdaysAfterInitiation: jsii.Number(123),\n\t\t\t},\n\t\t\texpirationDate: NewDate(),\n\t\t\texpirationInDays: jsii.Number(123),\n\t\t\texpiredObjectDeleteMarker: jsii.Boolean(false),\n\t\t\tid: jsii.String(\"id\"),\n\t\t\tnoncurrentVersionExpiration: &noncurrentVersionExpirationProperty{\n\t\t\t\tnoncurrentDays: jsii.Number(123),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tnewerNoncurrentVersions: jsii.Number(123),\n\t\t\t},\n\t\t\tnoncurrentVersionExpirationInDays: jsii.Number(123),\n\t\t\tnoncurrentVersionTransition: &noncurrentVersionTransitionProperty{\n\t\t\t\tstorageClass: jsii.String(\"storageClass\"),\n\t\t\t\ttransitionInDays: jsii.Number(123),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tnewerNoncurrentVersions: jsii.Number(123),\n\t\t\t},\n\t\t\tnoncurrentVersionTransitions: []interface{}{\n\t\t\t\t&noncurrentVersionTransitionProperty{\n\t\t\t\t\tstorageClass: jsii.String(\"storageClass\"),\n\t\t\t\t\ttransitionInDays: jsii.Number(123),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tnewerNoncurrentVersions: jsii.Number(123),\n\t\t\t\t},\n\t\t\t},\n\t\t\tobjectSizeGreaterThan: jsii.Number(123),\n\t\t\tobjectSizeLessThan: jsii.Number(123),\n\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\ttagFilters: []interface{}{\n\t\t\t\t&tagFilterProperty{\n\t\t\t\t\tkey: jsii.String(\"key\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\ttransition: &transitionProperty{\n\t\t\t\tstorageClass: jsii.String(\"storageClass\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\ttransitionDate: NewDate(),\n\t\t\t\ttransitionInDays: jsii.Number(123),\n\t\t\t},\n\t\t\ttransitions: []interface{}{\n\t\t\t\t&transitionProperty{\n\t\t\t\t\tstorageClass: jsii.String(\"storageClass\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\ttransitionDate: NewDate(),\n\t\t\t\t\ttransitionInDays: jsii.Number(123),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n}",
4179 "version": "1"
4180 },
4181 "$": {
4182 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst lifecycleConfigurationProperty: s3.CfnBucket.LifecycleConfigurationProperty = {\n rules: [{\n status: 'status',\n\n // the properties below are optional\n abortIncompleteMultipartUpload: {\n daysAfterInitiation: 123,\n },\n expirationDate: new Date(),\n expirationInDays: 123,\n expiredObjectDeleteMarker: false,\n id: 'id',\n noncurrentVersionExpiration: {\n noncurrentDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionExpirationInDays: 123,\n noncurrentVersionTransition: {\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionTransitions: [{\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n }],\n objectSizeGreaterThan: 123,\n objectSizeLessThan: 123,\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n transition: {\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n },\n transitions: [{\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n }],\n }],\n};",
4183 "version": "0"
4184 }
4185 },
4186 "location": {
4187 "api": {
4188 "api": "type",
4189 "fqn": "@aws-cdk/aws-s3.CfnBucket.LifecycleConfigurationProperty"
4190 },
4191 "field": {
4192 "field": "example"
4193 }
4194 },
4195 "didCompile": true,
4196 "fqnsReferenced": [
4197 "@aws-cdk/aws-s3.CfnBucket.LifecycleConfigurationProperty"
4198 ],
4199 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lifecycleConfigurationProperty: s3.CfnBucket.LifecycleConfigurationProperty = {\n rules: [{\n status: 'status',\n\n // the properties below are optional\n abortIncompleteMultipartUpload: {\n daysAfterInitiation: 123,\n },\n expirationDate: new Date(),\n expirationInDays: 123,\n expiredObjectDeleteMarker: false,\n id: 'id',\n noncurrentVersionExpiration: {\n noncurrentDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionExpirationInDays: 123,\n noncurrentVersionTransition: {\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionTransitions: [{\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n }],\n objectSizeGreaterThan: 123,\n objectSizeLessThan: 123,\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n transition: {\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n },\n transitions: [{\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n }],\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4200 "syntaxKindCounter": {
4201 "8": 13,
4202 "10": 10,
4203 "75": 42,
4204 "91": 1,
4205 "153": 2,
4206 "169": 1,
4207 "192": 4,
4208 "193": 9,
4209 "197": 3,
4210 "225": 1,
4211 "242": 1,
4212 "243": 1,
4213 "254": 1,
4214 "255": 1,
4215 "256": 1,
4216 "281": 34,
4217 "290": 1
4218 },
4219 "fqnsFingerprint": "b732f324d8fb2c9e7544a8a76110abdb93da5e5eb644fb6593abcabb8754190b"
4220 },
4221 "19ffecb1b9c62e9be11aa6f908c00928643a9962ebf2039669807ff6901c05d9": {
4222 "translations": {
4223 "python": {
4224 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nlogging_configuration_property = s3.CfnBucket.LoggingConfigurationProperty(\n destination_bucket_name=\"destinationBucketName\",\n log_file_prefix=\"logFilePrefix\"\n)",
4225 "version": "2"
4226 },
4227 "csharp": {
4228 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nLoggingConfigurationProperty loggingConfigurationProperty = new LoggingConfigurationProperty {\n DestinationBucketName = \"destinationBucketName\",\n LogFilePrefix = \"logFilePrefix\"\n};",
4229 "version": "1"
4230 },
4231 "java": {
4232 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nLoggingConfigurationProperty loggingConfigurationProperty = LoggingConfigurationProperty.builder()\n .destinationBucketName(\"destinationBucketName\")\n .logFilePrefix(\"logFilePrefix\")\n .build();",
4233 "version": "1"
4234 },
4235 "go": {
4236 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nloggingConfigurationProperty := &loggingConfigurationProperty{\n\tdestinationBucketName: jsii.String(\"destinationBucketName\"),\n\tlogFilePrefix: jsii.String(\"logFilePrefix\"),\n}",
4237 "version": "1"
4238 },
4239 "$": {
4240 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst loggingConfigurationProperty: s3.CfnBucket.LoggingConfigurationProperty = {\n destinationBucketName: 'destinationBucketName',\n logFilePrefix: 'logFilePrefix',\n};",
4241 "version": "0"
4242 }
4243 },
4244 "location": {
4245 "api": {
4246 "api": "type",
4247 "fqn": "@aws-cdk/aws-s3.CfnBucket.LoggingConfigurationProperty"
4248 },
4249 "field": {
4250 "field": "example"
4251 }
4252 },
4253 "didCompile": true,
4254 "fqnsReferenced": [
4255 "@aws-cdk/aws-s3.CfnBucket.LoggingConfigurationProperty"
4256 ],
4257 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst loggingConfigurationProperty: s3.CfnBucket.LoggingConfigurationProperty = {\n destinationBucketName: 'destinationBucketName',\n logFilePrefix: 'logFilePrefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4258 "syntaxKindCounter": {
4259 "10": 3,
4260 "75": 7,
4261 "153": 2,
4262 "169": 1,
4263 "193": 1,
4264 "225": 1,
4265 "242": 1,
4266 "243": 1,
4267 "254": 1,
4268 "255": 1,
4269 "256": 1,
4270 "281": 2,
4271 "290": 1
4272 },
4273 "fqnsFingerprint": "7ade70989ff53ab24ea20958a22820f7ff0aec559899daac7a8cbf7fc4f2ab23"
4274 },
4275 "85ee74d883acae1f043304e3d38c806558e63713ceae5a0b0a4b5c4e15d241e7": {
4276 "translations": {
4277 "python": {
4278 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nmetrics_configuration_property = s3.CfnBucket.MetricsConfigurationProperty(\n id=\"id\",\n\n # the properties below are optional\n access_point_arn=\"accessPointArn\",\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )]\n)",
4279 "version": "2"
4280 },
4281 "csharp": {
4282 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nMetricsConfigurationProperty metricsConfigurationProperty = new MetricsConfigurationProperty {\n Id = \"id\",\n\n // the properties below are optional\n AccessPointArn = \"accessPointArn\",\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n};",
4283 "version": "1"
4284 },
4285 "java": {
4286 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nMetricsConfigurationProperty metricsConfigurationProperty = MetricsConfigurationProperty.builder()\n .id(\"id\")\n\n // the properties below are optional\n .accessPointArn(\"accessPointArn\")\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
4287 "version": "1"
4288 },
4289 "go": {
4290 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nmetricsConfigurationProperty := &metricsConfigurationProperty{\n\tid: jsii.String(\"id\"),\n\n\t// the properties below are optional\n\taccessPointArn: jsii.String(\"accessPointArn\"),\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilters: []interface{}{\n\t\t&tagFilterProperty{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
4291 "version": "1"
4292 },
4293 "$": {
4294 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst metricsConfigurationProperty: s3.CfnBucket.MetricsConfigurationProperty = {\n id: 'id',\n\n // the properties below are optional\n accessPointArn: 'accessPointArn',\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};",
4295 "version": "0"
4296 }
4297 },
4298 "location": {
4299 "api": {
4300 "api": "type",
4301 "fqn": "@aws-cdk/aws-s3.CfnBucket.MetricsConfigurationProperty"
4302 },
4303 "field": {
4304 "field": "example"
4305 }
4306 },
4307 "didCompile": true,
4308 "fqnsReferenced": [
4309 "@aws-cdk/aws-s3.CfnBucket.MetricsConfigurationProperty"
4310 ],
4311 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst metricsConfigurationProperty: s3.CfnBucket.MetricsConfigurationProperty = {\n id: 'id',\n\n // the properties below are optional\n accessPointArn: 'accessPointArn',\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4312 "syntaxKindCounter": {
4313 "10": 6,
4314 "75": 11,
4315 "153": 2,
4316 "169": 1,
4317 "192": 1,
4318 "193": 2,
4319 "225": 1,
4320 "242": 1,
4321 "243": 1,
4322 "254": 1,
4323 "255": 1,
4324 "256": 1,
4325 "281": 6,
4326 "290": 1
4327 },
4328 "fqnsFingerprint": "2a9e9844c076eb96f0eb7d08fb51f280f01fea7ab57b4986cb75fcdc90bd272e"
4329 },
4330 "61d16501084d933b61787b21c357ec58966886c798db915b87289faf7974b17f": {
4331 "translations": {
4332 "python": {
4333 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nmetrics_property = s3.CfnBucket.MetricsProperty(\n status=\"status\",\n\n # the properties below are optional\n event_threshold=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n)",
4334 "version": "2"
4335 },
4336 "csharp": {
4337 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nMetricsProperty metricsProperty = new MetricsProperty {\n Status = \"status\",\n\n // the properties below are optional\n EventThreshold = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n};",
4338 "version": "1"
4339 },
4340 "java": {
4341 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nMetricsProperty metricsProperty = MetricsProperty.builder()\n .status(\"status\")\n\n // the properties below are optional\n .eventThreshold(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build();",
4342 "version": "1"
4343 },
4344 "go": {
4345 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nmetricsProperty := &metricsProperty{\n\tstatus: jsii.String(\"status\"),\n\n\t// the properties below are optional\n\teventThreshold: &replicationTimeValueProperty{\n\t\tminutes: jsii.Number(123),\n\t},\n}",
4346 "version": "1"
4347 },
4348 "$": {
4349 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst metricsProperty: s3.CfnBucket.MetricsProperty = {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n};",
4350 "version": "0"
4351 }
4352 },
4353 "location": {
4354 "api": {
4355 "api": "type",
4356 "fqn": "@aws-cdk/aws-s3.CfnBucket.MetricsProperty"
4357 },
4358 "field": {
4359 "field": "example"
4360 }
4361 },
4362 "didCompile": true,
4363 "fqnsReferenced": [
4364 "@aws-cdk/aws-s3.CfnBucket.MetricsProperty"
4365 ],
4366 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst metricsProperty: s3.CfnBucket.MetricsProperty = {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4367 "syntaxKindCounter": {
4368 "8": 1,
4369 "10": 2,
4370 "75": 8,
4371 "153": 2,
4372 "169": 1,
4373 "193": 2,
4374 "225": 1,
4375 "242": 1,
4376 "243": 1,
4377 "254": 1,
4378 "255": 1,
4379 "256": 1,
4380 "281": 3,
4381 "290": 1
4382 },
4383 "fqnsFingerprint": "3ab9fe16748d7c103f2c68a31020dddd32b538e72f87df66fadd31201648c173"
4384 },
4385 "ccd2bdc91abdd43211d86d35bf346dae5b2b57addd282e0ac1b6b91a4899cb22": {
4386 "translations": {
4387 "python": {
4388 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nnoncurrent_version_expiration_property = s3.CfnBucket.NoncurrentVersionExpirationProperty(\n noncurrent_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n)",
4389 "version": "2"
4390 },
4391 "csharp": {
4392 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nNoncurrentVersionExpirationProperty noncurrentVersionExpirationProperty = new NoncurrentVersionExpirationProperty {\n NoncurrentDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n};",
4393 "version": "1"
4394 },
4395 "java": {
4396 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nNoncurrentVersionExpirationProperty noncurrentVersionExpirationProperty = NoncurrentVersionExpirationProperty.builder()\n .noncurrentDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build();",
4397 "version": "1"
4398 },
4399 "go": {
4400 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nnoncurrentVersionExpirationProperty := &noncurrentVersionExpirationProperty{\n\tnoncurrentDays: jsii.Number(123),\n\n\t// the properties below are optional\n\tnewerNoncurrentVersions: jsii.Number(123),\n}",
4401 "version": "1"
4402 },
4403 "$": {
4404 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst noncurrentVersionExpirationProperty: s3.CfnBucket.NoncurrentVersionExpirationProperty = {\n noncurrentDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n};",
4405 "version": "0"
4406 }
4407 },
4408 "location": {
4409 "api": {
4410 "api": "type",
4411 "fqn": "@aws-cdk/aws-s3.CfnBucket.NoncurrentVersionExpirationProperty"
4412 },
4413 "field": {
4414 "field": "example"
4415 }
4416 },
4417 "didCompile": true,
4418 "fqnsReferenced": [
4419 "@aws-cdk/aws-s3.CfnBucket.NoncurrentVersionExpirationProperty"
4420 ],
4421 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst noncurrentVersionExpirationProperty: s3.CfnBucket.NoncurrentVersionExpirationProperty = {\n noncurrentDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4422 "syntaxKindCounter": {
4423 "8": 2,
4424 "10": 1,
4425 "75": 7,
4426 "153": 2,
4427 "169": 1,
4428 "193": 1,
4429 "225": 1,
4430 "242": 1,
4431 "243": 1,
4432 "254": 1,
4433 "255": 1,
4434 "256": 1,
4435 "281": 2,
4436 "290": 1
4437 },
4438 "fqnsFingerprint": "0cdaf0c54715a8fa96eb5e73bf95cf4bb9590608938dd4c4bb1d127de55d3591"
4439 },
4440 "f474b14752fa35cf6479a1b5cfc97b601531cbc38061e19098d6d7080365fc14": {
4441 "translations": {
4442 "python": {
4443 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nnoncurrent_version_transition_property = s3.CfnBucket.NoncurrentVersionTransitionProperty(\n storage_class=\"storageClass\",\n transition_in_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n)",
4444 "version": "2"
4445 },
4446 "csharp": {
4447 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nNoncurrentVersionTransitionProperty noncurrentVersionTransitionProperty = new NoncurrentVersionTransitionProperty {\n StorageClass = \"storageClass\",\n TransitionInDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n};",
4448 "version": "1"
4449 },
4450 "java": {
4451 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nNoncurrentVersionTransitionProperty noncurrentVersionTransitionProperty = NoncurrentVersionTransitionProperty.builder()\n .storageClass(\"storageClass\")\n .transitionInDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build();",
4452 "version": "1"
4453 },
4454 "go": {
4455 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nnoncurrentVersionTransitionProperty := &noncurrentVersionTransitionProperty{\n\tstorageClass: jsii.String(\"storageClass\"),\n\ttransitionInDays: jsii.Number(123),\n\n\t// the properties below are optional\n\tnewerNoncurrentVersions: jsii.Number(123),\n}",
4456 "version": "1"
4457 },
4458 "$": {
4459 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst noncurrentVersionTransitionProperty: s3.CfnBucket.NoncurrentVersionTransitionProperty = {\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n};",
4460 "version": "0"
4461 }
4462 },
4463 "location": {
4464 "api": {
4465 "api": "type",
4466 "fqn": "@aws-cdk/aws-s3.CfnBucket.NoncurrentVersionTransitionProperty"
4467 },
4468 "field": {
4469 "field": "example"
4470 }
4471 },
4472 "didCompile": true,
4473 "fqnsReferenced": [
4474 "@aws-cdk/aws-s3.CfnBucket.NoncurrentVersionTransitionProperty"
4475 ],
4476 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst noncurrentVersionTransitionProperty: s3.CfnBucket.NoncurrentVersionTransitionProperty = {\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4477 "syntaxKindCounter": {
4478 "8": 2,
4479 "10": 2,
4480 "75": 8,
4481 "153": 2,
4482 "169": 1,
4483 "193": 1,
4484 "225": 1,
4485 "242": 1,
4486 "243": 1,
4487 "254": 1,
4488 "255": 1,
4489 "256": 1,
4490 "281": 3,
4491 "290": 1
4492 },
4493 "fqnsFingerprint": "b2629351116fd6401060410aac54f90e9364486cc2fde9a2f4d7cd6e910dd406"
4494 },
4495 "2818a2d810e3f47a88f1080a8d73c5ff108f635c18b78cb51f6ee8f7a874828d": {
4496 "translations": {
4497 "python": {
4498 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nnotification_configuration_property = s3.CfnBucket.NotificationConfigurationProperty(\n event_bridge_configuration=s3.CfnBucket.EventBridgeConfigurationProperty(\n event_bridge_enabled=False\n ),\n lambda_configurations=[s3.CfnBucket.LambdaConfigurationProperty(\n event=\"event\",\n function=\"function\",\n\n # the properties below are optional\n filter=s3.CfnBucket.NotificationFilterProperty(\n s3_key=s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n )\n )\n )],\n queue_configurations=[s3.CfnBucket.QueueConfigurationProperty(\n event=\"event\",\n queue=\"queue\",\n\n # the properties below are optional\n filter=s3.CfnBucket.NotificationFilterProperty(\n s3_key=s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n )\n )\n )],\n topic_configurations=[s3.CfnBucket.TopicConfigurationProperty(\n event=\"event\",\n topic=\"topic\",\n\n # the properties below are optional\n filter=s3.CfnBucket.NotificationFilterProperty(\n s3_key=s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n )\n )\n )]\n)",
4499 "version": "2"
4500 },
4501 "csharp": {
4502 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nNotificationConfigurationProperty notificationConfigurationProperty = new NotificationConfigurationProperty {\n EventBridgeConfiguration = new EventBridgeConfigurationProperty {\n EventBridgeEnabled = false\n },\n LambdaConfigurations = new [] { new LambdaConfigurationProperty {\n Event = \"event\",\n Function = \"function\",\n\n // the properties below are optional\n Filter = new NotificationFilterProperty {\n S3Key = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n }\n }\n } },\n QueueConfigurations = new [] { new QueueConfigurationProperty {\n Event = \"event\",\n Queue = \"queue\",\n\n // the properties below are optional\n Filter = new NotificationFilterProperty {\n S3Key = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n }\n }\n } },\n TopicConfigurations = new [] { new TopicConfigurationProperty {\n Event = \"event\",\n Topic = \"topic\",\n\n // the properties below are optional\n Filter = new NotificationFilterProperty {\n S3Key = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n }\n }\n } }\n};",
4503 "version": "1"
4504 },
4505 "java": {
4506 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nNotificationConfigurationProperty notificationConfigurationProperty = NotificationConfigurationProperty.builder()\n .eventBridgeConfiguration(EventBridgeConfigurationProperty.builder()\n .eventBridgeEnabled(false)\n .build())\n .lambdaConfigurations(List.of(LambdaConfigurationProperty.builder()\n .event(\"event\")\n .function(\"function\")\n\n // the properties below are optional\n .filter(NotificationFilterProperty.builder()\n .s3Key(S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build())\n .build())\n .build()))\n .queueConfigurations(List.of(QueueConfigurationProperty.builder()\n .event(\"event\")\n .queue(\"queue\")\n\n // the properties below are optional\n .filter(NotificationFilterProperty.builder()\n .s3Key(S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build())\n .build())\n .build()))\n .topicConfigurations(List.of(TopicConfigurationProperty.builder()\n .event(\"event\")\n .topic(\"topic\")\n\n // the properties below are optional\n .filter(NotificationFilterProperty.builder()\n .s3Key(S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build())\n .build())\n .build()))\n .build();",
4507 "version": "1"
4508 },
4509 "go": {
4510 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nnotificationConfigurationProperty := &notificationConfigurationProperty{\n\teventBridgeConfiguration: &eventBridgeConfigurationProperty{\n\t\teventBridgeEnabled: jsii.Boolean(false),\n\t},\n\tlambdaConfigurations: []interface{}{\n\t\t&lambdaConfigurationProperty{\n\t\t\tevent: jsii.String(\"event\"),\n\t\t\tfunction: jsii.String(\"function\"),\n\n\t\t\t// the properties below are optional\n\t\t\tfilter: &notificationFilterProperty{\n\t\t\t\ts3Key: &s3KeyFilterProperty{\n\t\t\t\t\trules: []interface{}{\n\t\t\t\t\t\t&filterRuleProperty{\n\t\t\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tqueueConfigurations: []interface{}{\n\t\t&queueConfigurationProperty{\n\t\t\tevent: jsii.String(\"event\"),\n\t\t\tqueue: jsii.String(\"queue\"),\n\n\t\t\t// the properties below are optional\n\t\t\tfilter: &notificationFilterProperty{\n\t\t\t\ts3Key: &s3KeyFilterProperty{\n\t\t\t\t\trules: []interface{}{\n\t\t\t\t\t\t&filterRuleProperty{\n\t\t\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\ttopicConfigurations: []interface{}{\n\t\t&topicConfigurationProperty{\n\t\t\tevent: jsii.String(\"event\"),\n\t\t\ttopic: jsii.String(\"topic\"),\n\n\t\t\t// the properties below are optional\n\t\t\tfilter: &notificationFilterProperty{\n\t\t\t\ts3Key: &s3KeyFilterProperty{\n\t\t\t\t\trules: []interface{}{\n\t\t\t\t\t\t&filterRuleProperty{\n\t\t\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n}",
4511 "version": "1"
4512 },
4513 "$": {
4514 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst notificationConfigurationProperty: s3.CfnBucket.NotificationConfigurationProperty = {\n eventBridgeConfiguration: {\n eventBridgeEnabled: false,\n },\n lambdaConfigurations: [{\n event: 'event',\n function: 'function',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n }],\n queueConfigurations: [{\n event: 'event',\n queue: 'queue',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n }],\n topicConfigurations: [{\n event: 'event',\n topic: 'topic',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n }],\n};",
4515 "version": "0"
4516 }
4517 },
4518 "location": {
4519 "api": {
4520 "api": "type",
4521 "fqn": "@aws-cdk/aws-s3.CfnBucket.NotificationConfigurationProperty"
4522 },
4523 "field": {
4524 "field": "example"
4525 }
4526 },
4527 "didCompile": true,
4528 "fqnsReferenced": [
4529 "@aws-cdk/aws-s3.CfnBucket.NotificationConfigurationProperty"
4530 ],
4531 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst notificationConfigurationProperty: s3.CfnBucket.NotificationConfigurationProperty = {\n eventBridgeConfiguration: {\n eventBridgeEnabled: false,\n },\n lambdaConfigurations: [{\n event: 'event',\n function: 'function',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n }],\n queueConfigurations: [{\n event: 'event',\n queue: 'queue',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n }],\n topicConfigurations: [{\n event: 'event',\n topic: 'topic',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4532 "syntaxKindCounter": {
4533 "10": 13,
4534 "75": 31,
4535 "91": 1,
4536 "153": 2,
4537 "169": 1,
4538 "192": 6,
4539 "193": 14,
4540 "225": 1,
4541 "242": 1,
4542 "243": 1,
4543 "254": 1,
4544 "255": 1,
4545 "256": 1,
4546 "281": 26,
4547 "290": 1
4548 },
4549 "fqnsFingerprint": "e4abac30104ef83565980f8b462713bb75143b15429419795f07c179515266d1"
4550 },
4551 "338788b645e96f1cb22796a5e520d8abc6cbf06a9a71d5cfa10556f27f8adf98": {
4552 "translations": {
4553 "python": {
4554 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nnotification_filter_property = s3.CfnBucket.NotificationFilterProperty(\n s3_key=s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n )\n)",
4555 "version": "2"
4556 },
4557 "csharp": {
4558 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nNotificationFilterProperty notificationFilterProperty = new NotificationFilterProperty {\n S3Key = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n }\n};",
4559 "version": "1"
4560 },
4561 "java": {
4562 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nNotificationFilterProperty notificationFilterProperty = NotificationFilterProperty.builder()\n .s3Key(S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build())\n .build();",
4563 "version": "1"
4564 },
4565 "go": {
4566 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nnotificationFilterProperty := &notificationFilterProperty{\n\ts3Key: &s3KeyFilterProperty{\n\t\trules: []interface{}{\n\t\t\t&filterRuleProperty{\n\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t},\n\t\t},\n\t},\n}",
4567 "version": "1"
4568 },
4569 "$": {
4570 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst notificationFilterProperty: s3.CfnBucket.NotificationFilterProperty = {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n};",
4571 "version": "0"
4572 }
4573 },
4574 "location": {
4575 "api": {
4576 "api": "type",
4577 "fqn": "@aws-cdk/aws-s3.CfnBucket.NotificationFilterProperty"
4578 },
4579 "field": {
4580 "field": "example"
4581 }
4582 },
4583 "didCompile": true,
4584 "fqnsReferenced": [
4585 "@aws-cdk/aws-s3.CfnBucket.NotificationFilterProperty"
4586 ],
4587 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst notificationFilterProperty: s3.CfnBucket.NotificationFilterProperty = {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4588 "syntaxKindCounter": {
4589 "10": 3,
4590 "75": 9,
4591 "153": 2,
4592 "169": 1,
4593 "192": 1,
4594 "193": 3,
4595 "225": 1,
4596 "242": 1,
4597 "243": 1,
4598 "254": 1,
4599 "255": 1,
4600 "256": 1,
4601 "281": 4,
4602 "290": 1
4603 },
4604 "fqnsFingerprint": "3bea4e580b9d1e00cab4091932cb34a0c104814e7ce32093cbad0276922c0d52"
4605 },
4606 "6f6cb6c2b827262473b07d7530b034f09944ba1e4ee8753710abd8ab4e78c075": {
4607 "translations": {
4608 "python": {
4609 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nobject_lock_configuration_property = s3.CfnBucket.ObjectLockConfigurationProperty(\n object_lock_enabled=\"objectLockEnabled\",\n rule=s3.CfnBucket.ObjectLockRuleProperty(\n default_retention=s3.CfnBucket.DefaultRetentionProperty(\n days=123,\n mode=\"mode\",\n years=123\n )\n )\n)",
4610 "version": "2"
4611 },
4612 "csharp": {
4613 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nObjectLockConfigurationProperty objectLockConfigurationProperty = new ObjectLockConfigurationProperty {\n ObjectLockEnabled = \"objectLockEnabled\",\n Rule = new ObjectLockRuleProperty {\n DefaultRetention = new DefaultRetentionProperty {\n Days = 123,\n Mode = \"mode\",\n Years = 123\n }\n }\n};",
4614 "version": "1"
4615 },
4616 "java": {
4617 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObjectLockConfigurationProperty objectLockConfigurationProperty = ObjectLockConfigurationProperty.builder()\n .objectLockEnabled(\"objectLockEnabled\")\n .rule(ObjectLockRuleProperty.builder()\n .defaultRetention(DefaultRetentionProperty.builder()\n .days(123)\n .mode(\"mode\")\n .years(123)\n .build())\n .build())\n .build();",
4618 "version": "1"
4619 },
4620 "go": {
4621 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nobjectLockConfigurationProperty := &objectLockConfigurationProperty{\n\tobjectLockEnabled: jsii.String(\"objectLockEnabled\"),\n\trule: &objectLockRuleProperty{\n\t\tdefaultRetention: &defaultRetentionProperty{\n\t\t\tdays: jsii.Number(123),\n\t\t\tmode: jsii.String(\"mode\"),\n\t\t\tyears: jsii.Number(123),\n\t\t},\n\t},\n}",
4622 "version": "1"
4623 },
4624 "$": {
4625 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst objectLockConfigurationProperty: s3.CfnBucket.ObjectLockConfigurationProperty = {\n objectLockEnabled: 'objectLockEnabled',\n rule: {\n defaultRetention: {\n days: 123,\n mode: 'mode',\n years: 123,\n },\n },\n};",
4626 "version": "0"
4627 }
4628 },
4629 "location": {
4630 "api": {
4631 "api": "type",
4632 "fqn": "@aws-cdk/aws-s3.CfnBucket.ObjectLockConfigurationProperty"
4633 },
4634 "field": {
4635 "field": "example"
4636 }
4637 },
4638 "didCompile": true,
4639 "fqnsReferenced": [
4640 "@aws-cdk/aws-s3.CfnBucket.ObjectLockConfigurationProperty"
4641 ],
4642 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst objectLockConfigurationProperty: s3.CfnBucket.ObjectLockConfigurationProperty = {\n objectLockEnabled: 'objectLockEnabled',\n rule: {\n defaultRetention: {\n days: 123,\n mode: 'mode',\n years: 123,\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4643 "syntaxKindCounter": {
4644 "8": 2,
4645 "10": 3,
4646 "75": 11,
4647 "153": 2,
4648 "169": 1,
4649 "193": 3,
4650 "225": 1,
4651 "242": 1,
4652 "243": 1,
4653 "254": 1,
4654 "255": 1,
4655 "256": 1,
4656 "281": 6,
4657 "290": 1
4658 },
4659 "fqnsFingerprint": "a35cb5dec7cd24c026fedbacb91802dc6f2d56578ea389ab03714e3a22ac128b"
4660 },
4661 "0df5cbc76357a1b1933fb3764a3fb9ad772b904537933aaaba69e2c410cb481d": {
4662 "translations": {
4663 "python": {
4664 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nobject_lock_rule_property = s3.CfnBucket.ObjectLockRuleProperty(\n default_retention=s3.CfnBucket.DefaultRetentionProperty(\n days=123,\n mode=\"mode\",\n years=123\n )\n)",
4665 "version": "2"
4666 },
4667 "csharp": {
4668 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nObjectLockRuleProperty objectLockRuleProperty = new ObjectLockRuleProperty {\n DefaultRetention = new DefaultRetentionProperty {\n Days = 123,\n Mode = \"mode\",\n Years = 123\n }\n};",
4669 "version": "1"
4670 },
4671 "java": {
4672 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObjectLockRuleProperty objectLockRuleProperty = ObjectLockRuleProperty.builder()\n .defaultRetention(DefaultRetentionProperty.builder()\n .days(123)\n .mode(\"mode\")\n .years(123)\n .build())\n .build();",
4673 "version": "1"
4674 },
4675 "go": {
4676 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nobjectLockRuleProperty := &objectLockRuleProperty{\n\tdefaultRetention: &defaultRetentionProperty{\n\t\tdays: jsii.Number(123),\n\t\tmode: jsii.String(\"mode\"),\n\t\tyears: jsii.Number(123),\n\t},\n}",
4677 "version": "1"
4678 },
4679 "$": {
4680 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst objectLockRuleProperty: s3.CfnBucket.ObjectLockRuleProperty = {\n defaultRetention: {\n days: 123,\n mode: 'mode',\n years: 123,\n },\n};",
4681 "version": "0"
4682 }
4683 },
4684 "location": {
4685 "api": {
4686 "api": "type",
4687 "fqn": "@aws-cdk/aws-s3.CfnBucket.ObjectLockRuleProperty"
4688 },
4689 "field": {
4690 "field": "example"
4691 }
4692 },
4693 "didCompile": true,
4694 "fqnsReferenced": [
4695 "@aws-cdk/aws-s3.CfnBucket.ObjectLockRuleProperty"
4696 ],
4697 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst objectLockRuleProperty: s3.CfnBucket.ObjectLockRuleProperty = {\n defaultRetention: {\n days: 123,\n mode: 'mode',\n years: 123,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4698 "syntaxKindCounter": {
4699 "8": 2,
4700 "10": 2,
4701 "75": 9,
4702 "153": 2,
4703 "169": 1,
4704 "193": 2,
4705 "225": 1,
4706 "242": 1,
4707 "243": 1,
4708 "254": 1,
4709 "255": 1,
4710 "256": 1,
4711 "281": 4,
4712 "290": 1
4713 },
4714 "fqnsFingerprint": "52180db2748d3df6865f2c64531c41c360afee71083088c24100203d782def45"
4715 },
4716 "98f04467cdbd387753e03f5c470e96610e322e305bf8a0240ac820b0015f9d88": {
4717 "translations": {
4718 "python": {
4719 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nownership_controls_property = s3.CfnBucket.OwnershipControlsProperty(\n rules=[s3.CfnBucket.OwnershipControlsRuleProperty(\n object_ownership=\"objectOwnership\"\n )]\n)",
4720 "version": "2"
4721 },
4722 "csharp": {
4723 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nOwnershipControlsProperty ownershipControlsProperty = new OwnershipControlsProperty {\n Rules = new [] { new OwnershipControlsRuleProperty {\n ObjectOwnership = \"objectOwnership\"\n } }\n};",
4724 "version": "1"
4725 },
4726 "java": {
4727 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nOwnershipControlsProperty ownershipControlsProperty = OwnershipControlsProperty.builder()\n .rules(List.of(OwnershipControlsRuleProperty.builder()\n .objectOwnership(\"objectOwnership\")\n .build()))\n .build();",
4728 "version": "1"
4729 },
4730 "go": {
4731 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nownershipControlsProperty := &ownershipControlsProperty{\n\trules: []interface{}{\n\t\t&ownershipControlsRuleProperty{\n\t\t\tobjectOwnership: jsii.String(\"objectOwnership\"),\n\t\t},\n\t},\n}",
4732 "version": "1"
4733 },
4734 "$": {
4735 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst ownershipControlsProperty: s3.CfnBucket.OwnershipControlsProperty = {\n rules: [{\n objectOwnership: 'objectOwnership',\n }],\n};",
4736 "version": "0"
4737 }
4738 },
4739 "location": {
4740 "api": {
4741 "api": "type",
4742 "fqn": "@aws-cdk/aws-s3.CfnBucket.OwnershipControlsProperty"
4743 },
4744 "field": {
4745 "field": "example"
4746 }
4747 },
4748 "didCompile": true,
4749 "fqnsReferenced": [
4750 "@aws-cdk/aws-s3.CfnBucket.OwnershipControlsProperty"
4751 ],
4752 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst ownershipControlsProperty: s3.CfnBucket.OwnershipControlsProperty = {\n rules: [{\n objectOwnership: 'objectOwnership',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4753 "syntaxKindCounter": {
4754 "10": 2,
4755 "75": 7,
4756 "153": 2,
4757 "169": 1,
4758 "192": 1,
4759 "193": 2,
4760 "225": 1,
4761 "242": 1,
4762 "243": 1,
4763 "254": 1,
4764 "255": 1,
4765 "256": 1,
4766 "281": 2,
4767 "290": 1
4768 },
4769 "fqnsFingerprint": "afd7ae53ea7a01b60634ddf99f1c7008e53d2cef7a65f2ed01726d4a875a38b6"
4770 },
4771 "9d0eb52d5f51a2548e8284dec3cff95798d383365933e7894d931a54c8900a9d": {
4772 "translations": {
4773 "python": {
4774 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nownership_controls_rule_property = s3.CfnBucket.OwnershipControlsRuleProperty(\n object_ownership=\"objectOwnership\"\n)",
4775 "version": "2"
4776 },
4777 "csharp": {
4778 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nOwnershipControlsRuleProperty ownershipControlsRuleProperty = new OwnershipControlsRuleProperty {\n ObjectOwnership = \"objectOwnership\"\n};",
4779 "version": "1"
4780 },
4781 "java": {
4782 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nOwnershipControlsRuleProperty ownershipControlsRuleProperty = OwnershipControlsRuleProperty.builder()\n .objectOwnership(\"objectOwnership\")\n .build();",
4783 "version": "1"
4784 },
4785 "go": {
4786 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nownershipControlsRuleProperty := &ownershipControlsRuleProperty{\n\tobjectOwnership: jsii.String(\"objectOwnership\"),\n}",
4787 "version": "1"
4788 },
4789 "$": {
4790 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst ownershipControlsRuleProperty: s3.CfnBucket.OwnershipControlsRuleProperty = {\n objectOwnership: 'objectOwnership',\n};",
4791 "version": "0"
4792 }
4793 },
4794 "location": {
4795 "api": {
4796 "api": "type",
4797 "fqn": "@aws-cdk/aws-s3.CfnBucket.OwnershipControlsRuleProperty"
4798 },
4799 "field": {
4800 "field": "example"
4801 }
4802 },
4803 "didCompile": true,
4804 "fqnsReferenced": [
4805 "@aws-cdk/aws-s3.CfnBucket.OwnershipControlsRuleProperty"
4806 ],
4807 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst ownershipControlsRuleProperty: s3.CfnBucket.OwnershipControlsRuleProperty = {\n objectOwnership: 'objectOwnership',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4808 "syntaxKindCounter": {
4809 "10": 2,
4810 "75": 6,
4811 "153": 2,
4812 "169": 1,
4813 "193": 1,
4814 "225": 1,
4815 "242": 1,
4816 "243": 1,
4817 "254": 1,
4818 "255": 1,
4819 "256": 1,
4820 "281": 1,
4821 "290": 1
4822 },
4823 "fqnsFingerprint": "e8f11243cce7dc2dc8ed45139caa55e4e318f1139d28a215ba8e3f03a809e351"
4824 },
4825 "47373a92331abe605d484de4cceb2427f25fde02ee8863de378d7da11db7fcfc": {
4826 "translations": {
4827 "python": {
4828 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\npublic_access_block_configuration_property = s3.CfnBucket.PublicAccessBlockConfigurationProperty(\n block_public_acls=False,\n block_public_policy=False,\n ignore_public_acls=False,\n restrict_public_buckets=False\n)",
4829 "version": "2"
4830 },
4831 "csharp": {
4832 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nPublicAccessBlockConfigurationProperty publicAccessBlockConfigurationProperty = new PublicAccessBlockConfigurationProperty {\n BlockPublicAcls = false,\n BlockPublicPolicy = false,\n IgnorePublicAcls = false,\n RestrictPublicBuckets = false\n};",
4833 "version": "1"
4834 },
4835 "java": {
4836 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nPublicAccessBlockConfigurationProperty publicAccessBlockConfigurationProperty = PublicAccessBlockConfigurationProperty.builder()\n .blockPublicAcls(false)\n .blockPublicPolicy(false)\n .ignorePublicAcls(false)\n .restrictPublicBuckets(false)\n .build();",
4837 "version": "1"
4838 },
4839 "go": {
4840 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\npublicAccessBlockConfigurationProperty := &publicAccessBlockConfigurationProperty{\n\tblockPublicAcls: jsii.Boolean(false),\n\tblockPublicPolicy: jsii.Boolean(false),\n\tignorePublicAcls: jsii.Boolean(false),\n\trestrictPublicBuckets: jsii.Boolean(false),\n}",
4841 "version": "1"
4842 },
4843 "$": {
4844 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst publicAccessBlockConfigurationProperty: s3.CfnBucket.PublicAccessBlockConfigurationProperty = {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n};",
4845 "version": "0"
4846 }
4847 },
4848 "location": {
4849 "api": {
4850 "api": "type",
4851 "fqn": "@aws-cdk/aws-s3.CfnBucket.PublicAccessBlockConfigurationProperty"
4852 },
4853 "field": {
4854 "field": "example"
4855 }
4856 },
4857 "didCompile": true,
4858 "fqnsReferenced": [
4859 "@aws-cdk/aws-s3.CfnBucket.PublicAccessBlockConfigurationProperty"
4860 ],
4861 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst publicAccessBlockConfigurationProperty: s3.CfnBucket.PublicAccessBlockConfigurationProperty = {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4862 "syntaxKindCounter": {
4863 "10": 1,
4864 "75": 9,
4865 "91": 4,
4866 "153": 2,
4867 "169": 1,
4868 "193": 1,
4869 "225": 1,
4870 "242": 1,
4871 "243": 1,
4872 "254": 1,
4873 "255": 1,
4874 "256": 1,
4875 "281": 4,
4876 "290": 1
4877 },
4878 "fqnsFingerprint": "fd1f04c585f356f9816c89d320e1748a3586d22f32ac09ffd33e642101d598d8"
4879 },
4880 "b60e5a12fec838ccc9829b181c9115b8a992c382de76e2d2f014885b6fc41ec1": {
4881 "translations": {
4882 "python": {
4883 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nqueue_configuration_property = s3.CfnBucket.QueueConfigurationProperty(\n event=\"event\",\n queue=\"queue\",\n\n # the properties below are optional\n filter=s3.CfnBucket.NotificationFilterProperty(\n s3_key=s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n )\n )\n)",
4884 "version": "2"
4885 },
4886 "csharp": {
4887 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nQueueConfigurationProperty queueConfigurationProperty = new QueueConfigurationProperty {\n Event = \"event\",\n Queue = \"queue\",\n\n // the properties below are optional\n Filter = new NotificationFilterProperty {\n S3Key = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n }\n }\n};",
4888 "version": "1"
4889 },
4890 "java": {
4891 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nQueueConfigurationProperty queueConfigurationProperty = QueueConfigurationProperty.builder()\n .event(\"event\")\n .queue(\"queue\")\n\n // the properties below are optional\n .filter(NotificationFilterProperty.builder()\n .s3Key(S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build())\n .build())\n .build();",
4892 "version": "1"
4893 },
4894 "go": {
4895 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nqueueConfigurationProperty := &queueConfigurationProperty{\n\tevent: jsii.String(\"event\"),\n\tqueue: jsii.String(\"queue\"),\n\n\t// the properties below are optional\n\tfilter: &notificationFilterProperty{\n\t\ts3Key: &s3KeyFilterProperty{\n\t\t\trules: []interface{}{\n\t\t\t\t&filterRuleProperty{\n\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n}",
4896 "version": "1"
4897 },
4898 "$": {
4899 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst queueConfigurationProperty: s3.CfnBucket.QueueConfigurationProperty = {\n event: 'event',\n queue: 'queue',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n};",
4900 "version": "0"
4901 }
4902 },
4903 "location": {
4904 "api": {
4905 "api": "type",
4906 "fqn": "@aws-cdk/aws-s3.CfnBucket.QueueConfigurationProperty"
4907 },
4908 "field": {
4909 "field": "example"
4910 }
4911 },
4912 "didCompile": true,
4913 "fqnsReferenced": [
4914 "@aws-cdk/aws-s3.CfnBucket.QueueConfigurationProperty"
4915 ],
4916 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst queueConfigurationProperty: s3.CfnBucket.QueueConfigurationProperty = {\n event: 'event',\n queue: 'queue',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4917 "syntaxKindCounter": {
4918 "10": 5,
4919 "75": 12,
4920 "153": 2,
4921 "169": 1,
4922 "192": 1,
4923 "193": 4,
4924 "225": 1,
4925 "242": 1,
4926 "243": 1,
4927 "254": 1,
4928 "255": 1,
4929 "256": 1,
4930 "281": 7,
4931 "290": 1
4932 },
4933 "fqnsFingerprint": "846d56831f81f41ee593c22c89e4c8af01dbdb42b4a58a6b0305463af36c1424"
4934 },
4935 "ba0e06c171b9e646a7fa4601ecbca5f8f20e30018a601778485f057bc9050af0": {
4936 "translations": {
4937 "python": {
4938 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nredirect_all_requests_to_property = s3.CfnBucket.RedirectAllRequestsToProperty(\n host_name=\"hostName\",\n\n # the properties below are optional\n protocol=\"protocol\"\n)",
4939 "version": "2"
4940 },
4941 "csharp": {
4942 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nRedirectAllRequestsToProperty redirectAllRequestsToProperty = new RedirectAllRequestsToProperty {\n HostName = \"hostName\",\n\n // the properties below are optional\n Protocol = \"protocol\"\n};",
4943 "version": "1"
4944 },
4945 "java": {
4946 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nRedirectAllRequestsToProperty redirectAllRequestsToProperty = RedirectAllRequestsToProperty.builder()\n .hostName(\"hostName\")\n\n // the properties below are optional\n .protocol(\"protocol\")\n .build();",
4947 "version": "1"
4948 },
4949 "go": {
4950 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nredirectAllRequestsToProperty := &redirectAllRequestsToProperty{\n\thostName: jsii.String(\"hostName\"),\n\n\t// the properties below are optional\n\tprotocol: jsii.String(\"protocol\"),\n}",
4951 "version": "1"
4952 },
4953 "$": {
4954 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst redirectAllRequestsToProperty: s3.CfnBucket.RedirectAllRequestsToProperty = {\n hostName: 'hostName',\n\n // the properties below are optional\n protocol: 'protocol',\n};",
4955 "version": "0"
4956 }
4957 },
4958 "location": {
4959 "api": {
4960 "api": "type",
4961 "fqn": "@aws-cdk/aws-s3.CfnBucket.RedirectAllRequestsToProperty"
4962 },
4963 "field": {
4964 "field": "example"
4965 }
4966 },
4967 "didCompile": true,
4968 "fqnsReferenced": [
4969 "@aws-cdk/aws-s3.CfnBucket.RedirectAllRequestsToProperty"
4970 ],
4971 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst redirectAllRequestsToProperty: s3.CfnBucket.RedirectAllRequestsToProperty = {\n hostName: 'hostName',\n\n // the properties below are optional\n protocol: 'protocol',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
4972 "syntaxKindCounter": {
4973 "10": 3,
4974 "75": 7,
4975 "153": 2,
4976 "169": 1,
4977 "193": 1,
4978 "225": 1,
4979 "242": 1,
4980 "243": 1,
4981 "254": 1,
4982 "255": 1,
4983 "256": 1,
4984 "281": 2,
4985 "290": 1
4986 },
4987 "fqnsFingerprint": "04d5f6c450bf7366445840d8d571e50913f05019203adf6b20ff8e02ad87d588"
4988 },
4989 "53894ce963193d754cea1567018287391ba134df3e920dc6458e74b99ad3f20b": {
4990 "translations": {
4991 "python": {
4992 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nredirect_rule_property = s3.CfnBucket.RedirectRuleProperty(\n host_name=\"hostName\",\n http_redirect_code=\"httpRedirectCode\",\n protocol=\"protocol\",\n replace_key_prefix_with=\"replaceKeyPrefixWith\",\n replace_key_with=\"replaceKeyWith\"\n)",
4993 "version": "2"
4994 },
4995 "csharp": {
4996 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nRedirectRuleProperty redirectRuleProperty = new RedirectRuleProperty {\n HostName = \"hostName\",\n HttpRedirectCode = \"httpRedirectCode\",\n Protocol = \"protocol\",\n ReplaceKeyPrefixWith = \"replaceKeyPrefixWith\",\n ReplaceKeyWith = \"replaceKeyWith\"\n};",
4997 "version": "1"
4998 },
4999 "java": {
5000 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nRedirectRuleProperty redirectRuleProperty = RedirectRuleProperty.builder()\n .hostName(\"hostName\")\n .httpRedirectCode(\"httpRedirectCode\")\n .protocol(\"protocol\")\n .replaceKeyPrefixWith(\"replaceKeyPrefixWith\")\n .replaceKeyWith(\"replaceKeyWith\")\n .build();",
5001 "version": "1"
5002 },
5003 "go": {
5004 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nredirectRuleProperty := &redirectRuleProperty{\n\thostName: jsii.String(\"hostName\"),\n\thttpRedirectCode: jsii.String(\"httpRedirectCode\"),\n\tprotocol: jsii.String(\"protocol\"),\n\treplaceKeyPrefixWith: jsii.String(\"replaceKeyPrefixWith\"),\n\treplaceKeyWith: jsii.String(\"replaceKeyWith\"),\n}",
5005 "version": "1"
5006 },
5007 "$": {
5008 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst redirectRuleProperty: s3.CfnBucket.RedirectRuleProperty = {\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: 'protocol',\n replaceKeyPrefixWith: 'replaceKeyPrefixWith',\n replaceKeyWith: 'replaceKeyWith',\n};",
5009 "version": "0"
5010 }
5011 },
5012 "location": {
5013 "api": {
5014 "api": "type",
5015 "fqn": "@aws-cdk/aws-s3.CfnBucket.RedirectRuleProperty"
5016 },
5017 "field": {
5018 "field": "example"
5019 }
5020 },
5021 "didCompile": true,
5022 "fqnsReferenced": [
5023 "@aws-cdk/aws-s3.CfnBucket.RedirectRuleProperty"
5024 ],
5025 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst redirectRuleProperty: s3.CfnBucket.RedirectRuleProperty = {\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: 'protocol',\n replaceKeyPrefixWith: 'replaceKeyPrefixWith',\n replaceKeyWith: 'replaceKeyWith',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5026 "syntaxKindCounter": {
5027 "10": 6,
5028 "75": 10,
5029 "153": 2,
5030 "169": 1,
5031 "193": 1,
5032 "225": 1,
5033 "242": 1,
5034 "243": 1,
5035 "254": 1,
5036 "255": 1,
5037 "256": 1,
5038 "281": 5,
5039 "290": 1
5040 },
5041 "fqnsFingerprint": "268a529c68e0b426e5bf4ed42a9dc5566911e33d98a8f480bae7176ae645c299"
5042 },
5043 "2866ba1d6380d092b0726b79b21880c0d4827bd64526ef9724c9a7aa529d30a5": {
5044 "translations": {
5045 "python": {
5046 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplica_modifications_property = s3.CfnBucket.ReplicaModificationsProperty(\n status=\"status\"\n)",
5047 "version": "2"
5048 },
5049 "csharp": {
5050 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicaModificationsProperty replicaModificationsProperty = new ReplicaModificationsProperty {\n Status = \"status\"\n};",
5051 "version": "1"
5052 },
5053 "java": {
5054 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicaModificationsProperty replicaModificationsProperty = ReplicaModificationsProperty.builder()\n .status(\"status\")\n .build();",
5055 "version": "1"
5056 },
5057 "go": {
5058 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicaModificationsProperty := &replicaModificationsProperty{\n\tstatus: jsii.String(\"status\"),\n}",
5059 "version": "1"
5060 },
5061 "$": {
5062 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicaModificationsProperty: s3.CfnBucket.ReplicaModificationsProperty = {\n status: 'status',\n};",
5063 "version": "0"
5064 }
5065 },
5066 "location": {
5067 "api": {
5068 "api": "type",
5069 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicaModificationsProperty"
5070 },
5071 "field": {
5072 "field": "example"
5073 }
5074 },
5075 "didCompile": true,
5076 "fqnsReferenced": [
5077 "@aws-cdk/aws-s3.CfnBucket.ReplicaModificationsProperty"
5078 ],
5079 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicaModificationsProperty: s3.CfnBucket.ReplicaModificationsProperty = {\n status: 'status',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5080 "syntaxKindCounter": {
5081 "10": 2,
5082 "75": 6,
5083 "153": 2,
5084 "169": 1,
5085 "193": 1,
5086 "225": 1,
5087 "242": 1,
5088 "243": 1,
5089 "254": 1,
5090 "255": 1,
5091 "256": 1,
5092 "281": 1,
5093 "290": 1
5094 },
5095 "fqnsFingerprint": "961cce8ec6eecc22880c8b714f67734da4618aa70032ec49169fa55dd0fd9cca"
5096 },
5097 "c4ed65f6555c1f95d737bdc183c0a82aeaf7293fbb86f521dcf1a74e6a20e997": {
5098 "translations": {
5099 "python": {
5100 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplication_configuration_property = s3.CfnBucket.ReplicationConfigurationProperty(\n role=\"role\",\n rules=[s3.CfnBucket.ReplicationRuleProperty(\n destination=s3.CfnBucket.ReplicationDestinationProperty(\n bucket=\"bucket\",\n\n # the properties below are optional\n access_control_translation=s3.CfnBucket.AccessControlTranslationProperty(\n owner=\"owner\"\n ),\n account=\"account\",\n encryption_configuration=s3.CfnBucket.EncryptionConfigurationProperty(\n replica_kms_key_id=\"replicaKmsKeyId\"\n ),\n metrics=s3.CfnBucket.MetricsProperty(\n status=\"status\",\n\n # the properties below are optional\n event_threshold=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n ),\n replication_time=s3.CfnBucket.ReplicationTimeProperty(\n status=\"status\",\n time=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n ),\n storage_class=\"storageClass\"\n ),\n status=\"status\",\n\n # the properties below are optional\n delete_marker_replication=s3.CfnBucket.DeleteMarkerReplicationProperty(\n status=\"status\"\n ),\n filter=s3.CfnBucket.ReplicationRuleFilterProperty(\n and=s3.CfnBucket.ReplicationRuleAndOperatorProperty(\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )]\n ),\n prefix=\"prefix\",\n tag_filter=s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )\n ),\n id=\"id\",\n prefix=\"prefix\",\n priority=123,\n source_selection_criteria=s3.CfnBucket.SourceSelectionCriteriaProperty(\n replica_modifications=s3.CfnBucket.ReplicaModificationsProperty(\n status=\"status\"\n ),\n sse_kms_encrypted_objects=s3.CfnBucket.SseKmsEncryptedObjectsProperty(\n status=\"status\"\n )\n )\n )]\n)",
5101 "version": "2"
5102 },
5103 "csharp": {
5104 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicationConfigurationProperty replicationConfigurationProperty = new ReplicationConfigurationProperty {\n Role = \"role\",\n Rules = new [] { new ReplicationRuleProperty {\n Destination = new ReplicationDestinationProperty {\n Bucket = \"bucket\",\n\n // the properties below are optional\n AccessControlTranslation = new AccessControlTranslationProperty {\n Owner = \"owner\"\n },\n Account = \"account\",\n EncryptionConfiguration = new EncryptionConfigurationProperty {\n ReplicaKmsKeyId = \"replicaKmsKeyId\"\n },\n Metrics = new MetricsProperty {\n Status = \"status\",\n\n // the properties below are optional\n EventThreshold = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n },\n ReplicationTime = new ReplicationTimeProperty {\n Status = \"status\",\n Time = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n },\n StorageClass = \"storageClass\"\n },\n Status = \"status\",\n\n // the properties below are optional\n DeleteMarkerReplication = new DeleteMarkerReplicationProperty {\n Status = \"status\"\n },\n Filter = new ReplicationRuleFilterProperty {\n And = new ReplicationRuleAndOperatorProperty {\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n },\n Prefix = \"prefix\",\n TagFilter = new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n }\n },\n Id = \"id\",\n Prefix = \"prefix\",\n Priority = 123,\n SourceSelectionCriteria = new SourceSelectionCriteriaProperty {\n ReplicaModifications = new ReplicaModificationsProperty {\n Status = \"status\"\n },\n SseKmsEncryptedObjects = new SseKmsEncryptedObjectsProperty {\n Status = \"status\"\n }\n }\n } }\n};",
5105 "version": "1"
5106 },
5107 "java": {
5108 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicationConfigurationProperty replicationConfigurationProperty = ReplicationConfigurationProperty.builder()\n .role(\"role\")\n .rules(List.of(ReplicationRuleProperty.builder()\n .destination(ReplicationDestinationProperty.builder()\n .bucket(\"bucket\")\n\n // the properties below are optional\n .accessControlTranslation(AccessControlTranslationProperty.builder()\n .owner(\"owner\")\n .build())\n .account(\"account\")\n .encryptionConfiguration(EncryptionConfigurationProperty.builder()\n .replicaKmsKeyId(\"replicaKmsKeyId\")\n .build())\n .metrics(MetricsProperty.builder()\n .status(\"status\")\n\n // the properties below are optional\n .eventThreshold(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build())\n .replicationTime(ReplicationTimeProperty.builder()\n .status(\"status\")\n .time(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build())\n .storageClass(\"storageClass\")\n .build())\n .status(\"status\")\n\n // the properties below are optional\n .deleteMarkerReplication(DeleteMarkerReplicationProperty.builder()\n .status(\"status\")\n .build())\n .filter(ReplicationRuleFilterProperty.builder()\n .and(ReplicationRuleAndOperatorProperty.builder()\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build())\n .prefix(\"prefix\")\n .tagFilter(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build())\n .build())\n .id(\"id\")\n .prefix(\"prefix\")\n .priority(123)\n .sourceSelectionCriteria(SourceSelectionCriteriaProperty.builder()\n .replicaModifications(ReplicaModificationsProperty.builder()\n .status(\"status\")\n .build())\n .sseKmsEncryptedObjects(SseKmsEncryptedObjectsProperty.builder()\n .status(\"status\")\n .build())\n .build())\n .build()))\n .build();",
5109 "version": "1"
5110 },
5111 "go": {
5112 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicationConfigurationProperty := &replicationConfigurationProperty{\n\trole: jsii.String(\"role\"),\n\trules: []interface{}{\n\t\t&replicationRuleProperty{\n\t\t\tdestination: &replicationDestinationProperty{\n\t\t\t\tbucket: jsii.String(\"bucket\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\taccessControlTranslation: &accessControlTranslationProperty{\n\t\t\t\t\towner: jsii.String(\"owner\"),\n\t\t\t\t},\n\t\t\t\taccount: jsii.String(\"account\"),\n\t\t\t\tencryptionConfiguration: &encryptionConfigurationProperty{\n\t\t\t\t\treplicaKmsKeyId: jsii.String(\"replicaKmsKeyId\"),\n\t\t\t\t},\n\t\t\t\tmetrics: &metricsProperty{\n\t\t\t\t\tstatus: jsii.String(\"status\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\teventThreshold: &replicationTimeValueProperty{\n\t\t\t\t\t\tminutes: jsii.Number(123),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\treplicationTime: &replicationTimeProperty{\n\t\t\t\t\tstatus: jsii.String(\"status\"),\n\t\t\t\t\ttime: &replicationTimeValueProperty{\n\t\t\t\t\t\tminutes: jsii.Number(123),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tstorageClass: jsii.String(\"storageClass\"),\n\t\t\t},\n\t\t\tstatus: jsii.String(\"status\"),\n\n\t\t\t// the properties below are optional\n\t\t\tdeleteMarkerReplication: &deleteMarkerReplicationProperty{\n\t\t\t\tstatus: jsii.String(\"status\"),\n\t\t\t},\n\t\t\tfilter: &replicationRuleFilterProperty{\n\t\t\t\tand: &replicationRuleAndOperatorProperty{\n\t\t\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\t\t\ttagFilters: []interface{}{\n\t\t\t\t\t\t&tagFilterProperty{\n\t\t\t\t\t\t\tkey: jsii.String(\"key\"),\n\t\t\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\t\ttagFilter: &tagFilterProperty{\n\t\t\t\t\tkey: jsii.String(\"key\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tid: jsii.String(\"id\"),\n\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\tpriority: jsii.Number(123),\n\t\t\tsourceSelectionCriteria: &sourceSelectionCriteriaProperty{\n\t\t\t\treplicaModifications: &replicaModificationsProperty{\n\t\t\t\t\tstatus: jsii.String(\"status\"),\n\t\t\t\t},\n\t\t\t\tsseKmsEncryptedObjects: &sseKmsEncryptedObjectsProperty{\n\t\t\t\t\tstatus: jsii.String(\"status\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n}",
5113 "version": "1"
5114 },
5115 "$": {
5116 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicationConfigurationProperty: s3.CfnBucket.ReplicationConfigurationProperty = {\n role: 'role',\n rules: [{\n destination: {\n bucket: 'bucket',\n\n // the properties below are optional\n accessControlTranslation: {\n owner: 'owner',\n },\n account: 'account',\n encryptionConfiguration: {\n replicaKmsKeyId: 'replicaKmsKeyId',\n },\n metrics: {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n },\n replicationTime: {\n status: 'status',\n time: {\n minutes: 123,\n },\n },\n storageClass: 'storageClass',\n },\n status: 'status',\n\n // the properties below are optional\n deleteMarkerReplication: {\n status: 'status',\n },\n filter: {\n and: {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n },\n prefix: 'prefix',\n tagFilter: {\n key: 'key',\n value: 'value',\n },\n },\n id: 'id',\n prefix: 'prefix',\n priority: 123,\n sourceSelectionCriteria: {\n replicaModifications: {\n status: 'status',\n },\n sseKmsEncryptedObjects: {\n status: 'status',\n },\n },\n }],\n};",
5117 "version": "0"
5118 }
5119 },
5120 "location": {
5121 "api": {
5122 "api": "type",
5123 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicationConfigurationProperty"
5124 },
5125 "field": {
5126 "field": "example"
5127 }
5128 },
5129 "didCompile": true,
5130 "fqnsReferenced": [
5131 "@aws-cdk/aws-s3.CfnBucket.ReplicationConfigurationProperty"
5132 ],
5133 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicationConfigurationProperty: s3.CfnBucket.ReplicationConfigurationProperty = {\n role: 'role',\n rules: [{\n destination: {\n bucket: 'bucket',\n\n // the properties below are optional\n accessControlTranslation: {\n owner: 'owner',\n },\n account: 'account',\n encryptionConfiguration: {\n replicaKmsKeyId: 'replicaKmsKeyId',\n },\n metrics: {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n },\n replicationTime: {\n status: 'status',\n time: {\n minutes: 123,\n },\n },\n storageClass: 'storageClass',\n },\n status: 'status',\n\n // the properties below are optional\n deleteMarkerReplication: {\n status: 'status',\n },\n filter: {\n and: {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n },\n prefix: 'prefix',\n tagFilter: {\n key: 'key',\n value: 'value',\n },\n },\n id: 'id',\n prefix: 'prefix',\n priority: 123,\n sourceSelectionCriteria: {\n replicaModifications: {\n status: 'status',\n },\n sseKmsEncryptedObjects: {\n status: 'status',\n },\n },\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5134 "syntaxKindCounter": {
5135 "8": 3,
5136 "10": 21,
5137 "75": 44,
5138 "153": 2,
5139 "169": 1,
5140 "192": 2,
5141 "193": 17,
5142 "225": 1,
5143 "242": 1,
5144 "243": 1,
5145 "254": 1,
5146 "255": 1,
5147 "256": 1,
5148 "281": 39,
5149 "290": 1
5150 },
5151 "fqnsFingerprint": "09ca554dd402e7fa97f13dcd97f9feaf610103be2d9f5989a84b6b42dcaacb1b"
5152 },
5153 "a5b330add78b7e54fee39fed0d427552b74f8430761c15babcc0f8093c0e60cd": {
5154 "translations": {
5155 "python": {
5156 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplication_destination_property = s3.CfnBucket.ReplicationDestinationProperty(\n bucket=\"bucket\",\n\n # the properties below are optional\n access_control_translation=s3.CfnBucket.AccessControlTranslationProperty(\n owner=\"owner\"\n ),\n account=\"account\",\n encryption_configuration=s3.CfnBucket.EncryptionConfigurationProperty(\n replica_kms_key_id=\"replicaKmsKeyId\"\n ),\n metrics=s3.CfnBucket.MetricsProperty(\n status=\"status\",\n\n # the properties below are optional\n event_threshold=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n ),\n replication_time=s3.CfnBucket.ReplicationTimeProperty(\n status=\"status\",\n time=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n ),\n storage_class=\"storageClass\"\n)",
5157 "version": "2"
5158 },
5159 "csharp": {
5160 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicationDestinationProperty replicationDestinationProperty = new ReplicationDestinationProperty {\n Bucket = \"bucket\",\n\n // the properties below are optional\n AccessControlTranslation = new AccessControlTranslationProperty {\n Owner = \"owner\"\n },\n Account = \"account\",\n EncryptionConfiguration = new EncryptionConfigurationProperty {\n ReplicaKmsKeyId = \"replicaKmsKeyId\"\n },\n Metrics = new MetricsProperty {\n Status = \"status\",\n\n // the properties below are optional\n EventThreshold = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n },\n ReplicationTime = new ReplicationTimeProperty {\n Status = \"status\",\n Time = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n },\n StorageClass = \"storageClass\"\n};",
5161 "version": "1"
5162 },
5163 "java": {
5164 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicationDestinationProperty replicationDestinationProperty = ReplicationDestinationProperty.builder()\n .bucket(\"bucket\")\n\n // the properties below are optional\n .accessControlTranslation(AccessControlTranslationProperty.builder()\n .owner(\"owner\")\n .build())\n .account(\"account\")\n .encryptionConfiguration(EncryptionConfigurationProperty.builder()\n .replicaKmsKeyId(\"replicaKmsKeyId\")\n .build())\n .metrics(MetricsProperty.builder()\n .status(\"status\")\n\n // the properties below are optional\n .eventThreshold(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build())\n .replicationTime(ReplicationTimeProperty.builder()\n .status(\"status\")\n .time(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build())\n .storageClass(\"storageClass\")\n .build();",
5165 "version": "1"
5166 },
5167 "go": {
5168 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicationDestinationProperty := &replicationDestinationProperty{\n\tbucket: jsii.String(\"bucket\"),\n\n\t// the properties below are optional\n\taccessControlTranslation: &accessControlTranslationProperty{\n\t\towner: jsii.String(\"owner\"),\n\t},\n\taccount: jsii.String(\"account\"),\n\tencryptionConfiguration: &encryptionConfigurationProperty{\n\t\treplicaKmsKeyId: jsii.String(\"replicaKmsKeyId\"),\n\t},\n\tmetrics: &metricsProperty{\n\t\tstatus: jsii.String(\"status\"),\n\n\t\t// the properties below are optional\n\t\teventThreshold: &replicationTimeValueProperty{\n\t\t\tminutes: jsii.Number(123),\n\t\t},\n\t},\n\treplicationTime: &replicationTimeProperty{\n\t\tstatus: jsii.String(\"status\"),\n\t\ttime: &replicationTimeValueProperty{\n\t\t\tminutes: jsii.Number(123),\n\t\t},\n\t},\n\tstorageClass: jsii.String(\"storageClass\"),\n}",
5169 "version": "1"
5170 },
5171 "$": {
5172 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicationDestinationProperty: s3.CfnBucket.ReplicationDestinationProperty = {\n bucket: 'bucket',\n\n // the properties below are optional\n accessControlTranslation: {\n owner: 'owner',\n },\n account: 'account',\n encryptionConfiguration: {\n replicaKmsKeyId: 'replicaKmsKeyId',\n },\n metrics: {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n },\n replicationTime: {\n status: 'status',\n time: {\n minutes: 123,\n },\n },\n storageClass: 'storageClass',\n};",
5173 "version": "0"
5174 }
5175 },
5176 "location": {
5177 "api": {
5178 "api": "type",
5179 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicationDestinationProperty"
5180 },
5181 "field": {
5182 "field": "example"
5183 }
5184 },
5185 "didCompile": true,
5186 "fqnsReferenced": [
5187 "@aws-cdk/aws-s3.CfnBucket.ReplicationDestinationProperty"
5188 ],
5189 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicationDestinationProperty: s3.CfnBucket.ReplicationDestinationProperty = {\n bucket: 'bucket',\n\n // the properties below are optional\n accessControlTranslation: {\n owner: 'owner',\n },\n account: 'account',\n encryptionConfiguration: {\n replicaKmsKeyId: 'replicaKmsKeyId',\n },\n metrics: {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n },\n replicationTime: {\n status: 'status',\n time: {\n minutes: 123,\n },\n },\n storageClass: 'storageClass',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5190 "syntaxKindCounter": {
5191 "8": 2,
5192 "10": 8,
5193 "75": 20,
5194 "153": 2,
5195 "169": 1,
5196 "193": 7,
5197 "225": 1,
5198 "242": 1,
5199 "243": 1,
5200 "254": 1,
5201 "255": 1,
5202 "256": 1,
5203 "281": 15,
5204 "290": 1
5205 },
5206 "fqnsFingerprint": "b476f5f20a94aa7986c7e80f398ef6cf6ba682465b033eee7b3ce66be9bd3273"
5207 },
5208 "9dc60c1d3bc088f91b490b428d906ce2855797a9e34a653e1a4885f7d951953b": {
5209 "translations": {
5210 "python": {
5211 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplication_rule_and_operator_property = s3.CfnBucket.ReplicationRuleAndOperatorProperty(\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )]\n)",
5212 "version": "2"
5213 },
5214 "csharp": {
5215 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicationRuleAndOperatorProperty replicationRuleAndOperatorProperty = new ReplicationRuleAndOperatorProperty {\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n};",
5216 "version": "1"
5217 },
5218 "java": {
5219 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicationRuleAndOperatorProperty replicationRuleAndOperatorProperty = ReplicationRuleAndOperatorProperty.builder()\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
5220 "version": "1"
5221 },
5222 "go": {
5223 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicationRuleAndOperatorProperty := &replicationRuleAndOperatorProperty{\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilters: []interface{}{\n\t\t&tagFilterProperty{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
5224 "version": "1"
5225 },
5226 "$": {
5227 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicationRuleAndOperatorProperty: s3.CfnBucket.ReplicationRuleAndOperatorProperty = {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};",
5228 "version": "0"
5229 }
5230 },
5231 "location": {
5232 "api": {
5233 "api": "type",
5234 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicationRuleAndOperatorProperty"
5235 },
5236 "field": {
5237 "field": "example"
5238 }
5239 },
5240 "didCompile": true,
5241 "fqnsReferenced": [
5242 "@aws-cdk/aws-s3.CfnBucket.ReplicationRuleAndOperatorProperty"
5243 ],
5244 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicationRuleAndOperatorProperty: s3.CfnBucket.ReplicationRuleAndOperatorProperty = {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5245 "syntaxKindCounter": {
5246 "10": 4,
5247 "75": 9,
5248 "153": 2,
5249 "169": 1,
5250 "192": 1,
5251 "193": 2,
5252 "225": 1,
5253 "242": 1,
5254 "243": 1,
5255 "254": 1,
5256 "255": 1,
5257 "256": 1,
5258 "281": 4,
5259 "290": 1
5260 },
5261 "fqnsFingerprint": "b0516b3f30c3b5218c79d7188c0b76a757f3286aef78043f05b179af2485ee9e"
5262 },
5263 "bf5b15d0e0e1bcdba8921ce123d99162b07ef81b3c2a9d93fdfa3038b30b7f94": {
5264 "translations": {
5265 "python": {
5266 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplication_rule_filter_property = s3.CfnBucket.ReplicationRuleFilterProperty(\n and=s3.CfnBucket.ReplicationRuleAndOperatorProperty(\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )]\n ),\n prefix=\"prefix\",\n tag_filter=s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )\n)",
5267 "version": "2"
5268 },
5269 "csharp": {
5270 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicationRuleFilterProperty replicationRuleFilterProperty = new ReplicationRuleFilterProperty {\n And = new ReplicationRuleAndOperatorProperty {\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n },\n Prefix = \"prefix\",\n TagFilter = new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n }\n};",
5271 "version": "1"
5272 },
5273 "java": {
5274 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicationRuleFilterProperty replicationRuleFilterProperty = ReplicationRuleFilterProperty.builder()\n .and(ReplicationRuleAndOperatorProperty.builder()\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build())\n .prefix(\"prefix\")\n .tagFilter(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build())\n .build();",
5275 "version": "1"
5276 },
5277 "go": {
5278 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicationRuleFilterProperty := &replicationRuleFilterProperty{\n\tand: &replicationRuleAndOperatorProperty{\n\t\tprefix: jsii.String(\"prefix\"),\n\t\ttagFilters: []interface{}{\n\t\t\t&tagFilterProperty{\n\t\t\t\tkey: jsii.String(\"key\"),\n\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t},\n\t\t},\n\t},\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilter: &tagFilterProperty{\n\t\tkey: jsii.String(\"key\"),\n\t\tvalue: jsii.String(\"value\"),\n\t},\n}",
5279 "version": "1"
5280 },
5281 "$": {
5282 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicationRuleFilterProperty: s3.CfnBucket.ReplicationRuleFilterProperty = {\n and: {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n },\n prefix: 'prefix',\n tagFilter: {\n key: 'key',\n value: 'value',\n },\n};",
5283 "version": "0"
5284 }
5285 },
5286 "location": {
5287 "api": {
5288 "api": "type",
5289 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicationRuleFilterProperty"
5290 },
5291 "field": {
5292 "field": "example"
5293 }
5294 },
5295 "didCompile": true,
5296 "fqnsReferenced": [
5297 "@aws-cdk/aws-s3.CfnBucket.ReplicationRuleFilterProperty"
5298 ],
5299 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicationRuleFilterProperty: s3.CfnBucket.ReplicationRuleFilterProperty = {\n and: {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n },\n prefix: 'prefix',\n tagFilter: {\n key: 'key',\n value: 'value',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5300 "syntaxKindCounter": {
5301 "10": 7,
5302 "75": 14,
5303 "153": 2,
5304 "169": 1,
5305 "192": 1,
5306 "193": 4,
5307 "225": 1,
5308 "242": 1,
5309 "243": 1,
5310 "254": 1,
5311 "255": 1,
5312 "256": 1,
5313 "281": 9,
5314 "290": 1
5315 },
5316 "fqnsFingerprint": "f1e7da912bd23465ebbe7647aec4cd2e33d6dc38d0370432bd18b1b1c724c492"
5317 },
5318 "9c9045bd3302603a30c885c255cfbaf6cef4d89539c5f9214c3a5bbb5b7ead3f": {
5319 "translations": {
5320 "python": {
5321 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplication_rule_property = s3.CfnBucket.ReplicationRuleProperty(\n destination=s3.CfnBucket.ReplicationDestinationProperty(\n bucket=\"bucket\",\n\n # the properties below are optional\n access_control_translation=s3.CfnBucket.AccessControlTranslationProperty(\n owner=\"owner\"\n ),\n account=\"account\",\n encryption_configuration=s3.CfnBucket.EncryptionConfigurationProperty(\n replica_kms_key_id=\"replicaKmsKeyId\"\n ),\n metrics=s3.CfnBucket.MetricsProperty(\n status=\"status\",\n\n # the properties below are optional\n event_threshold=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n ),\n replication_time=s3.CfnBucket.ReplicationTimeProperty(\n status=\"status\",\n time=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n ),\n storage_class=\"storageClass\"\n ),\n status=\"status\",\n\n # the properties below are optional\n delete_marker_replication=s3.CfnBucket.DeleteMarkerReplicationProperty(\n status=\"status\"\n ),\n filter=s3.CfnBucket.ReplicationRuleFilterProperty(\n and=s3.CfnBucket.ReplicationRuleAndOperatorProperty(\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )]\n ),\n prefix=\"prefix\",\n tag_filter=s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )\n ),\n id=\"id\",\n prefix=\"prefix\",\n priority=123,\n source_selection_criteria=s3.CfnBucket.SourceSelectionCriteriaProperty(\n replica_modifications=s3.CfnBucket.ReplicaModificationsProperty(\n status=\"status\"\n ),\n sse_kms_encrypted_objects=s3.CfnBucket.SseKmsEncryptedObjectsProperty(\n status=\"status\"\n )\n )\n)",
5322 "version": "2"
5323 },
5324 "csharp": {
5325 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicationRuleProperty replicationRuleProperty = new ReplicationRuleProperty {\n Destination = new ReplicationDestinationProperty {\n Bucket = \"bucket\",\n\n // the properties below are optional\n AccessControlTranslation = new AccessControlTranslationProperty {\n Owner = \"owner\"\n },\n Account = \"account\",\n EncryptionConfiguration = new EncryptionConfigurationProperty {\n ReplicaKmsKeyId = \"replicaKmsKeyId\"\n },\n Metrics = new MetricsProperty {\n Status = \"status\",\n\n // the properties below are optional\n EventThreshold = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n },\n ReplicationTime = new ReplicationTimeProperty {\n Status = \"status\",\n Time = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n },\n StorageClass = \"storageClass\"\n },\n Status = \"status\",\n\n // the properties below are optional\n DeleteMarkerReplication = new DeleteMarkerReplicationProperty {\n Status = \"status\"\n },\n Filter = new ReplicationRuleFilterProperty {\n And = new ReplicationRuleAndOperatorProperty {\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } }\n },\n Prefix = \"prefix\",\n TagFilter = new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n }\n },\n Id = \"id\",\n Prefix = \"prefix\",\n Priority = 123,\n SourceSelectionCriteria = new SourceSelectionCriteriaProperty {\n ReplicaModifications = new ReplicaModificationsProperty {\n Status = \"status\"\n },\n SseKmsEncryptedObjects = new SseKmsEncryptedObjectsProperty {\n Status = \"status\"\n }\n }\n};",
5326 "version": "1"
5327 },
5328 "java": {
5329 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicationRuleProperty replicationRuleProperty = ReplicationRuleProperty.builder()\n .destination(ReplicationDestinationProperty.builder()\n .bucket(\"bucket\")\n\n // the properties below are optional\n .accessControlTranslation(AccessControlTranslationProperty.builder()\n .owner(\"owner\")\n .build())\n .account(\"account\")\n .encryptionConfiguration(EncryptionConfigurationProperty.builder()\n .replicaKmsKeyId(\"replicaKmsKeyId\")\n .build())\n .metrics(MetricsProperty.builder()\n .status(\"status\")\n\n // the properties below are optional\n .eventThreshold(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build())\n .replicationTime(ReplicationTimeProperty.builder()\n .status(\"status\")\n .time(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build())\n .storageClass(\"storageClass\")\n .build())\n .status(\"status\")\n\n // the properties below are optional\n .deleteMarkerReplication(DeleteMarkerReplicationProperty.builder()\n .status(\"status\")\n .build())\n .filter(ReplicationRuleFilterProperty.builder()\n .and(ReplicationRuleAndOperatorProperty.builder()\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build())\n .prefix(\"prefix\")\n .tagFilter(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build())\n .build())\n .id(\"id\")\n .prefix(\"prefix\")\n .priority(123)\n .sourceSelectionCriteria(SourceSelectionCriteriaProperty.builder()\n .replicaModifications(ReplicaModificationsProperty.builder()\n .status(\"status\")\n .build())\n .sseKmsEncryptedObjects(SseKmsEncryptedObjectsProperty.builder()\n .status(\"status\")\n .build())\n .build())\n .build();",
5330 "version": "1"
5331 },
5332 "go": {
5333 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicationRuleProperty := &replicationRuleProperty{\n\tdestination: &replicationDestinationProperty{\n\t\tbucket: jsii.String(\"bucket\"),\n\n\t\t// the properties below are optional\n\t\taccessControlTranslation: &accessControlTranslationProperty{\n\t\t\towner: jsii.String(\"owner\"),\n\t\t},\n\t\taccount: jsii.String(\"account\"),\n\t\tencryptionConfiguration: &encryptionConfigurationProperty{\n\t\t\treplicaKmsKeyId: jsii.String(\"replicaKmsKeyId\"),\n\t\t},\n\t\tmetrics: &metricsProperty{\n\t\t\tstatus: jsii.String(\"status\"),\n\n\t\t\t// the properties below are optional\n\t\t\teventThreshold: &replicationTimeValueProperty{\n\t\t\t\tminutes: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t\treplicationTime: &replicationTimeProperty{\n\t\t\tstatus: jsii.String(\"status\"),\n\t\t\ttime: &replicationTimeValueProperty{\n\t\t\t\tminutes: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t\tstorageClass: jsii.String(\"storageClass\"),\n\t},\n\tstatus: jsii.String(\"status\"),\n\n\t// the properties below are optional\n\tdeleteMarkerReplication: &deleteMarkerReplicationProperty{\n\t\tstatus: jsii.String(\"status\"),\n\t},\n\tfilter: &replicationRuleFilterProperty{\n\t\tand: &replicationRuleAndOperatorProperty{\n\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\ttagFilters: []interface{}{\n\t\t\t\t&tagFilterProperty{\n\t\t\t\t\tkey: jsii.String(\"key\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tprefix: jsii.String(\"prefix\"),\n\t\ttagFilter: &tagFilterProperty{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tid: jsii.String(\"id\"),\n\tprefix: jsii.String(\"prefix\"),\n\tpriority: jsii.Number(123),\n\tsourceSelectionCriteria: &sourceSelectionCriteriaProperty{\n\t\treplicaModifications: &replicaModificationsProperty{\n\t\t\tstatus: jsii.String(\"status\"),\n\t\t},\n\t\tsseKmsEncryptedObjects: &sseKmsEncryptedObjectsProperty{\n\t\t\tstatus: jsii.String(\"status\"),\n\t\t},\n\t},\n}",
5334 "version": "1"
5335 },
5336 "$": {
5337 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicationRuleProperty: s3.CfnBucket.ReplicationRuleProperty = {\n destination: {\n bucket: 'bucket',\n\n // the properties below are optional\n accessControlTranslation: {\n owner: 'owner',\n },\n account: 'account',\n encryptionConfiguration: {\n replicaKmsKeyId: 'replicaKmsKeyId',\n },\n metrics: {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n },\n replicationTime: {\n status: 'status',\n time: {\n minutes: 123,\n },\n },\n storageClass: 'storageClass',\n },\n status: 'status',\n\n // the properties below are optional\n deleteMarkerReplication: {\n status: 'status',\n },\n filter: {\n and: {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n },\n prefix: 'prefix',\n tagFilter: {\n key: 'key',\n value: 'value',\n },\n },\n id: 'id',\n prefix: 'prefix',\n priority: 123,\n sourceSelectionCriteria: {\n replicaModifications: {\n status: 'status',\n },\n sseKmsEncryptedObjects: {\n status: 'status',\n },\n },\n};",
5338 "version": "0"
5339 }
5340 },
5341 "location": {
5342 "api": {
5343 "api": "type",
5344 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicationRuleProperty"
5345 },
5346 "field": {
5347 "field": "example"
5348 }
5349 },
5350 "didCompile": true,
5351 "fqnsReferenced": [
5352 "@aws-cdk/aws-s3.CfnBucket.ReplicationRuleProperty"
5353 ],
5354 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicationRuleProperty: s3.CfnBucket.ReplicationRuleProperty = {\n destination: {\n bucket: 'bucket',\n\n // the properties below are optional\n accessControlTranslation: {\n owner: 'owner',\n },\n account: 'account',\n encryptionConfiguration: {\n replicaKmsKeyId: 'replicaKmsKeyId',\n },\n metrics: {\n status: 'status',\n\n // the properties below are optional\n eventThreshold: {\n minutes: 123,\n },\n },\n replicationTime: {\n status: 'status',\n time: {\n minutes: 123,\n },\n },\n storageClass: 'storageClass',\n },\n status: 'status',\n\n // the properties below are optional\n deleteMarkerReplication: {\n status: 'status',\n },\n filter: {\n and: {\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n },\n prefix: 'prefix',\n tagFilter: {\n key: 'key',\n value: 'value',\n },\n },\n id: 'id',\n prefix: 'prefix',\n priority: 123,\n sourceSelectionCriteria: {\n replicaModifications: {\n status: 'status',\n },\n sseKmsEncryptedObjects: {\n status: 'status',\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5355 "syntaxKindCounter": {
5356 "8": 3,
5357 "10": 20,
5358 "75": 42,
5359 "153": 2,
5360 "169": 1,
5361 "192": 1,
5362 "193": 16,
5363 "225": 1,
5364 "242": 1,
5365 "243": 1,
5366 "254": 1,
5367 "255": 1,
5368 "256": 1,
5369 "281": 37,
5370 "290": 1
5371 },
5372 "fqnsFingerprint": "b98a592d5bacacbded12f849a7cc96b0e3a7208a6ce94c5e55211b9dfbb78252"
5373 },
5374 "bd4bd3276608583e842413f15b5d678861d70710910b89c3a871816381790596": {
5375 "translations": {
5376 "python": {
5377 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplication_time_property = s3.CfnBucket.ReplicationTimeProperty(\n status=\"status\",\n time=s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n )\n)",
5378 "version": "2"
5379 },
5380 "csharp": {
5381 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicationTimeProperty replicationTimeProperty = new ReplicationTimeProperty {\n Status = \"status\",\n Time = new ReplicationTimeValueProperty {\n Minutes = 123\n }\n};",
5382 "version": "1"
5383 },
5384 "java": {
5385 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicationTimeProperty replicationTimeProperty = ReplicationTimeProperty.builder()\n .status(\"status\")\n .time(ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build())\n .build();",
5386 "version": "1"
5387 },
5388 "go": {
5389 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicationTimeProperty := &replicationTimeProperty{\n\tstatus: jsii.String(\"status\"),\n\ttime: &replicationTimeValueProperty{\n\t\tminutes: jsii.Number(123),\n\t},\n}",
5390 "version": "1"
5391 },
5392 "$": {
5393 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicationTimeProperty: s3.CfnBucket.ReplicationTimeProperty = {\n status: 'status',\n time: {\n minutes: 123,\n },\n};",
5394 "version": "0"
5395 }
5396 },
5397 "location": {
5398 "api": {
5399 "api": "type",
5400 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicationTimeProperty"
5401 },
5402 "field": {
5403 "field": "example"
5404 }
5405 },
5406 "didCompile": true,
5407 "fqnsReferenced": [
5408 "@aws-cdk/aws-s3.CfnBucket.ReplicationTimeProperty"
5409 ],
5410 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicationTimeProperty: s3.CfnBucket.ReplicationTimeProperty = {\n status: 'status',\n time: {\n minutes: 123,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5411 "syntaxKindCounter": {
5412 "8": 1,
5413 "10": 2,
5414 "75": 8,
5415 "153": 2,
5416 "169": 1,
5417 "193": 2,
5418 "225": 1,
5419 "242": 1,
5420 "243": 1,
5421 "254": 1,
5422 "255": 1,
5423 "256": 1,
5424 "281": 3,
5425 "290": 1
5426 },
5427 "fqnsFingerprint": "dee165bafb722f87ef5fb5b5e8f9ebb512a990ba2cb358972afb442eac09b9f4"
5428 },
5429 "22458cb9c051616a3d3187f2fc83351548f0af47277e6e5509d37542f749800e": {
5430 "translations": {
5431 "python": {
5432 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nreplication_time_value_property = s3.CfnBucket.ReplicationTimeValueProperty(\n minutes=123\n)",
5433 "version": "2"
5434 },
5435 "csharp": {
5436 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplicationTimeValueProperty replicationTimeValueProperty = new ReplicationTimeValueProperty {\n Minutes = 123\n};",
5437 "version": "1"
5438 },
5439 "java": {
5440 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplicationTimeValueProperty replicationTimeValueProperty = ReplicationTimeValueProperty.builder()\n .minutes(123)\n .build();",
5441 "version": "1"
5442 },
5443 "go": {
5444 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nreplicationTimeValueProperty := &replicationTimeValueProperty{\n\tminutes: jsii.Number(123),\n}",
5445 "version": "1"
5446 },
5447 "$": {
5448 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst replicationTimeValueProperty: s3.CfnBucket.ReplicationTimeValueProperty = {\n minutes: 123,\n};",
5449 "version": "0"
5450 }
5451 },
5452 "location": {
5453 "api": {
5454 "api": "type",
5455 "fqn": "@aws-cdk/aws-s3.CfnBucket.ReplicationTimeValueProperty"
5456 },
5457 "field": {
5458 "field": "example"
5459 }
5460 },
5461 "didCompile": true,
5462 "fqnsReferenced": [
5463 "@aws-cdk/aws-s3.CfnBucket.ReplicationTimeValueProperty"
5464 ],
5465 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst replicationTimeValueProperty: s3.CfnBucket.ReplicationTimeValueProperty = {\n minutes: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5466 "syntaxKindCounter": {
5467 "8": 1,
5468 "10": 1,
5469 "75": 6,
5470 "153": 2,
5471 "169": 1,
5472 "193": 1,
5473 "225": 1,
5474 "242": 1,
5475 "243": 1,
5476 "254": 1,
5477 "255": 1,
5478 "256": 1,
5479 "281": 1,
5480 "290": 1
5481 },
5482 "fqnsFingerprint": "e68e5711450d563230fdc27b5eb817ecbdaa8ca52d1f7087e292be95672c3620"
5483 },
5484 "b410015e0281a139b31f41603c43dfd289ecad9ef26bbd296b05ec72676402a2": {
5485 "translations": {
5486 "python": {
5487 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nrouting_rule_condition_property = s3.CfnBucket.RoutingRuleConditionProperty(\n http_error_code_returned_equals=\"httpErrorCodeReturnedEquals\",\n key_prefix_equals=\"keyPrefixEquals\"\n)",
5488 "version": "2"
5489 },
5490 "csharp": {
5491 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nRoutingRuleConditionProperty routingRuleConditionProperty = new RoutingRuleConditionProperty {\n HttpErrorCodeReturnedEquals = \"httpErrorCodeReturnedEquals\",\n KeyPrefixEquals = \"keyPrefixEquals\"\n};",
5492 "version": "1"
5493 },
5494 "java": {
5495 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nRoutingRuleConditionProperty routingRuleConditionProperty = RoutingRuleConditionProperty.builder()\n .httpErrorCodeReturnedEquals(\"httpErrorCodeReturnedEquals\")\n .keyPrefixEquals(\"keyPrefixEquals\")\n .build();",
5496 "version": "1"
5497 },
5498 "go": {
5499 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nroutingRuleConditionProperty := &routingRuleConditionProperty{\n\thttpErrorCodeReturnedEquals: jsii.String(\"httpErrorCodeReturnedEquals\"),\n\tkeyPrefixEquals: jsii.String(\"keyPrefixEquals\"),\n}",
5500 "version": "1"
5501 },
5502 "$": {
5503 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst routingRuleConditionProperty: s3.CfnBucket.RoutingRuleConditionProperty = {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n};",
5504 "version": "0"
5505 }
5506 },
5507 "location": {
5508 "api": {
5509 "api": "type",
5510 "fqn": "@aws-cdk/aws-s3.CfnBucket.RoutingRuleConditionProperty"
5511 },
5512 "field": {
5513 "field": "example"
5514 }
5515 },
5516 "didCompile": true,
5517 "fqnsReferenced": [
5518 "@aws-cdk/aws-s3.CfnBucket.RoutingRuleConditionProperty"
5519 ],
5520 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst routingRuleConditionProperty: s3.CfnBucket.RoutingRuleConditionProperty = {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5521 "syntaxKindCounter": {
5522 "10": 3,
5523 "75": 7,
5524 "153": 2,
5525 "169": 1,
5526 "193": 1,
5527 "225": 1,
5528 "242": 1,
5529 "243": 1,
5530 "254": 1,
5531 "255": 1,
5532 "256": 1,
5533 "281": 2,
5534 "290": 1
5535 },
5536 "fqnsFingerprint": "5eb7b702b468bd97b45a209b4077d8dae351c8f45dbf9cd8326f6b81a5c2148a"
5537 },
5538 "4eb323a00c0762040f27abd8fad01c20bd029e486a6b72bd45bb09fc9b3cceeb": {
5539 "translations": {
5540 "python": {
5541 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nrouting_rule_property = s3.CfnBucket.RoutingRuleProperty(\n redirect_rule=s3.CfnBucket.RedirectRuleProperty(\n host_name=\"hostName\",\n http_redirect_code=\"httpRedirectCode\",\n protocol=\"protocol\",\n replace_key_prefix_with=\"replaceKeyPrefixWith\",\n replace_key_with=\"replaceKeyWith\"\n ),\n\n # the properties below are optional\n routing_rule_condition=s3.CfnBucket.RoutingRuleConditionProperty(\n http_error_code_returned_equals=\"httpErrorCodeReturnedEquals\",\n key_prefix_equals=\"keyPrefixEquals\"\n )\n)",
5542 "version": "2"
5543 },
5544 "csharp": {
5545 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nRoutingRuleProperty routingRuleProperty = new RoutingRuleProperty {\n RedirectRule = new RedirectRuleProperty {\n HostName = \"hostName\",\n HttpRedirectCode = \"httpRedirectCode\",\n Protocol = \"protocol\",\n ReplaceKeyPrefixWith = \"replaceKeyPrefixWith\",\n ReplaceKeyWith = \"replaceKeyWith\"\n },\n\n // the properties below are optional\n RoutingRuleCondition = new RoutingRuleConditionProperty {\n HttpErrorCodeReturnedEquals = \"httpErrorCodeReturnedEquals\",\n KeyPrefixEquals = \"keyPrefixEquals\"\n }\n};",
5546 "version": "1"
5547 },
5548 "java": {
5549 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nRoutingRuleProperty routingRuleProperty = RoutingRuleProperty.builder()\n .redirectRule(RedirectRuleProperty.builder()\n .hostName(\"hostName\")\n .httpRedirectCode(\"httpRedirectCode\")\n .protocol(\"protocol\")\n .replaceKeyPrefixWith(\"replaceKeyPrefixWith\")\n .replaceKeyWith(\"replaceKeyWith\")\n .build())\n\n // the properties below are optional\n .routingRuleCondition(RoutingRuleConditionProperty.builder()\n .httpErrorCodeReturnedEquals(\"httpErrorCodeReturnedEquals\")\n .keyPrefixEquals(\"keyPrefixEquals\")\n .build())\n .build();",
5550 "version": "1"
5551 },
5552 "go": {
5553 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nroutingRuleProperty := &routingRuleProperty{\n\tredirectRule: &redirectRuleProperty{\n\t\thostName: jsii.String(\"hostName\"),\n\t\thttpRedirectCode: jsii.String(\"httpRedirectCode\"),\n\t\tprotocol: jsii.String(\"protocol\"),\n\t\treplaceKeyPrefixWith: jsii.String(\"replaceKeyPrefixWith\"),\n\t\treplaceKeyWith: jsii.String(\"replaceKeyWith\"),\n\t},\n\n\t// the properties below are optional\n\troutingRuleCondition: &routingRuleConditionProperty{\n\t\thttpErrorCodeReturnedEquals: jsii.String(\"httpErrorCodeReturnedEquals\"),\n\t\tkeyPrefixEquals: jsii.String(\"keyPrefixEquals\"),\n\t},\n}",
5554 "version": "1"
5555 },
5556 "$": {
5557 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst routingRuleProperty: s3.CfnBucket.RoutingRuleProperty = {\n redirectRule: {\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: 'protocol',\n replaceKeyPrefixWith: 'replaceKeyPrefixWith',\n replaceKeyWith: 'replaceKeyWith',\n },\n\n // the properties below are optional\n routingRuleCondition: {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n },\n};",
5558 "version": "0"
5559 }
5560 },
5561 "location": {
5562 "api": {
5563 "api": "type",
5564 "fqn": "@aws-cdk/aws-s3.CfnBucket.RoutingRuleProperty"
5565 },
5566 "field": {
5567 "field": "example"
5568 }
5569 },
5570 "didCompile": true,
5571 "fqnsReferenced": [
5572 "@aws-cdk/aws-s3.CfnBucket.RoutingRuleProperty"
5573 ],
5574 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst routingRuleProperty: s3.CfnBucket.RoutingRuleProperty = {\n redirectRule: {\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: 'protocol',\n replaceKeyPrefixWith: 'replaceKeyPrefixWith',\n replaceKeyWith: 'replaceKeyWith',\n },\n\n // the properties below are optional\n routingRuleCondition: {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5575 "syntaxKindCounter": {
5576 "10": 8,
5577 "75": 14,
5578 "153": 2,
5579 "169": 1,
5580 "193": 3,
5581 "225": 1,
5582 "242": 1,
5583 "243": 1,
5584 "254": 1,
5585 "255": 1,
5586 "256": 1,
5587 "281": 9,
5588 "290": 1
5589 },
5590 "fqnsFingerprint": "805686ea0d285be19e0a80dea8ab2a22baa76ce7ee0edaa6b81722c1c4bd5733"
5591 },
5592 "e676ba5be3f7d374926dba51c44a6a11ab3941f00a5726cec54c4e5215870952": {
5593 "translations": {
5594 "python": {
5595 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nrule_property = s3.CfnBucket.RuleProperty(\n status=\"status\",\n\n # the properties below are optional\n abort_incomplete_multipart_upload=s3.CfnBucket.AbortIncompleteMultipartUploadProperty(\n days_after_initiation=123\n ),\n expiration_date=Date(),\n expiration_in_days=123,\n expired_object_delete_marker=False,\n id=\"id\",\n noncurrent_version_expiration=s3.CfnBucket.NoncurrentVersionExpirationProperty(\n noncurrent_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n ),\n noncurrent_version_expiration_in_days=123,\n noncurrent_version_transition=s3.CfnBucket.NoncurrentVersionTransitionProperty(\n storage_class=\"storageClass\",\n transition_in_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n ),\n noncurrent_version_transitions=[s3.CfnBucket.NoncurrentVersionTransitionProperty(\n storage_class=\"storageClass\",\n transition_in_days=123,\n\n # the properties below are optional\n newer_noncurrent_versions=123\n )],\n object_size_greater_than=123,\n object_size_less_than=123,\n prefix=\"prefix\",\n tag_filters=[s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n )],\n transition=s3.CfnBucket.TransitionProperty(\n storage_class=\"storageClass\",\n\n # the properties below are optional\n transition_date=Date(),\n transition_in_days=123\n ),\n transitions=[s3.CfnBucket.TransitionProperty(\n storage_class=\"storageClass\",\n\n # the properties below are optional\n transition_date=Date(),\n transition_in_days=123\n )]\n)",
5596 "version": "2"
5597 },
5598 "csharp": {
5599 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nRuleProperty ruleProperty = new RuleProperty {\n Status = \"status\",\n\n // the properties below are optional\n AbortIncompleteMultipartUpload = new AbortIncompleteMultipartUploadProperty {\n DaysAfterInitiation = 123\n },\n ExpirationDate = new Date(),\n ExpirationInDays = 123,\n ExpiredObjectDeleteMarker = false,\n Id = \"id\",\n NoncurrentVersionExpiration = new NoncurrentVersionExpirationProperty {\n NoncurrentDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n },\n NoncurrentVersionExpirationInDays = 123,\n NoncurrentVersionTransition = new NoncurrentVersionTransitionProperty {\n StorageClass = \"storageClass\",\n TransitionInDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n },\n NoncurrentVersionTransitions = new [] { new NoncurrentVersionTransitionProperty {\n StorageClass = \"storageClass\",\n TransitionInDays = 123,\n\n // the properties below are optional\n NewerNoncurrentVersions = 123\n } },\n ObjectSizeGreaterThan = 123,\n ObjectSizeLessThan = 123,\n Prefix = \"prefix\",\n TagFilters = new [] { new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n } },\n Transition = new TransitionProperty {\n StorageClass = \"storageClass\",\n\n // the properties below are optional\n TransitionDate = new Date(),\n TransitionInDays = 123\n },\n Transitions = new [] { new TransitionProperty {\n StorageClass = \"storageClass\",\n\n // the properties below are optional\n TransitionDate = new Date(),\n TransitionInDays = 123\n } }\n};",
5600 "version": "1"
5601 },
5602 "java": {
5603 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nRuleProperty ruleProperty = RuleProperty.builder()\n .status(\"status\")\n\n // the properties below are optional\n .abortIncompleteMultipartUpload(AbortIncompleteMultipartUploadProperty.builder()\n .daysAfterInitiation(123)\n .build())\n .expirationDate(new Date())\n .expirationInDays(123)\n .expiredObjectDeleteMarker(false)\n .id(\"id\")\n .noncurrentVersionExpiration(NoncurrentVersionExpirationProperty.builder()\n .noncurrentDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build())\n .noncurrentVersionExpirationInDays(123)\n .noncurrentVersionTransition(NoncurrentVersionTransitionProperty.builder()\n .storageClass(\"storageClass\")\n .transitionInDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build())\n .noncurrentVersionTransitions(List.of(NoncurrentVersionTransitionProperty.builder()\n .storageClass(\"storageClass\")\n .transitionInDays(123)\n\n // the properties below are optional\n .newerNoncurrentVersions(123)\n .build()))\n .objectSizeGreaterThan(123)\n .objectSizeLessThan(123)\n .prefix(\"prefix\")\n .tagFilters(List.of(TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .transition(TransitionProperty.builder()\n .storageClass(\"storageClass\")\n\n // the properties below are optional\n .transitionDate(new Date())\n .transitionInDays(123)\n .build())\n .transitions(List.of(TransitionProperty.builder()\n .storageClass(\"storageClass\")\n\n // the properties below are optional\n .transitionDate(new Date())\n .transitionInDays(123)\n .build()))\n .build();",
5604 "version": "1"
5605 },
5606 "go": {
5607 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nruleProperty := &ruleProperty{\n\tstatus: jsii.String(\"status\"),\n\n\t// the properties below are optional\n\tabortIncompleteMultipartUpload: &abortIncompleteMultipartUploadProperty{\n\t\tdaysAfterInitiation: jsii.Number(123),\n\t},\n\texpirationDate: NewDate(),\n\texpirationInDays: jsii.Number(123),\n\texpiredObjectDeleteMarker: jsii.Boolean(false),\n\tid: jsii.String(\"id\"),\n\tnoncurrentVersionExpiration: &noncurrentVersionExpirationProperty{\n\t\tnoncurrentDays: jsii.Number(123),\n\n\t\t// the properties below are optional\n\t\tnewerNoncurrentVersions: jsii.Number(123),\n\t},\n\tnoncurrentVersionExpirationInDays: jsii.Number(123),\n\tnoncurrentVersionTransition: &noncurrentVersionTransitionProperty{\n\t\tstorageClass: jsii.String(\"storageClass\"),\n\t\ttransitionInDays: jsii.Number(123),\n\n\t\t// the properties below are optional\n\t\tnewerNoncurrentVersions: jsii.Number(123),\n\t},\n\tnoncurrentVersionTransitions: []interface{}{\n\t\t&noncurrentVersionTransitionProperty{\n\t\t\tstorageClass: jsii.String(\"storageClass\"),\n\t\t\ttransitionInDays: jsii.Number(123),\n\n\t\t\t// the properties below are optional\n\t\t\tnewerNoncurrentVersions: jsii.Number(123),\n\t\t},\n\t},\n\tobjectSizeGreaterThan: jsii.Number(123),\n\tobjectSizeLessThan: jsii.Number(123),\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilters: []interface{}{\n\t\t&tagFilterProperty{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n\ttransition: &transitionProperty{\n\t\tstorageClass: jsii.String(\"storageClass\"),\n\n\t\t// the properties below are optional\n\t\ttransitionDate: NewDate(),\n\t\ttransitionInDays: jsii.Number(123),\n\t},\n\ttransitions: []interface{}{\n\t\t&transitionProperty{\n\t\t\tstorageClass: jsii.String(\"storageClass\"),\n\n\t\t\t// the properties below are optional\n\t\t\ttransitionDate: NewDate(),\n\t\t\ttransitionInDays: jsii.Number(123),\n\t\t},\n\t},\n}",
5608 "version": "1"
5609 },
5610 "$": {
5611 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst ruleProperty: s3.CfnBucket.RuleProperty = {\n status: 'status',\n\n // the properties below are optional\n abortIncompleteMultipartUpload: {\n daysAfterInitiation: 123,\n },\n expirationDate: new Date(),\n expirationInDays: 123,\n expiredObjectDeleteMarker: false,\n id: 'id',\n noncurrentVersionExpiration: {\n noncurrentDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionExpirationInDays: 123,\n noncurrentVersionTransition: {\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionTransitions: [{\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n }],\n objectSizeGreaterThan: 123,\n objectSizeLessThan: 123,\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n transition: {\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n },\n transitions: [{\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n }],\n};",
5612 "version": "0"
5613 }
5614 },
5615 "location": {
5616 "api": {
5617 "api": "type",
5618 "fqn": "@aws-cdk/aws-s3.CfnBucket.RuleProperty"
5619 },
5620 "field": {
5621 "field": "example"
5622 }
5623 },
5624 "didCompile": true,
5625 "fqnsReferenced": [
5626 "@aws-cdk/aws-s3.CfnBucket.RuleProperty"
5627 ],
5628 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst ruleProperty: s3.CfnBucket.RuleProperty = {\n status: 'status',\n\n // the properties below are optional\n abortIncompleteMultipartUpload: {\n daysAfterInitiation: 123,\n },\n expirationDate: new Date(),\n expirationInDays: 123,\n expiredObjectDeleteMarker: false,\n id: 'id',\n noncurrentVersionExpiration: {\n noncurrentDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionExpirationInDays: 123,\n noncurrentVersionTransition: {\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n },\n noncurrentVersionTransitions: [{\n storageClass: 'storageClass',\n transitionInDays: 123,\n\n // the properties below are optional\n newerNoncurrentVersions: 123,\n }],\n objectSizeGreaterThan: 123,\n objectSizeLessThan: 123,\n prefix: 'prefix',\n tagFilters: [{\n key: 'key',\n value: 'value',\n }],\n transition: {\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n },\n transitions: [{\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5629 "syntaxKindCounter": {
5630 "8": 13,
5631 "10": 10,
5632 "75": 41,
5633 "91": 1,
5634 "153": 2,
5635 "169": 1,
5636 "192": 3,
5637 "193": 8,
5638 "197": 3,
5639 "225": 1,
5640 "242": 1,
5641 "243": 1,
5642 "254": 1,
5643 "255": 1,
5644 "256": 1,
5645 "281": 33,
5646 "290": 1
5647 },
5648 "fqnsFingerprint": "f67bdf9e647dd25592ceb6b8a060a19d3d3e8de77cbbce6e69708ba29792d547"
5649 },
5650 "d50404e968324a02a376823a9dfe89c1854c6dc044c50faadbc073862a0e0cfe": {
5651 "translations": {
5652 "python": {
5653 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ns3_key_filter_property = s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n)",
5654 "version": "2"
5655 },
5656 "csharp": {
5657 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nS3KeyFilterProperty s3KeyFilterProperty = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n};",
5658 "version": "1"
5659 },
5660 "java": {
5661 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nS3KeyFilterProperty s3KeyFilterProperty = S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build();",
5662 "version": "1"
5663 },
5664 "go": {
5665 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ns3KeyFilterProperty := &s3KeyFilterProperty{\n\trules: []interface{}{\n\t\t&filterRuleProperty{\n\t\t\tname: jsii.String(\"name\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
5666 "version": "1"
5667 },
5668 "$": {
5669 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst s3KeyFilterProperty: s3.CfnBucket.S3KeyFilterProperty = {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n};",
5670 "version": "0"
5671 }
5672 },
5673 "location": {
5674 "api": {
5675 "api": "type",
5676 "fqn": "@aws-cdk/aws-s3.CfnBucket.S3KeyFilterProperty"
5677 },
5678 "field": {
5679 "field": "example"
5680 }
5681 },
5682 "didCompile": true,
5683 "fqnsReferenced": [
5684 "@aws-cdk/aws-s3.CfnBucket.S3KeyFilterProperty"
5685 ],
5686 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst s3KeyFilterProperty: s3.CfnBucket.S3KeyFilterProperty = {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5687 "syntaxKindCounter": {
5688 "10": 3,
5689 "75": 8,
5690 "153": 2,
5691 "169": 1,
5692 "192": 1,
5693 "193": 2,
5694 "225": 1,
5695 "242": 1,
5696 "243": 1,
5697 "254": 1,
5698 "255": 1,
5699 "256": 1,
5700 "281": 3,
5701 "290": 1
5702 },
5703 "fqnsFingerprint": "dbebb12cfade0d62dd79eb7d112dd2018fd7049ffb208100dc46c2797d100ff8"
5704 },
5705 "a21f951fe613c02406604cd27c5eafb427bbb46aeb40d148f7ca283545b0991b": {
5706 "translations": {
5707 "python": {
5708 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nserver_side_encryption_by_default_property = s3.CfnBucket.ServerSideEncryptionByDefaultProperty(\n sse_algorithm=\"sseAlgorithm\",\n\n # the properties below are optional\n kms_master_key_id=\"kmsMasterKeyId\"\n)",
5709 "version": "2"
5710 },
5711 "csharp": {
5712 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nServerSideEncryptionByDefaultProperty serverSideEncryptionByDefaultProperty = new ServerSideEncryptionByDefaultProperty {\n SseAlgorithm = \"sseAlgorithm\",\n\n // the properties below are optional\n KmsMasterKeyId = \"kmsMasterKeyId\"\n};",
5713 "version": "1"
5714 },
5715 "java": {
5716 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nServerSideEncryptionByDefaultProperty serverSideEncryptionByDefaultProperty = ServerSideEncryptionByDefaultProperty.builder()\n .sseAlgorithm(\"sseAlgorithm\")\n\n // the properties below are optional\n .kmsMasterKeyId(\"kmsMasterKeyId\")\n .build();",
5717 "version": "1"
5718 },
5719 "go": {
5720 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nserverSideEncryptionByDefaultProperty := &serverSideEncryptionByDefaultProperty{\n\tsseAlgorithm: jsii.String(\"sseAlgorithm\"),\n\n\t// the properties below are optional\n\tkmsMasterKeyId: jsii.String(\"kmsMasterKeyId\"),\n}",
5721 "version": "1"
5722 },
5723 "$": {
5724 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst serverSideEncryptionByDefaultProperty: s3.CfnBucket.ServerSideEncryptionByDefaultProperty = {\n sseAlgorithm: 'sseAlgorithm',\n\n // the properties below are optional\n kmsMasterKeyId: 'kmsMasterKeyId',\n};",
5725 "version": "0"
5726 }
5727 },
5728 "location": {
5729 "api": {
5730 "api": "type",
5731 "fqn": "@aws-cdk/aws-s3.CfnBucket.ServerSideEncryptionByDefaultProperty"
5732 },
5733 "field": {
5734 "field": "example"
5735 }
5736 },
5737 "didCompile": true,
5738 "fqnsReferenced": [
5739 "@aws-cdk/aws-s3.CfnBucket.ServerSideEncryptionByDefaultProperty"
5740 ],
5741 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst serverSideEncryptionByDefaultProperty: s3.CfnBucket.ServerSideEncryptionByDefaultProperty = {\n sseAlgorithm: 'sseAlgorithm',\n\n // the properties below are optional\n kmsMasterKeyId: 'kmsMasterKeyId',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5742 "syntaxKindCounter": {
5743 "10": 3,
5744 "75": 7,
5745 "153": 2,
5746 "169": 1,
5747 "193": 1,
5748 "225": 1,
5749 "242": 1,
5750 "243": 1,
5751 "254": 1,
5752 "255": 1,
5753 "256": 1,
5754 "281": 2,
5755 "290": 1
5756 },
5757 "fqnsFingerprint": "3ce574a5012b4fed1613801bbec1fdb3c53fe0d83dce2612c8cbbcea332405d2"
5758 },
5759 "01eb2e9e3fa5b654ea3133e04e65491104c87673b4f20b15166604c8067d0c22": {
5760 "translations": {
5761 "python": {
5762 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nserver_side_encryption_rule_property = s3.CfnBucket.ServerSideEncryptionRuleProperty(\n bucket_key_enabled=False,\n server_side_encryption_by_default=s3.CfnBucket.ServerSideEncryptionByDefaultProperty(\n sse_algorithm=\"sseAlgorithm\",\n\n # the properties below are optional\n kms_master_key_id=\"kmsMasterKeyId\"\n )\n)",
5763 "version": "2"
5764 },
5765 "csharp": {
5766 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nServerSideEncryptionRuleProperty serverSideEncryptionRuleProperty = new ServerSideEncryptionRuleProperty {\n BucketKeyEnabled = false,\n ServerSideEncryptionByDefault = new ServerSideEncryptionByDefaultProperty {\n SseAlgorithm = \"sseAlgorithm\",\n\n // the properties below are optional\n KmsMasterKeyId = \"kmsMasterKeyId\"\n }\n};",
5767 "version": "1"
5768 },
5769 "java": {
5770 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nServerSideEncryptionRuleProperty serverSideEncryptionRuleProperty = ServerSideEncryptionRuleProperty.builder()\n .bucketKeyEnabled(false)\n .serverSideEncryptionByDefault(ServerSideEncryptionByDefaultProperty.builder()\n .sseAlgorithm(\"sseAlgorithm\")\n\n // the properties below are optional\n .kmsMasterKeyId(\"kmsMasterKeyId\")\n .build())\n .build();",
5771 "version": "1"
5772 },
5773 "go": {
5774 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nserverSideEncryptionRuleProperty := &serverSideEncryptionRuleProperty{\n\tbucketKeyEnabled: jsii.Boolean(false),\n\tserverSideEncryptionByDefault: &serverSideEncryptionByDefaultProperty{\n\t\tsseAlgorithm: jsii.String(\"sseAlgorithm\"),\n\n\t\t// the properties below are optional\n\t\tkmsMasterKeyId: jsii.String(\"kmsMasterKeyId\"),\n\t},\n}",
5775 "version": "1"
5776 },
5777 "$": {
5778 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst serverSideEncryptionRuleProperty: s3.CfnBucket.ServerSideEncryptionRuleProperty = {\n bucketKeyEnabled: false,\n serverSideEncryptionByDefault: {\n sseAlgorithm: 'sseAlgorithm',\n\n // the properties below are optional\n kmsMasterKeyId: 'kmsMasterKeyId',\n },\n};",
5779 "version": "0"
5780 }
5781 },
5782 "location": {
5783 "api": {
5784 "api": "type",
5785 "fqn": "@aws-cdk/aws-s3.CfnBucket.ServerSideEncryptionRuleProperty"
5786 },
5787 "field": {
5788 "field": "example"
5789 }
5790 },
5791 "didCompile": true,
5792 "fqnsReferenced": [
5793 "@aws-cdk/aws-s3.CfnBucket.ServerSideEncryptionRuleProperty"
5794 ],
5795 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst serverSideEncryptionRuleProperty: s3.CfnBucket.ServerSideEncryptionRuleProperty = {\n bucketKeyEnabled: false,\n serverSideEncryptionByDefault: {\n sseAlgorithm: 'sseAlgorithm',\n\n // the properties below are optional\n kmsMasterKeyId: 'kmsMasterKeyId',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5796 "syntaxKindCounter": {
5797 "10": 3,
5798 "75": 9,
5799 "91": 1,
5800 "153": 2,
5801 "169": 1,
5802 "193": 2,
5803 "225": 1,
5804 "242": 1,
5805 "243": 1,
5806 "254": 1,
5807 "255": 1,
5808 "256": 1,
5809 "281": 4,
5810 "290": 1
5811 },
5812 "fqnsFingerprint": "9d598a32b3003f1ee2668471c8f0de59ae66d88da43852740d0420bbe4a05211"
5813 },
5814 "d2ae90e39361b2d08c6669f7be33dc572edbe87edb85b9bc280f55861ea4e104": {
5815 "translations": {
5816 "python": {
5817 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nsource_selection_criteria_property = s3.CfnBucket.SourceSelectionCriteriaProperty(\n replica_modifications=s3.CfnBucket.ReplicaModificationsProperty(\n status=\"status\"\n ),\n sse_kms_encrypted_objects=s3.CfnBucket.SseKmsEncryptedObjectsProperty(\n status=\"status\"\n )\n)",
5818 "version": "2"
5819 },
5820 "csharp": {
5821 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nSourceSelectionCriteriaProperty sourceSelectionCriteriaProperty = new SourceSelectionCriteriaProperty {\n ReplicaModifications = new ReplicaModificationsProperty {\n Status = \"status\"\n },\n SseKmsEncryptedObjects = new SseKmsEncryptedObjectsProperty {\n Status = \"status\"\n }\n};",
5822 "version": "1"
5823 },
5824 "java": {
5825 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nSourceSelectionCriteriaProperty sourceSelectionCriteriaProperty = SourceSelectionCriteriaProperty.builder()\n .replicaModifications(ReplicaModificationsProperty.builder()\n .status(\"status\")\n .build())\n .sseKmsEncryptedObjects(SseKmsEncryptedObjectsProperty.builder()\n .status(\"status\")\n .build())\n .build();",
5826 "version": "1"
5827 },
5828 "go": {
5829 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nsourceSelectionCriteriaProperty := &sourceSelectionCriteriaProperty{\n\treplicaModifications: &replicaModificationsProperty{\n\t\tstatus: jsii.String(\"status\"),\n\t},\n\tsseKmsEncryptedObjects: &sseKmsEncryptedObjectsProperty{\n\t\tstatus: jsii.String(\"status\"),\n\t},\n}",
5830 "version": "1"
5831 },
5832 "$": {
5833 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst sourceSelectionCriteriaProperty: s3.CfnBucket.SourceSelectionCriteriaProperty = {\n replicaModifications: {\n status: 'status',\n },\n sseKmsEncryptedObjects: {\n status: 'status',\n },\n};",
5834 "version": "0"
5835 }
5836 },
5837 "location": {
5838 "api": {
5839 "api": "type",
5840 "fqn": "@aws-cdk/aws-s3.CfnBucket.SourceSelectionCriteriaProperty"
5841 },
5842 "field": {
5843 "field": "example"
5844 }
5845 },
5846 "didCompile": true,
5847 "fqnsReferenced": [
5848 "@aws-cdk/aws-s3.CfnBucket.SourceSelectionCriteriaProperty"
5849 ],
5850 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst sourceSelectionCriteriaProperty: s3.CfnBucket.SourceSelectionCriteriaProperty = {\n replicaModifications: {\n status: 'status',\n },\n sseKmsEncryptedObjects: {\n status: 'status',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5851 "syntaxKindCounter": {
5852 "10": 3,
5853 "75": 9,
5854 "153": 2,
5855 "169": 1,
5856 "193": 3,
5857 "225": 1,
5858 "242": 1,
5859 "243": 1,
5860 "254": 1,
5861 "255": 1,
5862 "256": 1,
5863 "281": 4,
5864 "290": 1
5865 },
5866 "fqnsFingerprint": "a13aaaf13e15808d06074868bb46e89f2964a843308f41294b472892577807e3"
5867 },
5868 "86ec0fb53ab995f5861dc7a015b8d581eb48736917dab92e4ef9839c74adb015": {
5869 "translations": {
5870 "python": {
5871 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nsse_kms_encrypted_objects_property = s3.CfnBucket.SseKmsEncryptedObjectsProperty(\n status=\"status\"\n)",
5872 "version": "2"
5873 },
5874 "csharp": {
5875 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nSseKmsEncryptedObjectsProperty sseKmsEncryptedObjectsProperty = new SseKmsEncryptedObjectsProperty {\n Status = \"status\"\n};",
5876 "version": "1"
5877 },
5878 "java": {
5879 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nSseKmsEncryptedObjectsProperty sseKmsEncryptedObjectsProperty = SseKmsEncryptedObjectsProperty.builder()\n .status(\"status\")\n .build();",
5880 "version": "1"
5881 },
5882 "go": {
5883 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nsseKmsEncryptedObjectsProperty := &sseKmsEncryptedObjectsProperty{\n\tstatus: jsii.String(\"status\"),\n}",
5884 "version": "1"
5885 },
5886 "$": {
5887 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst sseKmsEncryptedObjectsProperty: s3.CfnBucket.SseKmsEncryptedObjectsProperty = {\n status: 'status',\n};",
5888 "version": "0"
5889 }
5890 },
5891 "location": {
5892 "api": {
5893 "api": "type",
5894 "fqn": "@aws-cdk/aws-s3.CfnBucket.SseKmsEncryptedObjectsProperty"
5895 },
5896 "field": {
5897 "field": "example"
5898 }
5899 },
5900 "didCompile": true,
5901 "fqnsReferenced": [
5902 "@aws-cdk/aws-s3.CfnBucket.SseKmsEncryptedObjectsProperty"
5903 ],
5904 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst sseKmsEncryptedObjectsProperty: s3.CfnBucket.SseKmsEncryptedObjectsProperty = {\n status: 'status',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5905 "syntaxKindCounter": {
5906 "10": 2,
5907 "75": 6,
5908 "153": 2,
5909 "169": 1,
5910 "193": 1,
5911 "225": 1,
5912 "242": 1,
5913 "243": 1,
5914 "254": 1,
5915 "255": 1,
5916 "256": 1,
5917 "281": 1,
5918 "290": 1
5919 },
5920 "fqnsFingerprint": "b3ba54fceea8cb8a60d832d72624d867a3d38b7b10967596f4d128c84c78db82"
5921 },
5922 "89a98ae75e04f1ea31df045906194c488483c5446760aca425c425fa54b50ab6": {
5923 "translations": {
5924 "python": {
5925 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nstorage_class_analysis_property = s3.CfnBucket.StorageClassAnalysisProperty(\n data_export=s3.CfnBucket.DataExportProperty(\n destination=s3.CfnBucket.DestinationProperty(\n bucket_arn=\"bucketArn\",\n format=\"format\",\n\n # the properties below are optional\n bucket_account_id=\"bucketAccountId\",\n prefix=\"prefix\"\n ),\n output_schema_version=\"outputSchemaVersion\"\n )\n)",
5926 "version": "2"
5927 },
5928 "csharp": {
5929 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nStorageClassAnalysisProperty storageClassAnalysisProperty = new StorageClassAnalysisProperty {\n DataExport = new DataExportProperty {\n Destination = new DestinationProperty {\n BucketArn = \"bucketArn\",\n Format = \"format\",\n\n // the properties below are optional\n BucketAccountId = \"bucketAccountId\",\n Prefix = \"prefix\"\n },\n OutputSchemaVersion = \"outputSchemaVersion\"\n }\n};",
5930 "version": "1"
5931 },
5932 "java": {
5933 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nStorageClassAnalysisProperty storageClassAnalysisProperty = StorageClassAnalysisProperty.builder()\n .dataExport(DataExportProperty.builder()\n .destination(DestinationProperty.builder()\n .bucketArn(\"bucketArn\")\n .format(\"format\")\n\n // the properties below are optional\n .bucketAccountId(\"bucketAccountId\")\n .prefix(\"prefix\")\n .build())\n .outputSchemaVersion(\"outputSchemaVersion\")\n .build())\n .build();",
5934 "version": "1"
5935 },
5936 "go": {
5937 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nstorageClassAnalysisProperty := &storageClassAnalysisProperty{\n\tdataExport: &dataExportProperty{\n\t\tdestination: &destinationProperty{\n\t\t\tbucketArn: jsii.String(\"bucketArn\"),\n\t\t\tformat: jsii.String(\"format\"),\n\n\t\t\t// the properties below are optional\n\t\t\tbucketAccountId: jsii.String(\"bucketAccountId\"),\n\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t},\n\t\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n\t},\n}",
5938 "version": "1"
5939 },
5940 "$": {
5941 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst storageClassAnalysisProperty: s3.CfnBucket.StorageClassAnalysisProperty = {\n dataExport: {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n outputSchemaVersion: 'outputSchemaVersion',\n },\n};",
5942 "version": "0"
5943 }
5944 },
5945 "location": {
5946 "api": {
5947 "api": "type",
5948 "fqn": "@aws-cdk/aws-s3.CfnBucket.StorageClassAnalysisProperty"
5949 },
5950 "field": {
5951 "field": "example"
5952 }
5953 },
5954 "didCompile": true,
5955 "fqnsReferenced": [
5956 "@aws-cdk/aws-s3.CfnBucket.StorageClassAnalysisProperty"
5957 ],
5958 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst storageClassAnalysisProperty: s3.CfnBucket.StorageClassAnalysisProperty = {\n dataExport: {\n destination: {\n bucketArn: 'bucketArn',\n format: 'format',\n\n // the properties below are optional\n bucketAccountId: 'bucketAccountId',\n prefix: 'prefix',\n },\n outputSchemaVersion: 'outputSchemaVersion',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
5959 "syntaxKindCounter": {
5960 "10": 6,
5961 "75": 12,
5962 "153": 2,
5963 "169": 1,
5964 "193": 3,
5965 "225": 1,
5966 "242": 1,
5967 "243": 1,
5968 "254": 1,
5969 "255": 1,
5970 "256": 1,
5971 "281": 7,
5972 "290": 1
5973 },
5974 "fqnsFingerprint": "f2b2622ba5d9419c685d21e0236bc9bba588ec1bdd7bb728859a0151e2d717fa"
5975 },
5976 "d5a908c1e9c856515e7990eb85a65123f5a114da791f6f1a3dc600876407acfe": {
5977 "translations": {
5978 "python": {
5979 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ntag_filter_property = s3.CfnBucket.TagFilterProperty(\n key=\"key\",\n value=\"value\"\n)",
5980 "version": "2"
5981 },
5982 "csharp": {
5983 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nTagFilterProperty tagFilterProperty = new TagFilterProperty {\n Key = \"key\",\n Value = \"value\"\n};",
5984 "version": "1"
5985 },
5986 "java": {
5987 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nTagFilterProperty tagFilterProperty = TagFilterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n .build();",
5988 "version": "1"
5989 },
5990 "go": {
5991 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ntagFilterProperty := &tagFilterProperty{\n\tkey: jsii.String(\"key\"),\n\tvalue: jsii.String(\"value\"),\n}",
5992 "version": "1"
5993 },
5994 "$": {
5995 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst tagFilterProperty: s3.CfnBucket.TagFilterProperty = {\n key: 'key',\n value: 'value',\n};",
5996 "version": "0"
5997 }
5998 },
5999 "location": {
6000 "api": {
6001 "api": "type",
6002 "fqn": "@aws-cdk/aws-s3.CfnBucket.TagFilterProperty"
6003 },
6004 "field": {
6005 "field": "example"
6006 }
6007 },
6008 "didCompile": true,
6009 "fqnsReferenced": [
6010 "@aws-cdk/aws-s3.CfnBucket.TagFilterProperty"
6011 ],
6012 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst tagFilterProperty: s3.CfnBucket.TagFilterProperty = {\n key: 'key',\n value: 'value',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6013 "syntaxKindCounter": {
6014 "10": 3,
6015 "75": 7,
6016 "153": 2,
6017 "169": 1,
6018 "193": 1,
6019 "225": 1,
6020 "242": 1,
6021 "243": 1,
6022 "254": 1,
6023 "255": 1,
6024 "256": 1,
6025 "281": 2,
6026 "290": 1
6027 },
6028 "fqnsFingerprint": "09214e50fa345113cc4bc6591a941e7258d9b9b942933608218e1b4fd4b81023"
6029 },
6030 "ea55e80c29bbc40d2c34aabe53aa9fe4859477a137782a2d1b9ea0a5e4755cb2": {
6031 "translations": {
6032 "python": {
6033 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ntiering_property = s3.CfnBucket.TieringProperty(\n access_tier=\"accessTier\",\n days=123\n)",
6034 "version": "2"
6035 },
6036 "csharp": {
6037 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nTieringProperty tieringProperty = new TieringProperty {\n AccessTier = \"accessTier\",\n Days = 123\n};",
6038 "version": "1"
6039 },
6040 "java": {
6041 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nTieringProperty tieringProperty = TieringProperty.builder()\n .accessTier(\"accessTier\")\n .days(123)\n .build();",
6042 "version": "1"
6043 },
6044 "go": {
6045 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ntieringProperty := &tieringProperty{\n\taccessTier: jsii.String(\"accessTier\"),\n\tdays: jsii.Number(123),\n}",
6046 "version": "1"
6047 },
6048 "$": {
6049 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst tieringProperty: s3.CfnBucket.TieringProperty = {\n accessTier: 'accessTier',\n days: 123,\n};",
6050 "version": "0"
6051 }
6052 },
6053 "location": {
6054 "api": {
6055 "api": "type",
6056 "fqn": "@aws-cdk/aws-s3.CfnBucket.TieringProperty"
6057 },
6058 "field": {
6059 "field": "example"
6060 }
6061 },
6062 "didCompile": true,
6063 "fqnsReferenced": [
6064 "@aws-cdk/aws-s3.CfnBucket.TieringProperty"
6065 ],
6066 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst tieringProperty: s3.CfnBucket.TieringProperty = {\n accessTier: 'accessTier',\n days: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6067 "syntaxKindCounter": {
6068 "8": 1,
6069 "10": 2,
6070 "75": 7,
6071 "153": 2,
6072 "169": 1,
6073 "193": 1,
6074 "225": 1,
6075 "242": 1,
6076 "243": 1,
6077 "254": 1,
6078 "255": 1,
6079 "256": 1,
6080 "281": 2,
6081 "290": 1
6082 },
6083 "fqnsFingerprint": "fb98b48cc55ded31deae175f47d10abb4804b1b41290fbc9813a5cd1a63d2340"
6084 },
6085 "0e6213e13c02ec080928edf6f86c835b18a7f88f1f1817b8937d0850fc8f05ec": {
6086 "translations": {
6087 "python": {
6088 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ntopic_configuration_property = s3.CfnBucket.TopicConfigurationProperty(\n event=\"event\",\n topic=\"topic\",\n\n # the properties below are optional\n filter=s3.CfnBucket.NotificationFilterProperty(\n s3_key=s3.CfnBucket.S3KeyFilterProperty(\n rules=[s3.CfnBucket.FilterRuleProperty(\n name=\"name\",\n value=\"value\"\n )]\n )\n )\n)",
6089 "version": "2"
6090 },
6091 "csharp": {
6092 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nTopicConfigurationProperty topicConfigurationProperty = new TopicConfigurationProperty {\n Event = \"event\",\n Topic = \"topic\",\n\n // the properties below are optional\n Filter = new NotificationFilterProperty {\n S3Key = new S3KeyFilterProperty {\n Rules = new [] { new FilterRuleProperty {\n Name = \"name\",\n Value = \"value\"\n } }\n }\n }\n};",
6093 "version": "1"
6094 },
6095 "java": {
6096 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nTopicConfigurationProperty topicConfigurationProperty = TopicConfigurationProperty.builder()\n .event(\"event\")\n .topic(\"topic\")\n\n // the properties below are optional\n .filter(NotificationFilterProperty.builder()\n .s3Key(S3KeyFilterProperty.builder()\n .rules(List.of(FilterRuleProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .build())\n .build())\n .build();",
6097 "version": "1"
6098 },
6099 "go": {
6100 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ntopicConfigurationProperty := &topicConfigurationProperty{\n\tevent: jsii.String(\"event\"),\n\ttopic: jsii.String(\"topic\"),\n\n\t// the properties below are optional\n\tfilter: &notificationFilterProperty{\n\t\ts3Key: &s3KeyFilterProperty{\n\t\t\trules: []interface{}{\n\t\t\t\t&filterRuleProperty{\n\t\t\t\t\tname: jsii.String(\"name\"),\n\t\t\t\t\tvalue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n}",
6101 "version": "1"
6102 },
6103 "$": {
6104 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst topicConfigurationProperty: s3.CfnBucket.TopicConfigurationProperty = {\n event: 'event',\n topic: 'topic',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n};",
6105 "version": "0"
6106 }
6107 },
6108 "location": {
6109 "api": {
6110 "api": "type",
6111 "fqn": "@aws-cdk/aws-s3.CfnBucket.TopicConfigurationProperty"
6112 },
6113 "field": {
6114 "field": "example"
6115 }
6116 },
6117 "didCompile": true,
6118 "fqnsReferenced": [
6119 "@aws-cdk/aws-s3.CfnBucket.TopicConfigurationProperty"
6120 ],
6121 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst topicConfigurationProperty: s3.CfnBucket.TopicConfigurationProperty = {\n event: 'event',\n topic: 'topic',\n\n // the properties below are optional\n filter: {\n s3Key: {\n rules: [{\n name: 'name',\n value: 'value',\n }],\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6122 "syntaxKindCounter": {
6123 "10": 5,
6124 "75": 12,
6125 "153": 2,
6126 "169": 1,
6127 "192": 1,
6128 "193": 4,
6129 "225": 1,
6130 "242": 1,
6131 "243": 1,
6132 "254": 1,
6133 "255": 1,
6134 "256": 1,
6135 "281": 7,
6136 "290": 1
6137 },
6138 "fqnsFingerprint": "e05a71c0e1c0a13a774c2e2b985fa5437eac1e78a52c730a222e4487abd490d4"
6139 },
6140 "da64b1b46d19a557e9c0d2f0592fee4788509dc73c4e44a2a952eeea9a63707e": {
6141 "translations": {
6142 "python": {
6143 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ntransition_property = s3.CfnBucket.TransitionProperty(\n storage_class=\"storageClass\",\n\n # the properties below are optional\n transition_date=Date(),\n transition_in_days=123\n)",
6144 "version": "2"
6145 },
6146 "csharp": {
6147 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nTransitionProperty transitionProperty = new TransitionProperty {\n StorageClass = \"storageClass\",\n\n // the properties below are optional\n TransitionDate = new Date(),\n TransitionInDays = 123\n};",
6148 "version": "1"
6149 },
6150 "java": {
6151 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nTransitionProperty transitionProperty = TransitionProperty.builder()\n .storageClass(\"storageClass\")\n\n // the properties below are optional\n .transitionDate(new Date())\n .transitionInDays(123)\n .build();",
6152 "version": "1"
6153 },
6154 "go": {
6155 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ntransitionProperty := &transitionProperty{\n\tstorageClass: jsii.String(\"storageClass\"),\n\n\t// the properties below are optional\n\ttransitionDate: NewDate(),\n\ttransitionInDays: jsii.Number(123),\n}",
6156 "version": "1"
6157 },
6158 "$": {
6159 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst transitionProperty: s3.CfnBucket.TransitionProperty = {\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n};",
6160 "version": "0"
6161 }
6162 },
6163 "location": {
6164 "api": {
6165 "api": "type",
6166 "fqn": "@aws-cdk/aws-s3.CfnBucket.TransitionProperty"
6167 },
6168 "field": {
6169 "field": "example"
6170 }
6171 },
6172 "didCompile": true,
6173 "fqnsReferenced": [
6174 "@aws-cdk/aws-s3.CfnBucket.TransitionProperty"
6175 ],
6176 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst transitionProperty: s3.CfnBucket.TransitionProperty = {\n storageClass: 'storageClass',\n\n // the properties below are optional\n transitionDate: new Date(),\n transitionInDays: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6177 "syntaxKindCounter": {
6178 "8": 1,
6179 "10": 2,
6180 "75": 9,
6181 "153": 2,
6182 "169": 1,
6183 "193": 1,
6184 "197": 1,
6185 "225": 1,
6186 "242": 1,
6187 "243": 1,
6188 "254": 1,
6189 "255": 1,
6190 "256": 1,
6191 "281": 3,
6192 "290": 1
6193 },
6194 "fqnsFingerprint": "16abf3e51c691b54a95a653a6ec4dfb3360ddd10419ef2b47f2a0047d7204ab5"
6195 },
6196 "e308ed35cd4c834f521ed4f27c8d555cf4110afbe9423c5122eb686644f28589": {
6197 "translations": {
6198 "python": {
6199 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nversioning_configuration_property = s3.CfnBucket.VersioningConfigurationProperty(\n status=\"status\"\n)",
6200 "version": "2"
6201 },
6202 "csharp": {
6203 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nVersioningConfigurationProperty versioningConfigurationProperty = new VersioningConfigurationProperty {\n Status = \"status\"\n};",
6204 "version": "1"
6205 },
6206 "java": {
6207 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nVersioningConfigurationProperty versioningConfigurationProperty = VersioningConfigurationProperty.builder()\n .status(\"status\")\n .build();",
6208 "version": "1"
6209 },
6210 "go": {
6211 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nversioningConfigurationProperty := &versioningConfigurationProperty{\n\tstatus: jsii.String(\"status\"),\n}",
6212 "version": "1"
6213 },
6214 "$": {
6215 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst versioningConfigurationProperty: s3.CfnBucket.VersioningConfigurationProperty = {\n status: 'status',\n};",
6216 "version": "0"
6217 }
6218 },
6219 "location": {
6220 "api": {
6221 "api": "type",
6222 "fqn": "@aws-cdk/aws-s3.CfnBucket.VersioningConfigurationProperty"
6223 },
6224 "field": {
6225 "field": "example"
6226 }
6227 },
6228 "didCompile": true,
6229 "fqnsReferenced": [
6230 "@aws-cdk/aws-s3.CfnBucket.VersioningConfigurationProperty"
6231 ],
6232 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst versioningConfigurationProperty: s3.CfnBucket.VersioningConfigurationProperty = {\n status: 'status',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6233 "syntaxKindCounter": {
6234 "10": 2,
6235 "75": 6,
6236 "153": 2,
6237 "169": 1,
6238 "193": 1,
6239 "225": 1,
6240 "242": 1,
6241 "243": 1,
6242 "254": 1,
6243 "255": 1,
6244 "256": 1,
6245 "281": 1,
6246 "290": 1
6247 },
6248 "fqnsFingerprint": "9086cd634a5783d0ac71e136ba3e29f14baf16063981d1ab905f18db299187cf"
6249 },
6250 "5cdf8840e557b161b8bcda6b9a8f9d571cff1e2e1d3ece6f98ab0d04cc53817e": {
6251 "translations": {
6252 "python": {
6253 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nwebsite_configuration_property = s3.CfnBucket.WebsiteConfigurationProperty(\n error_document=\"errorDocument\",\n index_document=\"indexDocument\",\n redirect_all_requests_to=s3.CfnBucket.RedirectAllRequestsToProperty(\n host_name=\"hostName\",\n\n # the properties below are optional\n protocol=\"protocol\"\n ),\n routing_rules=[s3.CfnBucket.RoutingRuleProperty(\n redirect_rule=s3.CfnBucket.RedirectRuleProperty(\n host_name=\"hostName\",\n http_redirect_code=\"httpRedirectCode\",\n protocol=\"protocol\",\n replace_key_prefix_with=\"replaceKeyPrefixWith\",\n replace_key_with=\"replaceKeyWith\"\n ),\n\n # the properties below are optional\n routing_rule_condition=s3.CfnBucket.RoutingRuleConditionProperty(\n http_error_code_returned_equals=\"httpErrorCodeReturnedEquals\",\n key_prefix_equals=\"keyPrefixEquals\"\n )\n )]\n)",
6254 "version": "2"
6255 },
6256 "csharp": {
6257 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nWebsiteConfigurationProperty websiteConfigurationProperty = new WebsiteConfigurationProperty {\n ErrorDocument = \"errorDocument\",\n IndexDocument = \"indexDocument\",\n RedirectAllRequestsTo = new RedirectAllRequestsToProperty {\n HostName = \"hostName\",\n\n // the properties below are optional\n Protocol = \"protocol\"\n },\n RoutingRules = new [] { new RoutingRuleProperty {\n RedirectRule = new RedirectRuleProperty {\n HostName = \"hostName\",\n HttpRedirectCode = \"httpRedirectCode\",\n Protocol = \"protocol\",\n ReplaceKeyPrefixWith = \"replaceKeyPrefixWith\",\n ReplaceKeyWith = \"replaceKeyWith\"\n },\n\n // the properties below are optional\n RoutingRuleCondition = new RoutingRuleConditionProperty {\n HttpErrorCodeReturnedEquals = \"httpErrorCodeReturnedEquals\",\n KeyPrefixEquals = \"keyPrefixEquals\"\n }\n } }\n};",
6258 "version": "1"
6259 },
6260 "java": {
6261 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nWebsiteConfigurationProperty websiteConfigurationProperty = WebsiteConfigurationProperty.builder()\n .errorDocument(\"errorDocument\")\n .indexDocument(\"indexDocument\")\n .redirectAllRequestsTo(RedirectAllRequestsToProperty.builder()\n .hostName(\"hostName\")\n\n // the properties below are optional\n .protocol(\"protocol\")\n .build())\n .routingRules(List.of(RoutingRuleProperty.builder()\n .redirectRule(RedirectRuleProperty.builder()\n .hostName(\"hostName\")\n .httpRedirectCode(\"httpRedirectCode\")\n .protocol(\"protocol\")\n .replaceKeyPrefixWith(\"replaceKeyPrefixWith\")\n .replaceKeyWith(\"replaceKeyWith\")\n .build())\n\n // the properties below are optional\n .routingRuleCondition(RoutingRuleConditionProperty.builder()\n .httpErrorCodeReturnedEquals(\"httpErrorCodeReturnedEquals\")\n .keyPrefixEquals(\"keyPrefixEquals\")\n .build())\n .build()))\n .build();",
6262 "version": "1"
6263 },
6264 "go": {
6265 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nwebsiteConfigurationProperty := &websiteConfigurationProperty{\n\terrorDocument: jsii.String(\"errorDocument\"),\n\tindexDocument: jsii.String(\"indexDocument\"),\n\tredirectAllRequestsTo: &redirectAllRequestsToProperty{\n\t\thostName: jsii.String(\"hostName\"),\n\n\t\t// the properties below are optional\n\t\tprotocol: jsii.String(\"protocol\"),\n\t},\n\troutingRules: []interface{}{\n\t\t&routingRuleProperty{\n\t\t\tredirectRule: &redirectRuleProperty{\n\t\t\t\thostName: jsii.String(\"hostName\"),\n\t\t\t\thttpRedirectCode: jsii.String(\"httpRedirectCode\"),\n\t\t\t\tprotocol: jsii.String(\"protocol\"),\n\t\t\t\treplaceKeyPrefixWith: jsii.String(\"replaceKeyPrefixWith\"),\n\t\t\t\treplaceKeyWith: jsii.String(\"replaceKeyWith\"),\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\troutingRuleCondition: &routingRuleConditionProperty{\n\t\t\t\thttpErrorCodeReturnedEquals: jsii.String(\"httpErrorCodeReturnedEquals\"),\n\t\t\t\tkeyPrefixEquals: jsii.String(\"keyPrefixEquals\"),\n\t\t\t},\n\t\t},\n\t},\n}",
6266 "version": "1"
6267 },
6268 "$": {
6269 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst websiteConfigurationProperty: s3.CfnBucket.WebsiteConfigurationProperty = {\n errorDocument: 'errorDocument',\n indexDocument: 'indexDocument',\n redirectAllRequestsTo: {\n hostName: 'hostName',\n\n // the properties below are optional\n protocol: 'protocol',\n },\n routingRules: [{\n redirectRule: {\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: 'protocol',\n replaceKeyPrefixWith: 'replaceKeyPrefixWith',\n replaceKeyWith: 'replaceKeyWith',\n },\n\n // the properties below are optional\n routingRuleCondition: {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n },\n }],\n};",
6270 "version": "0"
6271 }
6272 },
6273 "location": {
6274 "api": {
6275 "api": "type",
6276 "fqn": "@aws-cdk/aws-s3.CfnBucket.WebsiteConfigurationProperty"
6277 },
6278 "field": {
6279 "field": "example"
6280 }
6281 },
6282 "didCompile": true,
6283 "fqnsReferenced": [
6284 "@aws-cdk/aws-s3.CfnBucket.WebsiteConfigurationProperty"
6285 ],
6286 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst websiteConfigurationProperty: s3.CfnBucket.WebsiteConfigurationProperty = {\n errorDocument: 'errorDocument',\n indexDocument: 'indexDocument',\n redirectAllRequestsTo: {\n hostName: 'hostName',\n\n // the properties below are optional\n protocol: 'protocol',\n },\n routingRules: [{\n redirectRule: {\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: 'protocol',\n replaceKeyPrefixWith: 'replaceKeyPrefixWith',\n replaceKeyWith: 'replaceKeyWith',\n },\n\n // the properties below are optional\n routingRuleCondition: {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n },\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6287 "syntaxKindCounter": {
6288 "10": 12,
6289 "75": 20,
6290 "153": 2,
6291 "169": 1,
6292 "192": 1,
6293 "193": 5,
6294 "225": 1,
6295 "242": 1,
6296 "243": 1,
6297 "254": 1,
6298 "255": 1,
6299 "256": 1,
6300 "281": 15,
6301 "290": 1
6302 },
6303 "fqnsFingerprint": "97f488b117fde7e9cd3a5c30d83c0a2abb88b2e5f2e62fa353312730a99c4146"
6304 },
6305 "987fb71b56059dab5baaaeed560b321488c825b1b8c700d9f0812fcecec585fb": {
6306 "translations": {
6307 "python": {
6308 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# policy_document: Any\n\ncfn_bucket_policy = s3.CfnBucketPolicy(self, \"MyCfnBucketPolicy\",\n bucket=\"bucket\",\n policy_document=policy_document\n)",
6309 "version": "2"
6310 },
6311 "csharp": {
6312 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar policyDocument;\n\nCfnBucketPolicy cfnBucketPolicy = new CfnBucketPolicy(this, \"MyCfnBucketPolicy\", new CfnBucketPolicyProps {\n Bucket = \"bucket\",\n PolicyDocument = policyDocument\n});",
6313 "version": "1"
6314 },
6315 "java": {
6316 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject policyDocument;\n\nCfnBucketPolicy cfnBucketPolicy = CfnBucketPolicy.Builder.create(this, \"MyCfnBucketPolicy\")\n .bucket(\"bucket\")\n .policyDocument(policyDocument)\n .build();",
6317 "version": "1"
6318 },
6319 "go": {
6320 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar policyDocument interface{}\n\ncfnBucketPolicy := s3.NewCfnBucketPolicy(this, jsii.String(\"MyCfnBucketPolicy\"), &cfnBucketPolicyProps{\n\tbucket: jsii.String(\"bucket\"),\n\tpolicyDocument: policyDocument,\n})",
6321 "version": "1"
6322 },
6323 "$": {
6324 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policyDocument: any;\nconst cfnBucketPolicy = new s3.CfnBucketPolicy(this, 'MyCfnBucketPolicy', {\n bucket: 'bucket',\n policyDocument: policyDocument,\n});",
6325 "version": "0"
6326 }
6327 },
6328 "location": {
6329 "api": {
6330 "api": "type",
6331 "fqn": "@aws-cdk/aws-s3.CfnBucketPolicy"
6332 },
6333 "field": {
6334 "field": "example"
6335 }
6336 },
6337 "didCompile": true,
6338 "fqnsReferenced": [
6339 "@aws-cdk/aws-s3.CfnBucketPolicy",
6340 "@aws-cdk/aws-s3.CfnBucketPolicyProps",
6341 "@aws-cdk/core.Construct"
6342 ],
6343 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policyDocument: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnBucketPolicy = new s3.CfnBucketPolicy(this, 'MyCfnBucketPolicy', {\n bucket: 'bucket',\n policyDocument: policyDocument,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6344 "syntaxKindCounter": {
6345 "10": 3,
6346 "75": 8,
6347 "104": 1,
6348 "125": 1,
6349 "130": 1,
6350 "193": 1,
6351 "194": 1,
6352 "197": 1,
6353 "225": 2,
6354 "242": 2,
6355 "243": 2,
6356 "254": 1,
6357 "255": 1,
6358 "256": 1,
6359 "281": 2,
6360 "290": 1
6361 },
6362 "fqnsFingerprint": "bc07948c6acc5431d7a9e087a6b388184c127f29bc7bddb3dabbf7a6a544011f"
6363 },
6364 "036e779bf902d91b055a6d119b701cef6314b80d839428993b332ed2153ec882": {
6365 "translations": {
6366 "python": {
6367 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# policy_document: Any\n\ncfn_bucket_policy_props = s3.CfnBucketPolicyProps(\n bucket=\"bucket\",\n policy_document=policy_document\n)",
6368 "version": "2"
6369 },
6370 "csharp": {
6371 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar policyDocument;\n\nCfnBucketPolicyProps cfnBucketPolicyProps = new CfnBucketPolicyProps {\n Bucket = \"bucket\",\n PolicyDocument = policyDocument\n};",
6372 "version": "1"
6373 },
6374 "java": {
6375 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject policyDocument;\n\nCfnBucketPolicyProps cfnBucketPolicyProps = CfnBucketPolicyProps.builder()\n .bucket(\"bucket\")\n .policyDocument(policyDocument)\n .build();",
6376 "version": "1"
6377 },
6378 "go": {
6379 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar policyDocument interface{}\n\ncfnBucketPolicyProps := &cfnBucketPolicyProps{\n\tbucket: jsii.String(\"bucket\"),\n\tpolicyDocument: policyDocument,\n}",
6380 "version": "1"
6381 },
6382 "$": {
6383 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policyDocument: any;\nconst cfnBucketPolicyProps: s3.CfnBucketPolicyProps = {\n bucket: 'bucket',\n policyDocument: policyDocument,\n};",
6384 "version": "0"
6385 }
6386 },
6387 "location": {
6388 "api": {
6389 "api": "type",
6390 "fqn": "@aws-cdk/aws-s3.CfnBucketPolicyProps"
6391 },
6392 "field": {
6393 "field": "example"
6394 }
6395 },
6396 "didCompile": true,
6397 "fqnsReferenced": [
6398 "@aws-cdk/aws-s3.CfnBucketPolicyProps"
6399 ],
6400 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policyDocument: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnBucketPolicyProps: s3.CfnBucketPolicyProps = {\n bucket: 'bucket',\n policyDocument: policyDocument,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6401 "syntaxKindCounter": {
6402 "10": 2,
6403 "75": 8,
6404 "125": 1,
6405 "130": 1,
6406 "153": 1,
6407 "169": 1,
6408 "193": 1,
6409 "225": 2,
6410 "242": 2,
6411 "243": 2,
6412 "254": 1,
6413 "255": 1,
6414 "256": 1,
6415 "281": 2,
6416 "290": 1
6417 },
6418 "fqnsFingerprint": "52a7535cb731f3ecb1b274a912a3613208e2686a13b8c39339637df0221c61cc"
6419 },
6420 "7d40a5be00b45be6cf0b004a273024dd390059ecb0dc5408b4ee29ab6d1fa135": {
6421 "translations": {
6422 "python": {
6423 "source": "raw_bucket = s3.CfnBucket(self, \"Bucket\")\n# -or-\nraw_bucket_alt = my_bucket.node.default_child\n\n# then\nraw_bucket.cfn_options.condition = CfnCondition(self, \"EnableBucket\")\nraw_bucket.cfn_options.metadata = {\n \"metadata_key\": \"MetadataValue\"\n}",
6424 "version": "2"
6425 },
6426 "csharp": {
6427 "source": "CfnBucket rawBucket = new CfnBucket(this, \"Bucket\", new CfnBucketProps { });\n// -or-\nCfnBucket rawBucketAlt = (CfnBucket)myBucket.Node.DefaultChild;\n\n// then\nrawBucket.CfnOptions.Condition = new CfnCondition(this, \"EnableBucket\", new CfnConditionProps { });\nrawBucket.CfnOptions.Metadata = new Dictionary<string, object> {\n { \"metadataKey\", \"MetadataValue\" }\n};",
6428 "version": "1"
6429 },
6430 "java": {
6431 "source": "CfnBucket rawBucket = CfnBucket.Builder.create(this, \"Bucket\").build();\n// -or-\nCfnBucket rawBucketAlt = (CfnBucket)myBucket.getNode().getDefaultChild();\n\n// then\nrawBucket.getCfnOptions().getCondition() = CfnCondition.Builder.create(this, \"EnableBucket\").build();\nrawBucket.getCfnOptions().getMetadata() = Map.of(\n \"metadataKey\", \"MetadataValue\");",
6432 "version": "1"
6433 },
6434 "go": {
6435 "source": "rawBucket := s3.NewCfnBucket(this, jsii.String(\"Bucket\"), &cfnBucketProps{\n})\n// -or-\nrawBucketAlt := myBucket.node.defaultChild.(cfnBucket)\n\n// then\nrawBucket.cfnOptions.condition = awscdkcore.NewCfnCondition(this, jsii.String(\"EnableBucket\"), &cfnConditionProps{\n})\nrawBucket.cfnOptions.metadata = map[string]interface{}{\n\t\"metadataKey\": jsii.String(\"MetadataValue\"),\n}",
6436 "version": "1"
6437 },
6438 "$": {
6439 "source": "const rawBucket = new s3.CfnBucket(this, 'Bucket', { /* ... */ });\n// -or-\nconst rawBucketAlt = myBucket.node.defaultChild as s3.CfnBucket;\n\n// then\nrawBucket.cfnOptions.condition = new CfnCondition(this, 'EnableBucket', { /* ... */ });\nrawBucket.cfnOptions.metadata = {\n metadataKey: 'MetadataValue',\n};",
6440 "version": "0"
6441 }
6442 },
6443 "location": {
6444 "api": {
6445 "api": "type",
6446 "fqn": "@aws-cdk/aws-s3.CfnBucketProps"
6447 },
6448 "field": {
6449 "field": "example"
6450 }
6451 },
6452 "didCompile": true,
6453 "fqnsReferenced": [
6454 "@aws-cdk/aws-s3.CfnBucket",
6455 "@aws-cdk/aws-s3.CfnBucketProps",
6456 "@aws-cdk/core.CfnCondition",
6457 "@aws-cdk/core.CfnConditionProps",
6458 "@aws-cdk/core.CfnResource#cfnOptions",
6459 "@aws-cdk/core.Construct",
6460 "@aws-cdk/core.ICfnResourceOptions#condition",
6461 "@aws-cdk/core.ICfnResourceOptions#metadata",
6462 "@aws-cdk/core.IConstruct#node",
6463 "constructs.Construct"
6464 ],
6465 "fullSource": "import * as cfn from '@aws-cdk/aws-cloudformation';\nimport * as customresources from '@aws-cdk/custom-resources';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport {\n App,\n Aws,\n CfnCondition,\n CfnDynamicReference,\n CfnDynamicReferenceService,\n CfnInclude,\n CfnJson,\n CfnMapping,\n CfnOutput,\n CfnParameter,\n CfnResource,\n CfnResourceProps,\n ConcreteDependable,\n Construct,\n CustomResource,\n CustomResourceProvider,\n CustomResourceProviderRuntime,\n DefaultStackSynthesizer,\n DependableTrait,\n Duration,\n Fn,\n IConstruct,\n RemovalPolicy,\n SecretValue,\n Size,\n SizeRoundingBehavior,\n Stack,\n StackProps,\n Stage,\n Token,\n} from '@aws-cdk/core';\n\ndeclare const app: App;\ndeclare const arn: 'arn:partition:service:region:account-id:resource-id';\ndeclare const cfnResource: CfnResource;\ndeclare const construct: Construct;\ndeclare const constructA: Construct;\ndeclare const constructB: Construct;\ndeclare const constructC: Construct;\ndeclare const functionProps: lambda.FunctionProps;\ndeclare const isCompleteHandler: lambda.Function;\ndeclare const myBucket: s3.IBucket;\ndeclare const myFunction: lambda.IFunction;\ndeclare const myTopic: sns.ITopic;\ndeclare const onEventHandler: lambda.Function;\ndeclare const resourceProps: CfnResourceProps;\n\ndeclare class MyStack extends Stack {}\ndeclare class YourStack extends Stack {}\n\nclass StackThatProvidesABucket extends Stack {\n public readonly bucket!: s3.IBucket;\n}\n\ninterface StackThatExpectsABucketProps extends StackProps {\n readonly bucket: s3.IBucket;\n}\n\nclass StackThatExpectsABucket extends Stack {\n constructor(scope: Construct, id: string, props: StackThatExpectsABucketProps) {\n super(scope, id, props);\n }\n}\n\nclass fixture$construct extends Construct {\n public constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst rawBucket = new s3.CfnBucket(this, 'Bucket', { /* ... */ });\n// -or-\nconst rawBucketAlt = myBucket.node.defaultChild as s3.CfnBucket;\n\n// then\nrawBucket.cfnOptions.condition = new CfnCondition(this, 'EnableBucket', { /* ... */ });\nrawBucket.cfnOptions.metadata = {\n metadataKey: 'MetadataValue',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
6466 "syntaxKindCounter": {
6467 "10": 3,
6468 "62": 2,
6469 "75": 17,
6470 "104": 2,
6471 "153": 1,
6472 "169": 1,
6473 "193": 3,
6474 "194": 7,
6475 "197": 2,
6476 "209": 2,
6477 "217": 1,
6478 "225": 2,
6479 "226": 2,
6480 "242": 2,
6481 "243": 2,
6482 "281": 1
6483 },
6484 "fqnsFingerprint": "8cfa6d22d7e3fb9050eac6b342fc8b118ea2fa99814465cd9c5ff2b7bc2c8ba5"
6485 },
6486 "1e93b38925f92c3999903bd40b464c164553000bbddc0537e26cd901afd5ae32": {
6487 "translations": {
6488 "python": {
6489 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ncfn_multi_region_access_point = s3.CfnMultiRegionAccessPoint(self, \"MyCfnMultiRegionAccessPoint\",\n regions=[s3.CfnMultiRegionAccessPoint.RegionProperty(\n bucket=\"bucket\"\n )],\n\n # the properties below are optional\n name=\"name\",\n public_access_block_configuration=s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty(\n block_public_acls=False,\n block_public_policy=False,\n ignore_public_acls=False,\n restrict_public_buckets=False\n )\n)",
6490 "version": "2"
6491 },
6492 "csharp": {
6493 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nCfnMultiRegionAccessPoint cfnMultiRegionAccessPoint = new CfnMultiRegionAccessPoint(this, \"MyCfnMultiRegionAccessPoint\", new CfnMultiRegionAccessPointProps {\n Regions = new [] { new RegionProperty {\n Bucket = \"bucket\"\n } },\n\n // the properties below are optional\n Name = \"name\",\n PublicAccessBlockConfiguration = new PublicAccessBlockConfigurationProperty {\n BlockPublicAcls = false,\n BlockPublicPolicy = false,\n IgnorePublicAcls = false,\n RestrictPublicBuckets = false\n }\n});",
6494 "version": "1"
6495 },
6496 "java": {
6497 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nCfnMultiRegionAccessPoint cfnMultiRegionAccessPoint = CfnMultiRegionAccessPoint.Builder.create(this, \"MyCfnMultiRegionAccessPoint\")\n .regions(List.of(RegionProperty.builder()\n .bucket(\"bucket\")\n .build()))\n\n // the properties below are optional\n .name(\"name\")\n .publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()\n .blockPublicAcls(false)\n .blockPublicPolicy(false)\n .ignorePublicAcls(false)\n .restrictPublicBuckets(false)\n .build())\n .build();",
6498 "version": "1"
6499 },
6500 "go": {
6501 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ncfnMultiRegionAccessPoint := s3.NewCfnMultiRegionAccessPoint(this, jsii.String(\"MyCfnMultiRegionAccessPoint\"), &cfnMultiRegionAccessPointProps{\n\tregions: []interface{}{\n\t\t&regionProperty{\n\t\t\tbucket: jsii.String(\"bucket\"),\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tname: jsii.String(\"name\"),\n\tpublicAccessBlockConfiguration: &publicAccessBlockConfigurationProperty{\n\t\tblockPublicAcls: jsii.Boolean(false),\n\t\tblockPublicPolicy: jsii.Boolean(false),\n\t\tignorePublicAcls: jsii.Boolean(false),\n\t\trestrictPublicBuckets: jsii.Boolean(false),\n\t},\n})",
6502 "version": "1"
6503 },
6504 "$": {
6505 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst cfnMultiRegionAccessPoint = new s3.CfnMultiRegionAccessPoint(this, 'MyCfnMultiRegionAccessPoint', {\n regions: [{\n bucket: 'bucket',\n }],\n\n // the properties below are optional\n name: 'name',\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n});",
6506 "version": "0"
6507 }
6508 },
6509 "location": {
6510 "api": {
6511 "api": "type",
6512 "fqn": "@aws-cdk/aws-s3.CfnMultiRegionAccessPoint"
6513 },
6514 "field": {
6515 "field": "example"
6516 }
6517 },
6518 "didCompile": true,
6519 "fqnsReferenced": [
6520 "@aws-cdk/aws-s3.CfnMultiRegionAccessPoint",
6521 "@aws-cdk/aws-s3.CfnMultiRegionAccessPointProps",
6522 "@aws-cdk/core.Construct"
6523 ],
6524 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnMultiRegionAccessPoint = new s3.CfnMultiRegionAccessPoint(this, 'MyCfnMultiRegionAccessPoint', {\n regions: [{\n bucket: 'bucket',\n }],\n\n // the properties below are optional\n name: 'name',\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6525 "syntaxKindCounter": {
6526 "10": 4,
6527 "75": 12,
6528 "91": 4,
6529 "104": 1,
6530 "192": 1,
6531 "193": 3,
6532 "194": 1,
6533 "197": 1,
6534 "225": 1,
6535 "242": 1,
6536 "243": 1,
6537 "254": 1,
6538 "255": 1,
6539 "256": 1,
6540 "281": 8,
6541 "290": 1
6542 },
6543 "fqnsFingerprint": "b7598f154e170a642f74397eded7d1e61486ebe15bf4c1a8f11a6d7a65b9f20c"
6544 },
6545 "53c5c1ad979b1219f4b5dae8da3d44342e91ba06f0d0023a73afe7050f901279": {
6546 "translations": {
6547 "python": {
6548 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\npublic_access_block_configuration_property = s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty(\n block_public_acls=False,\n block_public_policy=False,\n ignore_public_acls=False,\n restrict_public_buckets=False\n)",
6549 "version": "2"
6550 },
6551 "csharp": {
6552 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nPublicAccessBlockConfigurationProperty publicAccessBlockConfigurationProperty = new PublicAccessBlockConfigurationProperty {\n BlockPublicAcls = false,\n BlockPublicPolicy = false,\n IgnorePublicAcls = false,\n RestrictPublicBuckets = false\n};",
6553 "version": "1"
6554 },
6555 "java": {
6556 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nPublicAccessBlockConfigurationProperty publicAccessBlockConfigurationProperty = PublicAccessBlockConfigurationProperty.builder()\n .blockPublicAcls(false)\n .blockPublicPolicy(false)\n .ignorePublicAcls(false)\n .restrictPublicBuckets(false)\n .build();",
6557 "version": "1"
6558 },
6559 "go": {
6560 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\npublicAccessBlockConfigurationProperty := &publicAccessBlockConfigurationProperty{\n\tblockPublicAcls: jsii.Boolean(false),\n\tblockPublicPolicy: jsii.Boolean(false),\n\tignorePublicAcls: jsii.Boolean(false),\n\trestrictPublicBuckets: jsii.Boolean(false),\n}",
6561 "version": "1"
6562 },
6563 "$": {
6564 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst publicAccessBlockConfigurationProperty: s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty = {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n};",
6565 "version": "0"
6566 }
6567 },
6568 "location": {
6569 "api": {
6570 "api": "type",
6571 "fqn": "@aws-cdk/aws-s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty"
6572 },
6573 "field": {
6574 "field": "example"
6575 }
6576 },
6577 "didCompile": true,
6578 "fqnsReferenced": [
6579 "@aws-cdk/aws-s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty"
6580 ],
6581 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst publicAccessBlockConfigurationProperty: s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty = {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6582 "syntaxKindCounter": {
6583 "10": 1,
6584 "75": 9,
6585 "91": 4,
6586 "153": 2,
6587 "169": 1,
6588 "193": 1,
6589 "225": 1,
6590 "242": 1,
6591 "243": 1,
6592 "254": 1,
6593 "255": 1,
6594 "256": 1,
6595 "281": 4,
6596 "290": 1
6597 },
6598 "fqnsFingerprint": "b36747bd4407ac53632ba6779b428af03060479685f2cd883a7a219bc19bbcd3"
6599 },
6600 "35aefdc1772b120431f1e64f7aa86bc2841c905f2f8ff8ce2a2e4c8d3ffa75a7": {
6601 "translations": {
6602 "python": {
6603 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nregion_property = s3.CfnMultiRegionAccessPoint.RegionProperty(\n bucket=\"bucket\"\n)",
6604 "version": "2"
6605 },
6606 "csharp": {
6607 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nRegionProperty regionProperty = new RegionProperty {\n Bucket = \"bucket\"\n};",
6608 "version": "1"
6609 },
6610 "java": {
6611 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nRegionProperty regionProperty = RegionProperty.builder()\n .bucket(\"bucket\")\n .build();",
6612 "version": "1"
6613 },
6614 "go": {
6615 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nregionProperty := &regionProperty{\n\tbucket: jsii.String(\"bucket\"),\n}",
6616 "version": "1"
6617 },
6618 "$": {
6619 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst regionProperty: s3.CfnMultiRegionAccessPoint.RegionProperty = {\n bucket: 'bucket',\n};",
6620 "version": "0"
6621 }
6622 },
6623 "location": {
6624 "api": {
6625 "api": "type",
6626 "fqn": "@aws-cdk/aws-s3.CfnMultiRegionAccessPoint.RegionProperty"
6627 },
6628 "field": {
6629 "field": "example"
6630 }
6631 },
6632 "didCompile": true,
6633 "fqnsReferenced": [
6634 "@aws-cdk/aws-s3.CfnMultiRegionAccessPoint.RegionProperty"
6635 ],
6636 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst regionProperty: s3.CfnMultiRegionAccessPoint.RegionProperty = {\n bucket: 'bucket',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6637 "syntaxKindCounter": {
6638 "10": 2,
6639 "75": 6,
6640 "153": 2,
6641 "169": 1,
6642 "193": 1,
6643 "225": 1,
6644 "242": 1,
6645 "243": 1,
6646 "254": 1,
6647 "255": 1,
6648 "256": 1,
6649 "281": 1,
6650 "290": 1
6651 },
6652 "fqnsFingerprint": "4e6833f88ee48ae0024a2caec8ed801b444b874a0f4c88d23398beadcf47be3d"
6653 },
6654 "91d345450c216df95ac5d4775ecc57e8404b47776ad11500e4514b5489123ce3": {
6655 "translations": {
6656 "python": {
6657 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# policy: Any\n\ncfn_multi_region_access_point_policy = s3.CfnMultiRegionAccessPointPolicy(self, \"MyCfnMultiRegionAccessPointPolicy\",\n mrap_name=\"mrapName\",\n policy=policy\n)",
6658 "version": "2"
6659 },
6660 "csharp": {
6661 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar policy;\n\nCfnMultiRegionAccessPointPolicy cfnMultiRegionAccessPointPolicy = new CfnMultiRegionAccessPointPolicy(this, \"MyCfnMultiRegionAccessPointPolicy\", new CfnMultiRegionAccessPointPolicyProps {\n MrapName = \"mrapName\",\n Policy = policy\n});",
6662 "version": "1"
6663 },
6664 "java": {
6665 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject policy;\n\nCfnMultiRegionAccessPointPolicy cfnMultiRegionAccessPointPolicy = CfnMultiRegionAccessPointPolicy.Builder.create(this, \"MyCfnMultiRegionAccessPointPolicy\")\n .mrapName(\"mrapName\")\n .policy(policy)\n .build();",
6666 "version": "1"
6667 },
6668 "go": {
6669 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar policy interface{}\n\ncfnMultiRegionAccessPointPolicy := s3.NewCfnMultiRegionAccessPointPolicy(this, jsii.String(\"MyCfnMultiRegionAccessPointPolicy\"), &cfnMultiRegionAccessPointPolicyProps{\n\tmrapName: jsii.String(\"mrapName\"),\n\tpolicy: policy,\n})",
6670 "version": "1"
6671 },
6672 "$": {
6673 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\nconst cfnMultiRegionAccessPointPolicy = new s3.CfnMultiRegionAccessPointPolicy(this, 'MyCfnMultiRegionAccessPointPolicy', {\n mrapName: 'mrapName',\n policy: policy,\n});",
6674 "version": "0"
6675 }
6676 },
6677 "location": {
6678 "api": {
6679 "api": "type",
6680 "fqn": "@aws-cdk/aws-s3.CfnMultiRegionAccessPointPolicy"
6681 },
6682 "field": {
6683 "field": "example"
6684 }
6685 },
6686 "didCompile": true,
6687 "fqnsReferenced": [
6688 "@aws-cdk/aws-s3.CfnMultiRegionAccessPointPolicy",
6689 "@aws-cdk/aws-s3.CfnMultiRegionAccessPointPolicyProps",
6690 "@aws-cdk/core.Construct"
6691 ],
6692 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnMultiRegionAccessPointPolicy = new s3.CfnMultiRegionAccessPointPolicy(this, 'MyCfnMultiRegionAccessPointPolicy', {\n mrapName: 'mrapName',\n policy: policy,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6693 "syntaxKindCounter": {
6694 "10": 3,
6695 "75": 8,
6696 "104": 1,
6697 "125": 1,
6698 "130": 1,
6699 "193": 1,
6700 "194": 1,
6701 "197": 1,
6702 "225": 2,
6703 "242": 2,
6704 "243": 2,
6705 "254": 1,
6706 "255": 1,
6707 "256": 1,
6708 "281": 2,
6709 "290": 1
6710 },
6711 "fqnsFingerprint": "2fe841c0e4c97d7dd29ab717d0917ce57ce05a6485788c0dc3421c7e709d0c14"
6712 },
6713 "78c0107d373a6db96a0a2b4b392ca612929b31d7944c4cd3d47fa7ed33b0f423": {
6714 "translations": {
6715 "python": {
6716 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# policy: Any\n\ncfn_multi_region_access_point_policy_props = s3.CfnMultiRegionAccessPointPolicyProps(\n mrap_name=\"mrapName\",\n policy=policy\n)",
6717 "version": "2"
6718 },
6719 "csharp": {
6720 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar policy;\n\nCfnMultiRegionAccessPointPolicyProps cfnMultiRegionAccessPointPolicyProps = new CfnMultiRegionAccessPointPolicyProps {\n MrapName = \"mrapName\",\n Policy = policy\n};",
6721 "version": "1"
6722 },
6723 "java": {
6724 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject policy;\n\nCfnMultiRegionAccessPointPolicyProps cfnMultiRegionAccessPointPolicyProps = CfnMultiRegionAccessPointPolicyProps.builder()\n .mrapName(\"mrapName\")\n .policy(policy)\n .build();",
6725 "version": "1"
6726 },
6727 "go": {
6728 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar policy interface{}\n\ncfnMultiRegionAccessPointPolicyProps := &cfnMultiRegionAccessPointPolicyProps{\n\tmrapName: jsii.String(\"mrapName\"),\n\tpolicy: policy,\n}",
6729 "version": "1"
6730 },
6731 "$": {
6732 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\nconst cfnMultiRegionAccessPointPolicyProps: s3.CfnMultiRegionAccessPointPolicyProps = {\n mrapName: 'mrapName',\n policy: policy,\n};",
6733 "version": "0"
6734 }
6735 },
6736 "location": {
6737 "api": {
6738 "api": "type",
6739 "fqn": "@aws-cdk/aws-s3.CfnMultiRegionAccessPointPolicyProps"
6740 },
6741 "field": {
6742 "field": "example"
6743 }
6744 },
6745 "didCompile": true,
6746 "fqnsReferenced": [
6747 "@aws-cdk/aws-s3.CfnMultiRegionAccessPointPolicyProps"
6748 ],
6749 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const policy: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnMultiRegionAccessPointPolicyProps: s3.CfnMultiRegionAccessPointPolicyProps = {\n mrapName: 'mrapName',\n policy: policy,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6750 "syntaxKindCounter": {
6751 "10": 2,
6752 "75": 8,
6753 "125": 1,
6754 "130": 1,
6755 "153": 1,
6756 "169": 1,
6757 "193": 1,
6758 "225": 2,
6759 "242": 2,
6760 "243": 2,
6761 "254": 1,
6762 "255": 1,
6763 "256": 1,
6764 "281": 2,
6765 "290": 1
6766 },
6767 "fqnsFingerprint": "e49932565c751774443687c91cc49af80bf51334fa4af8d19e3bc0a29250838e"
6768 },
6769 "7a9db6b542714a30a8ac20725e50224aad98ebeb36ef48f36988c6003b5b30ff": {
6770 "translations": {
6771 "python": {
6772 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ncfn_multi_region_access_point_props = s3.CfnMultiRegionAccessPointProps(\n regions=[s3.CfnMultiRegionAccessPoint.RegionProperty(\n bucket=\"bucket\"\n )],\n\n # the properties below are optional\n name=\"name\",\n public_access_block_configuration=s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty(\n block_public_acls=False,\n block_public_policy=False,\n ignore_public_acls=False,\n restrict_public_buckets=False\n )\n)",
6773 "version": "2"
6774 },
6775 "csharp": {
6776 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nCfnMultiRegionAccessPointProps cfnMultiRegionAccessPointProps = new CfnMultiRegionAccessPointProps {\n Regions = new [] { new RegionProperty {\n Bucket = \"bucket\"\n } },\n\n // the properties below are optional\n Name = \"name\",\n PublicAccessBlockConfiguration = new PublicAccessBlockConfigurationProperty {\n BlockPublicAcls = false,\n BlockPublicPolicy = false,\n IgnorePublicAcls = false,\n RestrictPublicBuckets = false\n }\n};",
6777 "version": "1"
6778 },
6779 "java": {
6780 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nCfnMultiRegionAccessPointProps cfnMultiRegionAccessPointProps = CfnMultiRegionAccessPointProps.builder()\n .regions(List.of(RegionProperty.builder()\n .bucket(\"bucket\")\n .build()))\n\n // the properties below are optional\n .name(\"name\")\n .publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()\n .blockPublicAcls(false)\n .blockPublicPolicy(false)\n .ignorePublicAcls(false)\n .restrictPublicBuckets(false)\n .build())\n .build();",
6781 "version": "1"
6782 },
6783 "go": {
6784 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ncfnMultiRegionAccessPointProps := &cfnMultiRegionAccessPointProps{\n\tregions: []interface{}{\n\t\t&regionProperty{\n\t\t\tbucket: jsii.String(\"bucket\"),\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tname: jsii.String(\"name\"),\n\tpublicAccessBlockConfiguration: &publicAccessBlockConfigurationProperty{\n\t\tblockPublicAcls: jsii.Boolean(false),\n\t\tblockPublicPolicy: jsii.Boolean(false),\n\t\tignorePublicAcls: jsii.Boolean(false),\n\t\trestrictPublicBuckets: jsii.Boolean(false),\n\t},\n}",
6785 "version": "1"
6786 },
6787 "$": {
6788 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst cfnMultiRegionAccessPointProps: s3.CfnMultiRegionAccessPointProps = {\n regions: [{\n bucket: 'bucket',\n }],\n\n // the properties below are optional\n name: 'name',\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n};",
6789 "version": "0"
6790 }
6791 },
6792 "location": {
6793 "api": {
6794 "api": "type",
6795 "fqn": "@aws-cdk/aws-s3.CfnMultiRegionAccessPointProps"
6796 },
6797 "field": {
6798 "field": "example"
6799 }
6800 },
6801 "didCompile": true,
6802 "fqnsReferenced": [
6803 "@aws-cdk/aws-s3.CfnMultiRegionAccessPointProps"
6804 ],
6805 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnMultiRegionAccessPointProps: s3.CfnMultiRegionAccessPointProps = {\n regions: [{\n bucket: 'bucket',\n }],\n\n // the properties below are optional\n name: 'name',\n publicAccessBlockConfiguration: {\n blockPublicAcls: false,\n blockPublicPolicy: false,\n ignorePublicAcls: false,\n restrictPublicBuckets: false,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6806 "syntaxKindCounter": {
6807 "10": 3,
6808 "75": 12,
6809 "91": 4,
6810 "153": 1,
6811 "169": 1,
6812 "192": 1,
6813 "193": 3,
6814 "225": 1,
6815 "242": 1,
6816 "243": 1,
6817 "254": 1,
6818 "255": 1,
6819 "256": 1,
6820 "281": 8,
6821 "290": 1
6822 },
6823 "fqnsFingerprint": "2678ad48e7ff066240d5f1feafa4dc4db75aa5eadd2f2888d2fe48997cd51f0c"
6824 },
6825 "c5f429f86a10601e3b5a63fa06702bad2c2fae980269fa06d78f87fc3147abc4": {
6826 "translations": {
6827 "python": {
6828 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# encryption: Any\n\ncfn_storage_lens = s3.CfnStorageLens(self, \"MyCfnStorageLens\",\n storage_lens_configuration=s3.CfnStorageLens.StorageLensConfigurationProperty(\n account_level=s3.CfnStorageLens.AccountLevelProperty(\n bucket_level=s3.CfnStorageLens.BucketLevelProperty(\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n ),\n prefix_level=s3.CfnStorageLens.PrefixLevelProperty(\n storage_metrics=s3.CfnStorageLens.PrefixLevelStorageMetricsProperty(\n is_enabled=False,\n selection_criteria=s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n )\n )\n )\n ),\n\n # the properties below are optional\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n )\n ),\n id=\"id\",\n is_enabled=False,\n\n # the properties below are optional\n aws_org=s3.CfnStorageLens.AwsOrgProperty(\n arn=\"arn\"\n ),\n data_export=s3.CfnStorageLens.DataExportProperty(\n cloud_watch_metrics=s3.CfnStorageLens.CloudWatchMetricsProperty(\n is_enabled=False\n ),\n s3_bucket_destination=s3.CfnStorageLens.S3BucketDestinationProperty(\n account_id=\"accountId\",\n arn=\"arn\",\n format=\"format\",\n output_schema_version=\"outputSchemaVersion\",\n\n # the properties below are optional\n encryption=encryption,\n prefix=\"prefix\"\n )\n ),\n exclude=s3.CfnStorageLens.BucketsAndRegionsProperty(\n buckets=[\"buckets\"],\n regions=[\"regions\"]\n ),\n include=s3.CfnStorageLens.BucketsAndRegionsProperty(\n buckets=[\"buckets\"],\n regions=[\"regions\"]\n ),\n storage_lens_arn=\"storageLensArn\"\n ),\n\n # the properties below are optional\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)",
6829 "version": "2"
6830 },
6831 "csharp": {
6832 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar encryption;\n\nCfnStorageLens cfnStorageLens = new CfnStorageLens(this, \"MyCfnStorageLens\", new CfnStorageLensProps {\n StorageLensConfiguration = new StorageLensConfigurationProperty {\n AccountLevel = new AccountLevelProperty {\n BucketLevel = new BucketLevelProperty {\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n },\n PrefixLevel = new PrefixLevelProperty {\n StorageMetrics = new PrefixLevelStorageMetricsProperty {\n IsEnabled = false,\n SelectionCriteria = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n }\n }\n }\n },\n\n // the properties below are optional\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n }\n },\n Id = \"id\",\n IsEnabled = false,\n\n // the properties below are optional\n AwsOrg = new AwsOrgProperty {\n Arn = \"arn\"\n },\n DataExport = new DataExportProperty {\n CloudWatchMetrics = new CloudWatchMetricsProperty {\n IsEnabled = false\n },\n S3BucketDestination = new S3BucketDestinationProperty {\n AccountId = \"accountId\",\n Arn = \"arn\",\n Format = \"format\",\n OutputSchemaVersion = \"outputSchemaVersion\",\n\n // the properties below are optional\n Encryption = encryption,\n Prefix = \"prefix\"\n }\n },\n Exclude = new BucketsAndRegionsProperty {\n Buckets = new [] { \"buckets\" },\n Regions = new [] { \"regions\" }\n },\n Include = new BucketsAndRegionsProperty {\n Buckets = new [] { \"buckets\" },\n Regions = new [] { \"regions\" }\n },\n StorageLensArn = \"storageLensArn\"\n },\n\n // the properties below are optional\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n});",
6833 "version": "1"
6834 },
6835 "java": {
6836 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject encryption;\n\nCfnStorageLens cfnStorageLens = CfnStorageLens.Builder.create(this, \"MyCfnStorageLens\")\n .storageLensConfiguration(StorageLensConfigurationProperty.builder()\n .accountLevel(AccountLevelProperty.builder()\n .bucketLevel(BucketLevelProperty.builder()\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .prefixLevel(PrefixLevelProperty.builder()\n .storageMetrics(PrefixLevelStorageMetricsProperty.builder()\n .isEnabled(false)\n .selectionCriteria(SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build())\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .build())\n .id(\"id\")\n .isEnabled(false)\n\n // the properties below are optional\n .awsOrg(AwsOrgProperty.builder()\n .arn(\"arn\")\n .build())\n .dataExport(DataExportProperty.builder()\n .cloudWatchMetrics(CloudWatchMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .s3BucketDestination(S3BucketDestinationProperty.builder()\n .accountId(\"accountId\")\n .arn(\"arn\")\n .format(\"format\")\n .outputSchemaVersion(\"outputSchemaVersion\")\n\n // the properties below are optional\n .encryption(encryption)\n .prefix(\"prefix\")\n .build())\n .build())\n .exclude(BucketsAndRegionsProperty.builder()\n .buckets(List.of(\"buckets\"))\n .regions(List.of(\"regions\"))\n .build())\n .include(BucketsAndRegionsProperty.builder()\n .buckets(List.of(\"buckets\"))\n .regions(List.of(\"regions\"))\n .build())\n .storageLensArn(\"storageLensArn\")\n .build())\n\n // the properties below are optional\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
6837 "version": "1"
6838 },
6839 "go": {
6840 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar encryption interface{}\n\ncfnStorageLens := s3.NewCfnStorageLens(this, jsii.String(\"MyCfnStorageLens\"), &cfnStorageLensProps{\n\tstorageLensConfiguration: &storageLensConfigurationProperty{\n\t\taccountLevel: &accountLevelProperty{\n\t\t\tbucketLevel: &bucketLevelProperty{\n\t\t\t\tactivityMetrics: &activityMetricsProperty{\n\t\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t\tprefixLevel: &prefixLevelProperty{\n\t\t\t\t\tstorageMetrics: &prefixLevelStorageMetricsProperty{\n\t\t\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t\t\t\tselectionCriteria: &selectionCriteriaProperty{\n\t\t\t\t\t\t\tdelimiter: jsii.String(\"delimiter\"),\n\t\t\t\t\t\t\tmaxDepth: jsii.Number(123),\n\t\t\t\t\t\t\tminStorageBytesPercentage: jsii.Number(123),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\tactivityMetrics: &activityMetricsProperty{\n\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t\tid: jsii.String(\"id\"),\n\t\tisEnabled: jsii.Boolean(false),\n\n\t\t// the properties below are optional\n\t\tawsOrg: &awsOrgProperty{\n\t\t\tarn: jsii.String(\"arn\"),\n\t\t},\n\t\tdataExport: &dataExportProperty{\n\t\t\tcloudWatchMetrics: &cloudWatchMetricsProperty{\n\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t},\n\t\t\ts3BucketDestination: &s3BucketDestinationProperty{\n\t\t\t\taccountId: jsii.String(\"accountId\"),\n\t\t\t\tarn: jsii.String(\"arn\"),\n\t\t\t\tformat: jsii.String(\"format\"),\n\t\t\t\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tencryption: encryption,\n\t\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\t},\n\t\t},\n\t\texclude: &bucketsAndRegionsProperty{\n\t\t\tbuckets: []*string{\n\t\t\t\tjsii.String(\"buckets\"),\n\t\t\t},\n\t\t\tregions: []*string{\n\t\t\t\tjsii.String(\"regions\"),\n\t\t\t},\n\t\t},\n\t\tinclude: &bucketsAndRegionsProperty{\n\t\t\tbuckets: []*string{\n\t\t\t\tjsii.String(\"buckets\"),\n\t\t\t},\n\t\t\tregions: []*string{\n\t\t\t\tjsii.String(\"regions\"),\n\t\t\t},\n\t\t},\n\t\tstorageLensArn: jsii.String(\"storageLensArn\"),\n\t},\n\n\t// the properties below are optional\n\ttags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n})",
6841 "version": "1"
6842 },
6843 "$": {
6844 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\nconst cfnStorageLens = new s3.CfnStorageLens(this, 'MyCfnStorageLens', {\n storageLensConfiguration: {\n accountLevel: {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n },\n id: 'id',\n isEnabled: false,\n\n // the properties below are optional\n awsOrg: {\n arn: 'arn',\n },\n dataExport: {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n },\n exclude: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n include: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n storageLensArn: 'storageLensArn',\n },\n\n // the properties below are optional\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});",
6845 "version": "0"
6846 }
6847 },
6848 "location": {
6849 "api": {
6850 "api": "type",
6851 "fqn": "@aws-cdk/aws-s3.CfnStorageLens"
6852 },
6853 "field": {
6854 "field": "example"
6855 }
6856 },
6857 "didCompile": true,
6858 "fqnsReferenced": [
6859 "@aws-cdk/aws-s3.CfnStorageLens",
6860 "@aws-cdk/aws-s3.CfnStorageLensProps",
6861 "@aws-cdk/core.Construct"
6862 ],
6863 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnStorageLens = new s3.CfnStorageLens(this, 'MyCfnStorageLens', {\n storageLensConfiguration: {\n accountLevel: {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n },\n id: 'id',\n isEnabled: false,\n\n // the properties below are optional\n awsOrg: {\n arn: 'arn',\n },\n dataExport: {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n },\n exclude: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n include: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n storageLensArn: 'storageLensArn',\n },\n\n // the properties below are optional\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6864 "syntaxKindCounter": {
6865 "8": 2,
6866 "10": 17,
6867 "75": 44,
6868 "91": 5,
6869 "104": 1,
6870 "125": 1,
6871 "130": 1,
6872 "192": 5,
6873 "193": 16,
6874 "194": 1,
6875 "197": 1,
6876 "225": 2,
6877 "242": 2,
6878 "243": 2,
6879 "254": 1,
6880 "255": 1,
6881 "256": 1,
6882 "281": 38,
6883 "290": 1
6884 },
6885 "fqnsFingerprint": "0fcc047f470c6c439e9a470d9459678443def79796a33fdb4a017a76aaf6eba4"
6886 },
6887 "08d7798bc8ae67db5c6557adf5060f12af1494e77a9acd9b39cfb40bf52b1e5e": {
6888 "translations": {
6889 "python": {
6890 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\naccount_level_property = s3.CfnStorageLens.AccountLevelProperty(\n bucket_level=s3.CfnStorageLens.BucketLevelProperty(\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n ),\n prefix_level=s3.CfnStorageLens.PrefixLevelProperty(\n storage_metrics=s3.CfnStorageLens.PrefixLevelStorageMetricsProperty(\n is_enabled=False,\n selection_criteria=s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n )\n )\n )\n ),\n\n # the properties below are optional\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n )\n)",
6891 "version": "2"
6892 },
6893 "csharp": {
6894 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nAccountLevelProperty accountLevelProperty = new AccountLevelProperty {\n BucketLevel = new BucketLevelProperty {\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n },\n PrefixLevel = new PrefixLevelProperty {\n StorageMetrics = new PrefixLevelStorageMetricsProperty {\n IsEnabled = false,\n SelectionCriteria = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n }\n }\n }\n },\n\n // the properties below are optional\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n }\n};",
6895 "version": "1"
6896 },
6897 "java": {
6898 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nAccountLevelProperty accountLevelProperty = AccountLevelProperty.builder()\n .bucketLevel(BucketLevelProperty.builder()\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .prefixLevel(PrefixLevelProperty.builder()\n .storageMetrics(PrefixLevelStorageMetricsProperty.builder()\n .isEnabled(false)\n .selectionCriteria(SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build())\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .build();",
6899 "version": "1"
6900 },
6901 "go": {
6902 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\naccountLevelProperty := &accountLevelProperty{\n\tbucketLevel: &bucketLevelProperty{\n\t\tactivityMetrics: &activityMetricsProperty{\n\t\t\tisEnabled: jsii.Boolean(false),\n\t\t},\n\t\tprefixLevel: &prefixLevelProperty{\n\t\t\tstorageMetrics: &prefixLevelStorageMetricsProperty{\n\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t\tselectionCriteria: &selectionCriteriaProperty{\n\t\t\t\t\tdelimiter: jsii.String(\"delimiter\"),\n\t\t\t\t\tmaxDepth: jsii.Number(123),\n\t\t\t\t\tminStorageBytesPercentage: jsii.Number(123),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tactivityMetrics: &activityMetricsProperty{\n\t\tisEnabled: jsii.Boolean(false),\n\t},\n}",
6903 "version": "1"
6904 },
6905 "$": {
6906 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst accountLevelProperty: s3.CfnStorageLens.AccountLevelProperty = {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n};",
6907 "version": "0"
6908 }
6909 },
6910 "location": {
6911 "api": {
6912 "api": "type",
6913 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.AccountLevelProperty"
6914 },
6915 "field": {
6916 "field": "example"
6917 }
6918 },
6919 "didCompile": true,
6920 "fqnsReferenced": [
6921 "@aws-cdk/aws-s3.CfnStorageLens.AccountLevelProperty"
6922 ],
6923 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst accountLevelProperty: s3.CfnStorageLens.AccountLevelProperty = {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6924 "syntaxKindCounter": {
6925 "8": 2,
6926 "10": 2,
6927 "75": 17,
6928 "91": 3,
6929 "153": 2,
6930 "169": 1,
6931 "193": 7,
6932 "225": 1,
6933 "242": 1,
6934 "243": 1,
6935 "254": 1,
6936 "255": 1,
6937 "256": 1,
6938 "281": 12,
6939 "290": 1
6940 },
6941 "fqnsFingerprint": "9ca05ad93939fba5fd1af89d4206f97d8ade579a6ab46745bfef4fcb6c9ed7d9"
6942 },
6943 "311ab68ca12b525ebd6b829a87971fd7e87b276c930402702e40d33d49c17d41": {
6944 "translations": {
6945 "python": {
6946 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nactivity_metrics_property = s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n)",
6947 "version": "2"
6948 },
6949 "csharp": {
6950 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nActivityMetricsProperty activityMetricsProperty = new ActivityMetricsProperty {\n IsEnabled = false\n};",
6951 "version": "1"
6952 },
6953 "java": {
6954 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nActivityMetricsProperty activityMetricsProperty = ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build();",
6955 "version": "1"
6956 },
6957 "go": {
6958 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nactivityMetricsProperty := &activityMetricsProperty{\n\tisEnabled: jsii.Boolean(false),\n}",
6959 "version": "1"
6960 },
6961 "$": {
6962 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst activityMetricsProperty: s3.CfnStorageLens.ActivityMetricsProperty = {\n isEnabled: false,\n};",
6963 "version": "0"
6964 }
6965 },
6966 "location": {
6967 "api": {
6968 "api": "type",
6969 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.ActivityMetricsProperty"
6970 },
6971 "field": {
6972 "field": "example"
6973 }
6974 },
6975 "didCompile": true,
6976 "fqnsReferenced": [
6977 "@aws-cdk/aws-s3.CfnStorageLens.ActivityMetricsProperty"
6978 ],
6979 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst activityMetricsProperty: s3.CfnStorageLens.ActivityMetricsProperty = {\n isEnabled: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
6980 "syntaxKindCounter": {
6981 "10": 1,
6982 "75": 6,
6983 "91": 1,
6984 "153": 2,
6985 "169": 1,
6986 "193": 1,
6987 "225": 1,
6988 "242": 1,
6989 "243": 1,
6990 "254": 1,
6991 "255": 1,
6992 "256": 1,
6993 "281": 1,
6994 "290": 1
6995 },
6996 "fqnsFingerprint": "b5e6abc663eaca102300cfb9a3761a690472ab2daf666b8a712fea263de33a16"
6997 },
6998 "2f2b85e29469507d9e7c61a58394797bf200b935437bb12482a085d5222f243d": {
6999 "translations": {
7000 "python": {
7001 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\naws_org_property = s3.CfnStorageLens.AwsOrgProperty(\n arn=\"arn\"\n)",
7002 "version": "2"
7003 },
7004 "csharp": {
7005 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nAwsOrgProperty awsOrgProperty = new AwsOrgProperty {\n Arn = \"arn\"\n};",
7006 "version": "1"
7007 },
7008 "java": {
7009 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nAwsOrgProperty awsOrgProperty = AwsOrgProperty.builder()\n .arn(\"arn\")\n .build();",
7010 "version": "1"
7011 },
7012 "go": {
7013 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nawsOrgProperty := &awsOrgProperty{\n\tarn: jsii.String(\"arn\"),\n}",
7014 "version": "1"
7015 },
7016 "$": {
7017 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst awsOrgProperty: s3.CfnStorageLens.AwsOrgProperty = {\n arn: 'arn',\n};",
7018 "version": "0"
7019 }
7020 },
7021 "location": {
7022 "api": {
7023 "api": "type",
7024 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.AwsOrgProperty"
7025 },
7026 "field": {
7027 "field": "example"
7028 }
7029 },
7030 "didCompile": true,
7031 "fqnsReferenced": [
7032 "@aws-cdk/aws-s3.CfnStorageLens.AwsOrgProperty"
7033 ],
7034 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst awsOrgProperty: s3.CfnStorageLens.AwsOrgProperty = {\n arn: 'arn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7035 "syntaxKindCounter": {
7036 "10": 2,
7037 "75": 6,
7038 "153": 2,
7039 "169": 1,
7040 "193": 1,
7041 "225": 1,
7042 "242": 1,
7043 "243": 1,
7044 "254": 1,
7045 "255": 1,
7046 "256": 1,
7047 "281": 1,
7048 "290": 1
7049 },
7050 "fqnsFingerprint": "2f848b15ee24c74e658546fb3677d012a4167a78aa88655ca48d88d2b40931b7"
7051 },
7052 "3a007be30ffc012bb2b18c3347c99b8623461dee76f2a02d8c4d03a393737152": {
7053 "translations": {
7054 "python": {
7055 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nbucket_level_property = s3.CfnStorageLens.BucketLevelProperty(\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n ),\n prefix_level=s3.CfnStorageLens.PrefixLevelProperty(\n storage_metrics=s3.CfnStorageLens.PrefixLevelStorageMetricsProperty(\n is_enabled=False,\n selection_criteria=s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n )\n )\n )\n)",
7056 "version": "2"
7057 },
7058 "csharp": {
7059 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nBucketLevelProperty bucketLevelProperty = new BucketLevelProperty {\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n },\n PrefixLevel = new PrefixLevelProperty {\n StorageMetrics = new PrefixLevelStorageMetricsProperty {\n IsEnabled = false,\n SelectionCriteria = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n }\n }\n }\n};",
7060 "version": "1"
7061 },
7062 "java": {
7063 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nBucketLevelProperty bucketLevelProperty = BucketLevelProperty.builder()\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .prefixLevel(PrefixLevelProperty.builder()\n .storageMetrics(PrefixLevelStorageMetricsProperty.builder()\n .isEnabled(false)\n .selectionCriteria(SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build())\n .build())\n .build())\n .build();",
7064 "version": "1"
7065 },
7066 "go": {
7067 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nbucketLevelProperty := &bucketLevelProperty{\n\tactivityMetrics: &activityMetricsProperty{\n\t\tisEnabled: jsii.Boolean(false),\n\t},\n\tprefixLevel: &prefixLevelProperty{\n\t\tstorageMetrics: &prefixLevelStorageMetricsProperty{\n\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\tselectionCriteria: &selectionCriteriaProperty{\n\t\t\t\tdelimiter: jsii.String(\"delimiter\"),\n\t\t\t\tmaxDepth: jsii.Number(123),\n\t\t\t\tminStorageBytesPercentage: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t},\n}",
7068 "version": "1"
7069 },
7070 "$": {
7071 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst bucketLevelProperty: s3.CfnStorageLens.BucketLevelProperty = {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n};",
7072 "version": "0"
7073 }
7074 },
7075 "location": {
7076 "api": {
7077 "api": "type",
7078 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.BucketLevelProperty"
7079 },
7080 "field": {
7081 "field": "example"
7082 }
7083 },
7084 "didCompile": true,
7085 "fqnsReferenced": [
7086 "@aws-cdk/aws-s3.CfnStorageLens.BucketLevelProperty"
7087 ],
7088 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst bucketLevelProperty: s3.CfnStorageLens.BucketLevelProperty = {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7089 "syntaxKindCounter": {
7090 "8": 2,
7091 "10": 2,
7092 "75": 14,
7093 "91": 2,
7094 "153": 2,
7095 "169": 1,
7096 "193": 5,
7097 "225": 1,
7098 "242": 1,
7099 "243": 1,
7100 "254": 1,
7101 "255": 1,
7102 "256": 1,
7103 "281": 9,
7104 "290": 1
7105 },
7106 "fqnsFingerprint": "474e4f93c3aa79eaf45ebd2857842024b375c8faa0988a502b897fe288dc5e80"
7107 },
7108 "6843bc4b47e0cba175bea1ff7f64aa1313aaf4db232798023afdee77fd8c688f": {
7109 "translations": {
7110 "python": {
7111 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nbuckets_and_regions_property = s3.CfnStorageLens.BucketsAndRegionsProperty(\n buckets=[\"buckets\"],\n regions=[\"regions\"]\n)",
7112 "version": "2"
7113 },
7114 "csharp": {
7115 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nBucketsAndRegionsProperty bucketsAndRegionsProperty = new BucketsAndRegionsProperty {\n Buckets = new [] { \"buckets\" },\n Regions = new [] { \"regions\" }\n};",
7116 "version": "1"
7117 },
7118 "java": {
7119 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nBucketsAndRegionsProperty bucketsAndRegionsProperty = BucketsAndRegionsProperty.builder()\n .buckets(List.of(\"buckets\"))\n .regions(List.of(\"regions\"))\n .build();",
7120 "version": "1"
7121 },
7122 "go": {
7123 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nbucketsAndRegionsProperty := &bucketsAndRegionsProperty{\n\tbuckets: []*string{\n\t\tjsii.String(\"buckets\"),\n\t},\n\tregions: []*string{\n\t\tjsii.String(\"regions\"),\n\t},\n}",
7124 "version": "1"
7125 },
7126 "$": {
7127 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst bucketsAndRegionsProperty: s3.CfnStorageLens.BucketsAndRegionsProperty = {\n buckets: ['buckets'],\n regions: ['regions'],\n};",
7128 "version": "0"
7129 }
7130 },
7131 "location": {
7132 "api": {
7133 "api": "type",
7134 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.BucketsAndRegionsProperty"
7135 },
7136 "field": {
7137 "field": "example"
7138 }
7139 },
7140 "didCompile": true,
7141 "fqnsReferenced": [
7142 "@aws-cdk/aws-s3.CfnStorageLens.BucketsAndRegionsProperty"
7143 ],
7144 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst bucketsAndRegionsProperty: s3.CfnStorageLens.BucketsAndRegionsProperty = {\n buckets: ['buckets'],\n regions: ['regions'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7145 "syntaxKindCounter": {
7146 "10": 3,
7147 "75": 7,
7148 "153": 2,
7149 "169": 1,
7150 "192": 2,
7151 "193": 1,
7152 "225": 1,
7153 "242": 1,
7154 "243": 1,
7155 "254": 1,
7156 "255": 1,
7157 "256": 1,
7158 "281": 2,
7159 "290": 1
7160 },
7161 "fqnsFingerprint": "d6fbbed371eb364ae003a10d65b3d8b052fdfba6eb61d12c53cadc04a05a09dc"
7162 },
7163 "4fbdf4757d347a13d745beeb4a9776374d2609347e78909d80b8c923ad2848a5": {
7164 "translations": {
7165 "python": {
7166 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ncloud_watch_metrics_property = s3.CfnStorageLens.CloudWatchMetricsProperty(\n is_enabled=False\n)",
7167 "version": "2"
7168 },
7169 "csharp": {
7170 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nCloudWatchMetricsProperty cloudWatchMetricsProperty = new CloudWatchMetricsProperty {\n IsEnabled = false\n};",
7171 "version": "1"
7172 },
7173 "java": {
7174 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nCloudWatchMetricsProperty cloudWatchMetricsProperty = CloudWatchMetricsProperty.builder()\n .isEnabled(false)\n .build();",
7175 "version": "1"
7176 },
7177 "go": {
7178 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ncloudWatchMetricsProperty := &cloudWatchMetricsProperty{\n\tisEnabled: jsii.Boolean(false),\n}",
7179 "version": "1"
7180 },
7181 "$": {
7182 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst cloudWatchMetricsProperty: s3.CfnStorageLens.CloudWatchMetricsProperty = {\n isEnabled: false,\n};",
7183 "version": "0"
7184 }
7185 },
7186 "location": {
7187 "api": {
7188 "api": "type",
7189 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.CloudWatchMetricsProperty"
7190 },
7191 "field": {
7192 "field": "example"
7193 }
7194 },
7195 "didCompile": true,
7196 "fqnsReferenced": [
7197 "@aws-cdk/aws-s3.CfnStorageLens.CloudWatchMetricsProperty"
7198 ],
7199 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cloudWatchMetricsProperty: s3.CfnStorageLens.CloudWatchMetricsProperty = {\n isEnabled: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7200 "syntaxKindCounter": {
7201 "10": 1,
7202 "75": 6,
7203 "91": 1,
7204 "153": 2,
7205 "169": 1,
7206 "193": 1,
7207 "225": 1,
7208 "242": 1,
7209 "243": 1,
7210 "254": 1,
7211 "255": 1,
7212 "256": 1,
7213 "281": 1,
7214 "290": 1
7215 },
7216 "fqnsFingerprint": "d754397da1357f62d53d37e492de85f6b978fa60a4deb228c0d52ba53855e1e2"
7217 },
7218 "67c8620b5324b867fa76aedf04b40c7355f0eaec51cac821c14b37e7899f28b5": {
7219 "translations": {
7220 "python": {
7221 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# encryption: Any\n\ndata_export_property = s3.CfnStorageLens.DataExportProperty(\n cloud_watch_metrics=s3.CfnStorageLens.CloudWatchMetricsProperty(\n is_enabled=False\n ),\n s3_bucket_destination=s3.CfnStorageLens.S3BucketDestinationProperty(\n account_id=\"accountId\",\n arn=\"arn\",\n format=\"format\",\n output_schema_version=\"outputSchemaVersion\",\n\n # the properties below are optional\n encryption=encryption,\n prefix=\"prefix\"\n )\n)",
7222 "version": "2"
7223 },
7224 "csharp": {
7225 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar encryption;\n\nDataExportProperty dataExportProperty = new DataExportProperty {\n CloudWatchMetrics = new CloudWatchMetricsProperty {\n IsEnabled = false\n },\n S3BucketDestination = new S3BucketDestinationProperty {\n AccountId = \"accountId\",\n Arn = \"arn\",\n Format = \"format\",\n OutputSchemaVersion = \"outputSchemaVersion\",\n\n // the properties below are optional\n Encryption = encryption,\n Prefix = \"prefix\"\n }\n};",
7226 "version": "1"
7227 },
7228 "java": {
7229 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject encryption;\n\nDataExportProperty dataExportProperty = DataExportProperty.builder()\n .cloudWatchMetrics(CloudWatchMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .s3BucketDestination(S3BucketDestinationProperty.builder()\n .accountId(\"accountId\")\n .arn(\"arn\")\n .format(\"format\")\n .outputSchemaVersion(\"outputSchemaVersion\")\n\n // the properties below are optional\n .encryption(encryption)\n .prefix(\"prefix\")\n .build())\n .build();",
7230 "version": "1"
7231 },
7232 "go": {
7233 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar encryption interface{}\n\ndataExportProperty := &dataExportProperty{\n\tcloudWatchMetrics: &cloudWatchMetricsProperty{\n\t\tisEnabled: jsii.Boolean(false),\n\t},\n\ts3BucketDestination: &s3BucketDestinationProperty{\n\t\taccountId: jsii.String(\"accountId\"),\n\t\tarn: jsii.String(\"arn\"),\n\t\tformat: jsii.String(\"format\"),\n\t\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n\n\t\t// the properties below are optional\n\t\tencryption: encryption,\n\t\tprefix: jsii.String(\"prefix\"),\n\t},\n}",
7234 "version": "1"
7235 },
7236 "$": {
7237 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\nconst dataExportProperty: s3.CfnStorageLens.DataExportProperty = {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n};",
7238 "version": "0"
7239 }
7240 },
7241 "location": {
7242 "api": {
7243 "api": "type",
7244 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.DataExportProperty"
7245 },
7246 "field": {
7247 "field": "example"
7248 }
7249 },
7250 "didCompile": true,
7251 "fqnsReferenced": [
7252 "@aws-cdk/aws-s3.CfnStorageLens.DataExportProperty"
7253 ],
7254 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst dataExportProperty: s3.CfnStorageLens.DataExportProperty = {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7255 "syntaxKindCounter": {
7256 "10": 6,
7257 "75": 16,
7258 "91": 1,
7259 "125": 1,
7260 "130": 1,
7261 "153": 2,
7262 "169": 1,
7263 "193": 3,
7264 "225": 2,
7265 "242": 2,
7266 "243": 2,
7267 "254": 1,
7268 "255": 1,
7269 "256": 1,
7270 "281": 9,
7271 "290": 1
7272 },
7273 "fqnsFingerprint": "1bd84c9b974162cfadf178b02dec265d869aebdb635b91aa56cacfb9ce61652f"
7274 },
7275 "c17cadeb0c08ee8a2fc99021e30cc486ddf063cd82381881ae9a3b97d1f1ffd7": {
7276 "translations": {
7277 "python": {
7278 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nprefix_level_property = s3.CfnStorageLens.PrefixLevelProperty(\n storage_metrics=s3.CfnStorageLens.PrefixLevelStorageMetricsProperty(\n is_enabled=False,\n selection_criteria=s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n )\n )\n)",
7279 "version": "2"
7280 },
7281 "csharp": {
7282 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nPrefixLevelProperty prefixLevelProperty = new PrefixLevelProperty {\n StorageMetrics = new PrefixLevelStorageMetricsProperty {\n IsEnabled = false,\n SelectionCriteria = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n }\n }\n};",
7283 "version": "1"
7284 },
7285 "java": {
7286 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nPrefixLevelProperty prefixLevelProperty = PrefixLevelProperty.builder()\n .storageMetrics(PrefixLevelStorageMetricsProperty.builder()\n .isEnabled(false)\n .selectionCriteria(SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build())\n .build())\n .build();",
7287 "version": "1"
7288 },
7289 "go": {
7290 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nprefixLevelProperty := &prefixLevelProperty{\n\tstorageMetrics: &prefixLevelStorageMetricsProperty{\n\t\tisEnabled: jsii.Boolean(false),\n\t\tselectionCriteria: &selectionCriteriaProperty{\n\t\t\tdelimiter: jsii.String(\"delimiter\"),\n\t\t\tmaxDepth: jsii.Number(123),\n\t\t\tminStorageBytesPercentage: jsii.Number(123),\n\t\t},\n\t},\n}",
7291 "version": "1"
7292 },
7293 "$": {
7294 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst prefixLevelProperty: s3.CfnStorageLens.PrefixLevelProperty = {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n};",
7295 "version": "0"
7296 }
7297 },
7298 "location": {
7299 "api": {
7300 "api": "type",
7301 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.PrefixLevelProperty"
7302 },
7303 "field": {
7304 "field": "example"
7305 }
7306 },
7307 "didCompile": true,
7308 "fqnsReferenced": [
7309 "@aws-cdk/aws-s3.CfnStorageLens.PrefixLevelProperty"
7310 ],
7311 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst prefixLevelProperty: s3.CfnStorageLens.PrefixLevelProperty = {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7312 "syntaxKindCounter": {
7313 "8": 2,
7314 "10": 2,
7315 "75": 11,
7316 "91": 1,
7317 "153": 2,
7318 "169": 1,
7319 "193": 3,
7320 "225": 1,
7321 "242": 1,
7322 "243": 1,
7323 "254": 1,
7324 "255": 1,
7325 "256": 1,
7326 "281": 6,
7327 "290": 1
7328 },
7329 "fqnsFingerprint": "00f383d5ac65e00209ac3e72d29311878a46419d238d8c11bf0e7b42dff85e0d"
7330 },
7331 "f31cdfc104a644ab877b9884135ac12a0c8c55f20aeb77a4641ed446c82c025e": {
7332 "translations": {
7333 "python": {
7334 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nprefix_level_storage_metrics_property = s3.CfnStorageLens.PrefixLevelStorageMetricsProperty(\n is_enabled=False,\n selection_criteria=s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n )\n)",
7335 "version": "2"
7336 },
7337 "csharp": {
7338 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nPrefixLevelStorageMetricsProperty prefixLevelStorageMetricsProperty = new PrefixLevelStorageMetricsProperty {\n IsEnabled = false,\n SelectionCriteria = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n }\n};",
7339 "version": "1"
7340 },
7341 "java": {
7342 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nPrefixLevelStorageMetricsProperty prefixLevelStorageMetricsProperty = PrefixLevelStorageMetricsProperty.builder()\n .isEnabled(false)\n .selectionCriteria(SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build())\n .build();",
7343 "version": "1"
7344 },
7345 "go": {
7346 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nprefixLevelStorageMetricsProperty := &prefixLevelStorageMetricsProperty{\n\tisEnabled: jsii.Boolean(false),\n\tselectionCriteria: &selectionCriteriaProperty{\n\t\tdelimiter: jsii.String(\"delimiter\"),\n\t\tmaxDepth: jsii.Number(123),\n\t\tminStorageBytesPercentage: jsii.Number(123),\n\t},\n}",
7347 "version": "1"
7348 },
7349 "$": {
7350 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst prefixLevelStorageMetricsProperty: s3.CfnStorageLens.PrefixLevelStorageMetricsProperty = {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n};",
7351 "version": "0"
7352 }
7353 },
7354 "location": {
7355 "api": {
7356 "api": "type",
7357 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.PrefixLevelStorageMetricsProperty"
7358 },
7359 "field": {
7360 "field": "example"
7361 }
7362 },
7363 "didCompile": true,
7364 "fqnsReferenced": [
7365 "@aws-cdk/aws-s3.CfnStorageLens.PrefixLevelStorageMetricsProperty"
7366 ],
7367 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst prefixLevelStorageMetricsProperty: s3.CfnStorageLens.PrefixLevelStorageMetricsProperty = {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7368 "syntaxKindCounter": {
7369 "8": 2,
7370 "10": 2,
7371 "75": 10,
7372 "91": 1,
7373 "153": 2,
7374 "169": 1,
7375 "193": 2,
7376 "225": 1,
7377 "242": 1,
7378 "243": 1,
7379 "254": 1,
7380 "255": 1,
7381 "256": 1,
7382 "281": 5,
7383 "290": 1
7384 },
7385 "fqnsFingerprint": "3bad838f2725e805eab7480fcc39e0522116e622de4710c858d4c4ffbf6fe25d"
7386 },
7387 "0a77665bd206312f5f785be019fbb27450864161f02011f9cd77eddc3c86b42a": {
7388 "translations": {
7389 "python": {
7390 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# encryption: Any\n\ns3_bucket_destination_property = s3.CfnStorageLens.S3BucketDestinationProperty(\n account_id=\"accountId\",\n arn=\"arn\",\n format=\"format\",\n output_schema_version=\"outputSchemaVersion\",\n\n # the properties below are optional\n encryption=encryption,\n prefix=\"prefix\"\n)",
7391 "version": "2"
7392 },
7393 "csharp": {
7394 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar encryption;\n\nS3BucketDestinationProperty s3BucketDestinationProperty = new S3BucketDestinationProperty {\n AccountId = \"accountId\",\n Arn = \"arn\",\n Format = \"format\",\n OutputSchemaVersion = \"outputSchemaVersion\",\n\n // the properties below are optional\n Encryption = encryption,\n Prefix = \"prefix\"\n};",
7395 "version": "1"
7396 },
7397 "java": {
7398 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject encryption;\n\nS3BucketDestinationProperty s3BucketDestinationProperty = S3BucketDestinationProperty.builder()\n .accountId(\"accountId\")\n .arn(\"arn\")\n .format(\"format\")\n .outputSchemaVersion(\"outputSchemaVersion\")\n\n // the properties below are optional\n .encryption(encryption)\n .prefix(\"prefix\")\n .build();",
7399 "version": "1"
7400 },
7401 "go": {
7402 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar encryption interface{}\n\ns3BucketDestinationProperty := &s3BucketDestinationProperty{\n\taccountId: jsii.String(\"accountId\"),\n\tarn: jsii.String(\"arn\"),\n\tformat: jsii.String(\"format\"),\n\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n\n\t// the properties below are optional\n\tencryption: encryption,\n\tprefix: jsii.String(\"prefix\"),\n}",
7403 "version": "1"
7404 },
7405 "$": {
7406 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\nconst s3BucketDestinationProperty: s3.CfnStorageLens.S3BucketDestinationProperty = {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n};",
7407 "version": "0"
7408 }
7409 },
7410 "location": {
7411 "api": {
7412 "api": "type",
7413 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.S3BucketDestinationProperty"
7414 },
7415 "field": {
7416 "field": "example"
7417 }
7418 },
7419 "didCompile": true,
7420 "fqnsReferenced": [
7421 "@aws-cdk/aws-s3.CfnStorageLens.S3BucketDestinationProperty"
7422 ],
7423 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst s3BucketDestinationProperty: s3.CfnStorageLens.S3BucketDestinationProperty = {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7424 "syntaxKindCounter": {
7425 "10": 6,
7426 "75": 13,
7427 "125": 1,
7428 "130": 1,
7429 "153": 2,
7430 "169": 1,
7431 "193": 1,
7432 "225": 2,
7433 "242": 2,
7434 "243": 2,
7435 "254": 1,
7436 "255": 1,
7437 "256": 1,
7438 "281": 6,
7439 "290": 1
7440 },
7441 "fqnsFingerprint": "cc4e92916e0f4b5bd5a66bcb9473af730418c72dc75da661a9595d71f8318fcc"
7442 },
7443 "70d3a331ab08479ef27f0c57800da2aff41792b0c1ff8bd2dfd6acf0af296576": {
7444 "translations": {
7445 "python": {
7446 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nselection_criteria_property = s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n)",
7447 "version": "2"
7448 },
7449 "csharp": {
7450 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nSelectionCriteriaProperty selectionCriteriaProperty = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n};",
7451 "version": "1"
7452 },
7453 "java": {
7454 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nSelectionCriteriaProperty selectionCriteriaProperty = SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build();",
7455 "version": "1"
7456 },
7457 "go": {
7458 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nselectionCriteriaProperty := &selectionCriteriaProperty{\n\tdelimiter: jsii.String(\"delimiter\"),\n\tmaxDepth: jsii.Number(123),\n\tminStorageBytesPercentage: jsii.Number(123),\n}",
7459 "version": "1"
7460 },
7461 "$": {
7462 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst selectionCriteriaProperty: s3.CfnStorageLens.SelectionCriteriaProperty = {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n};",
7463 "version": "0"
7464 }
7465 },
7466 "location": {
7467 "api": {
7468 "api": "type",
7469 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.SelectionCriteriaProperty"
7470 },
7471 "field": {
7472 "field": "example"
7473 }
7474 },
7475 "didCompile": true,
7476 "fqnsReferenced": [
7477 "@aws-cdk/aws-s3.CfnStorageLens.SelectionCriteriaProperty"
7478 ],
7479 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst selectionCriteriaProperty: s3.CfnStorageLens.SelectionCriteriaProperty = {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7480 "syntaxKindCounter": {
7481 "8": 2,
7482 "10": 2,
7483 "75": 8,
7484 "153": 2,
7485 "169": 1,
7486 "193": 1,
7487 "225": 1,
7488 "242": 1,
7489 "243": 1,
7490 "254": 1,
7491 "255": 1,
7492 "256": 1,
7493 "281": 3,
7494 "290": 1
7495 },
7496 "fqnsFingerprint": "5ffbdc28440332d7ee6bebafd4754f23acbdc607f3893d87428d28247371e870"
7497 },
7498 "ad4351dc4568e891c0099dd6f1ee0be68aa795665095ad613f1adbc814c35938": {
7499 "translations": {
7500 "python": {
7501 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# encryption: Any\n\nstorage_lens_configuration_property = s3.CfnStorageLens.StorageLensConfigurationProperty(\n account_level=s3.CfnStorageLens.AccountLevelProperty(\n bucket_level=s3.CfnStorageLens.BucketLevelProperty(\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n ),\n prefix_level=s3.CfnStorageLens.PrefixLevelProperty(\n storage_metrics=s3.CfnStorageLens.PrefixLevelStorageMetricsProperty(\n is_enabled=False,\n selection_criteria=s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n )\n )\n )\n ),\n\n # the properties below are optional\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n )\n ),\n id=\"id\",\n is_enabled=False,\n\n # the properties below are optional\n aws_org=s3.CfnStorageLens.AwsOrgProperty(\n arn=\"arn\"\n ),\n data_export=s3.CfnStorageLens.DataExportProperty(\n cloud_watch_metrics=s3.CfnStorageLens.CloudWatchMetricsProperty(\n is_enabled=False\n ),\n s3_bucket_destination=s3.CfnStorageLens.S3BucketDestinationProperty(\n account_id=\"accountId\",\n arn=\"arn\",\n format=\"format\",\n output_schema_version=\"outputSchemaVersion\",\n\n # the properties below are optional\n encryption=encryption,\n prefix=\"prefix\"\n )\n ),\n exclude=s3.CfnStorageLens.BucketsAndRegionsProperty(\n buckets=[\"buckets\"],\n regions=[\"regions\"]\n ),\n include=s3.CfnStorageLens.BucketsAndRegionsProperty(\n buckets=[\"buckets\"],\n regions=[\"regions\"]\n ),\n storage_lens_arn=\"storageLensArn\"\n)",
7502 "version": "2"
7503 },
7504 "csharp": {
7505 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar encryption;\n\nStorageLensConfigurationProperty storageLensConfigurationProperty = new StorageLensConfigurationProperty {\n AccountLevel = new AccountLevelProperty {\n BucketLevel = new BucketLevelProperty {\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n },\n PrefixLevel = new PrefixLevelProperty {\n StorageMetrics = new PrefixLevelStorageMetricsProperty {\n IsEnabled = false,\n SelectionCriteria = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n }\n }\n }\n },\n\n // the properties below are optional\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n }\n },\n Id = \"id\",\n IsEnabled = false,\n\n // the properties below are optional\n AwsOrg = new AwsOrgProperty {\n Arn = \"arn\"\n },\n DataExport = new DataExportProperty {\n CloudWatchMetrics = new CloudWatchMetricsProperty {\n IsEnabled = false\n },\n S3BucketDestination = new S3BucketDestinationProperty {\n AccountId = \"accountId\",\n Arn = \"arn\",\n Format = \"format\",\n OutputSchemaVersion = \"outputSchemaVersion\",\n\n // the properties below are optional\n Encryption = encryption,\n Prefix = \"prefix\"\n }\n },\n Exclude = new BucketsAndRegionsProperty {\n Buckets = new [] { \"buckets\" },\n Regions = new [] { \"regions\" }\n },\n Include = new BucketsAndRegionsProperty {\n Buckets = new [] { \"buckets\" },\n Regions = new [] { \"regions\" }\n },\n StorageLensArn = \"storageLensArn\"\n};",
7506 "version": "1"
7507 },
7508 "java": {
7509 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject encryption;\n\nStorageLensConfigurationProperty storageLensConfigurationProperty = StorageLensConfigurationProperty.builder()\n .accountLevel(AccountLevelProperty.builder()\n .bucketLevel(BucketLevelProperty.builder()\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .prefixLevel(PrefixLevelProperty.builder()\n .storageMetrics(PrefixLevelStorageMetricsProperty.builder()\n .isEnabled(false)\n .selectionCriteria(SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build())\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .build())\n .id(\"id\")\n .isEnabled(false)\n\n // the properties below are optional\n .awsOrg(AwsOrgProperty.builder()\n .arn(\"arn\")\n .build())\n .dataExport(DataExportProperty.builder()\n .cloudWatchMetrics(CloudWatchMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .s3BucketDestination(S3BucketDestinationProperty.builder()\n .accountId(\"accountId\")\n .arn(\"arn\")\n .format(\"format\")\n .outputSchemaVersion(\"outputSchemaVersion\")\n\n // the properties below are optional\n .encryption(encryption)\n .prefix(\"prefix\")\n .build())\n .build())\n .exclude(BucketsAndRegionsProperty.builder()\n .buckets(List.of(\"buckets\"))\n .regions(List.of(\"regions\"))\n .build())\n .include(BucketsAndRegionsProperty.builder()\n .buckets(List.of(\"buckets\"))\n .regions(List.of(\"regions\"))\n .build())\n .storageLensArn(\"storageLensArn\")\n .build();",
7510 "version": "1"
7511 },
7512 "go": {
7513 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar encryption interface{}\n\nstorageLensConfigurationProperty := &storageLensConfigurationProperty{\n\taccountLevel: &accountLevelProperty{\n\t\tbucketLevel: &bucketLevelProperty{\n\t\t\tactivityMetrics: &activityMetricsProperty{\n\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t},\n\t\t\tprefixLevel: &prefixLevelProperty{\n\t\t\t\tstorageMetrics: &prefixLevelStorageMetricsProperty{\n\t\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t\t\tselectionCriteria: &selectionCriteriaProperty{\n\t\t\t\t\t\tdelimiter: jsii.String(\"delimiter\"),\n\t\t\t\t\t\tmaxDepth: jsii.Number(123),\n\t\t\t\t\t\tminStorageBytesPercentage: jsii.Number(123),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\n\t\t// the properties below are optional\n\t\tactivityMetrics: &activityMetricsProperty{\n\t\t\tisEnabled: jsii.Boolean(false),\n\t\t},\n\t},\n\tid: jsii.String(\"id\"),\n\tisEnabled: jsii.Boolean(false),\n\n\t// the properties below are optional\n\tawsOrg: &awsOrgProperty{\n\t\tarn: jsii.String(\"arn\"),\n\t},\n\tdataExport: &dataExportProperty{\n\t\tcloudWatchMetrics: &cloudWatchMetricsProperty{\n\t\t\tisEnabled: jsii.Boolean(false),\n\t\t},\n\t\ts3BucketDestination: &s3BucketDestinationProperty{\n\t\t\taccountId: jsii.String(\"accountId\"),\n\t\t\tarn: jsii.String(\"arn\"),\n\t\t\tformat: jsii.String(\"format\"),\n\t\t\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n\n\t\t\t// the properties below are optional\n\t\t\tencryption: encryption,\n\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t},\n\t},\n\texclude: &bucketsAndRegionsProperty{\n\t\tbuckets: []*string{\n\t\t\tjsii.String(\"buckets\"),\n\t\t},\n\t\tregions: []*string{\n\t\t\tjsii.String(\"regions\"),\n\t\t},\n\t},\n\tinclude: &bucketsAndRegionsProperty{\n\t\tbuckets: []*string{\n\t\t\tjsii.String(\"buckets\"),\n\t\t},\n\t\tregions: []*string{\n\t\t\tjsii.String(\"regions\"),\n\t\t},\n\t},\n\tstorageLensArn: jsii.String(\"storageLensArn\"),\n}",
7514 "version": "1"
7515 },
7516 "$": {
7517 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\nconst storageLensConfigurationProperty: s3.CfnStorageLens.StorageLensConfigurationProperty = {\n accountLevel: {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n },\n id: 'id',\n isEnabled: false,\n\n // the properties below are optional\n awsOrg: {\n arn: 'arn',\n },\n dataExport: {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n },\n exclude: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n include: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n storageLensArn: 'storageLensArn',\n};",
7518 "version": "0"
7519 }
7520 },
7521 "location": {
7522 "api": {
7523 "api": "type",
7524 "fqn": "@aws-cdk/aws-s3.CfnStorageLens.StorageLensConfigurationProperty"
7525 },
7526 "field": {
7527 "field": "example"
7528 }
7529 },
7530 "didCompile": true,
7531 "fqnsReferenced": [
7532 "@aws-cdk/aws-s3.CfnStorageLens.StorageLensConfigurationProperty"
7533 ],
7534 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst storageLensConfigurationProperty: s3.CfnStorageLens.StorageLensConfigurationProperty = {\n accountLevel: {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n },\n id: 'id',\n isEnabled: false,\n\n // the properties below are optional\n awsOrg: {\n arn: 'arn',\n },\n dataExport: {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n },\n exclude: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n include: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n storageLensArn: 'storageLensArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7535 "syntaxKindCounter": {
7536 "8": 2,
7537 "10": 14,
7538 "75": 41,
7539 "91": 5,
7540 "125": 1,
7541 "130": 1,
7542 "153": 2,
7543 "169": 1,
7544 "192": 4,
7545 "193": 14,
7546 "225": 2,
7547 "242": 2,
7548 "243": 2,
7549 "254": 1,
7550 "255": 1,
7551 "256": 1,
7552 "281": 34,
7553 "290": 1
7554 },
7555 "fqnsFingerprint": "47aa6925716f600f26e9813ab5453cddebbc9764c05fc65bd220cfdc8e41125b"
7556 },
7557 "6aa5ad7c972a502a097fcfd9bd610f6d31a8dfb0b68fff7f7d8b3d9403684b23": {
7558 "translations": {
7559 "python": {
7560 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# encryption: Any\n\ncfn_storage_lens_props = s3.CfnStorageLensProps(\n storage_lens_configuration=s3.CfnStorageLens.StorageLensConfigurationProperty(\n account_level=s3.CfnStorageLens.AccountLevelProperty(\n bucket_level=s3.CfnStorageLens.BucketLevelProperty(\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n ),\n prefix_level=s3.CfnStorageLens.PrefixLevelProperty(\n storage_metrics=s3.CfnStorageLens.PrefixLevelStorageMetricsProperty(\n is_enabled=False,\n selection_criteria=s3.CfnStorageLens.SelectionCriteriaProperty(\n delimiter=\"delimiter\",\n max_depth=123,\n min_storage_bytes_percentage=123\n )\n )\n )\n ),\n\n # the properties below are optional\n activity_metrics=s3.CfnStorageLens.ActivityMetricsProperty(\n is_enabled=False\n )\n ),\n id=\"id\",\n is_enabled=False,\n\n # the properties below are optional\n aws_org=s3.CfnStorageLens.AwsOrgProperty(\n arn=\"arn\"\n ),\n data_export=s3.CfnStorageLens.DataExportProperty(\n cloud_watch_metrics=s3.CfnStorageLens.CloudWatchMetricsProperty(\n is_enabled=False\n ),\n s3_bucket_destination=s3.CfnStorageLens.S3BucketDestinationProperty(\n account_id=\"accountId\",\n arn=\"arn\",\n format=\"format\",\n output_schema_version=\"outputSchemaVersion\",\n\n # the properties below are optional\n encryption=encryption,\n prefix=\"prefix\"\n )\n ),\n exclude=s3.CfnStorageLens.BucketsAndRegionsProperty(\n buckets=[\"buckets\"],\n regions=[\"regions\"]\n ),\n include=s3.CfnStorageLens.BucketsAndRegionsProperty(\n buckets=[\"buckets\"],\n regions=[\"regions\"]\n ),\n storage_lens_arn=\"storageLensArn\"\n ),\n\n # the properties below are optional\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)",
7561 "version": "2"
7562 },
7563 "csharp": {
7564 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nvar encryption;\n\nCfnStorageLensProps cfnStorageLensProps = new CfnStorageLensProps {\n StorageLensConfiguration = new StorageLensConfigurationProperty {\n AccountLevel = new AccountLevelProperty {\n BucketLevel = new BucketLevelProperty {\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n },\n PrefixLevel = new PrefixLevelProperty {\n StorageMetrics = new PrefixLevelStorageMetricsProperty {\n IsEnabled = false,\n SelectionCriteria = new SelectionCriteriaProperty {\n Delimiter = \"delimiter\",\n MaxDepth = 123,\n MinStorageBytesPercentage = 123\n }\n }\n }\n },\n\n // the properties below are optional\n ActivityMetrics = new ActivityMetricsProperty {\n IsEnabled = false\n }\n },\n Id = \"id\",\n IsEnabled = false,\n\n // the properties below are optional\n AwsOrg = new AwsOrgProperty {\n Arn = \"arn\"\n },\n DataExport = new DataExportProperty {\n CloudWatchMetrics = new CloudWatchMetricsProperty {\n IsEnabled = false\n },\n S3BucketDestination = new S3BucketDestinationProperty {\n AccountId = \"accountId\",\n Arn = \"arn\",\n Format = \"format\",\n OutputSchemaVersion = \"outputSchemaVersion\",\n\n // the properties below are optional\n Encryption = encryption,\n Prefix = \"prefix\"\n }\n },\n Exclude = new BucketsAndRegionsProperty {\n Buckets = new [] { \"buckets\" },\n Regions = new [] { \"regions\" }\n },\n Include = new BucketsAndRegionsProperty {\n Buckets = new [] { \"buckets\" },\n Regions = new [] { \"regions\" }\n },\n StorageLensArn = \"storageLensArn\"\n },\n\n // the properties below are optional\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n};",
7565 "version": "1"
7566 },
7567 "java": {
7568 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nObject encryption;\n\nCfnStorageLensProps cfnStorageLensProps = CfnStorageLensProps.builder()\n .storageLensConfiguration(StorageLensConfigurationProperty.builder()\n .accountLevel(AccountLevelProperty.builder()\n .bucketLevel(BucketLevelProperty.builder()\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .prefixLevel(PrefixLevelProperty.builder()\n .storageMetrics(PrefixLevelStorageMetricsProperty.builder()\n .isEnabled(false)\n .selectionCriteria(SelectionCriteriaProperty.builder()\n .delimiter(\"delimiter\")\n .maxDepth(123)\n .minStorageBytesPercentage(123)\n .build())\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .activityMetrics(ActivityMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .build())\n .id(\"id\")\n .isEnabled(false)\n\n // the properties below are optional\n .awsOrg(AwsOrgProperty.builder()\n .arn(\"arn\")\n .build())\n .dataExport(DataExportProperty.builder()\n .cloudWatchMetrics(CloudWatchMetricsProperty.builder()\n .isEnabled(false)\n .build())\n .s3BucketDestination(S3BucketDestinationProperty.builder()\n .accountId(\"accountId\")\n .arn(\"arn\")\n .format(\"format\")\n .outputSchemaVersion(\"outputSchemaVersion\")\n\n // the properties below are optional\n .encryption(encryption)\n .prefix(\"prefix\")\n .build())\n .build())\n .exclude(BucketsAndRegionsProperty.builder()\n .buckets(List.of(\"buckets\"))\n .regions(List.of(\"regions\"))\n .build())\n .include(BucketsAndRegionsProperty.builder()\n .buckets(List.of(\"buckets\"))\n .regions(List.of(\"regions\"))\n .build())\n .storageLensArn(\"storageLensArn\")\n .build())\n\n // the properties below are optional\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
7569 "version": "1"
7570 },
7571 "go": {
7572 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar encryption interface{}\n\ncfnStorageLensProps := &cfnStorageLensProps{\n\tstorageLensConfiguration: &storageLensConfigurationProperty{\n\t\taccountLevel: &accountLevelProperty{\n\t\t\tbucketLevel: &bucketLevelProperty{\n\t\t\t\tactivityMetrics: &activityMetricsProperty{\n\t\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t\tprefixLevel: &prefixLevelProperty{\n\t\t\t\t\tstorageMetrics: &prefixLevelStorageMetricsProperty{\n\t\t\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t\t\t\tselectionCriteria: &selectionCriteriaProperty{\n\t\t\t\t\t\t\tdelimiter: jsii.String(\"delimiter\"),\n\t\t\t\t\t\t\tmaxDepth: jsii.Number(123),\n\t\t\t\t\t\t\tminStorageBytesPercentage: jsii.Number(123),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\tactivityMetrics: &activityMetricsProperty{\n\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t\tid: jsii.String(\"id\"),\n\t\tisEnabled: jsii.Boolean(false),\n\n\t\t// the properties below are optional\n\t\tawsOrg: &awsOrgProperty{\n\t\t\tarn: jsii.String(\"arn\"),\n\t\t},\n\t\tdataExport: &dataExportProperty{\n\t\t\tcloudWatchMetrics: &cloudWatchMetricsProperty{\n\t\t\t\tisEnabled: jsii.Boolean(false),\n\t\t\t},\n\t\t\ts3BucketDestination: &s3BucketDestinationProperty{\n\t\t\t\taccountId: jsii.String(\"accountId\"),\n\t\t\t\tarn: jsii.String(\"arn\"),\n\t\t\t\tformat: jsii.String(\"format\"),\n\t\t\t\toutputSchemaVersion: jsii.String(\"outputSchemaVersion\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tencryption: encryption,\n\t\t\t\tprefix: jsii.String(\"prefix\"),\n\t\t\t},\n\t\t},\n\t\texclude: &bucketsAndRegionsProperty{\n\t\t\tbuckets: []*string{\n\t\t\t\tjsii.String(\"buckets\"),\n\t\t\t},\n\t\t\tregions: []*string{\n\t\t\t\tjsii.String(\"regions\"),\n\t\t\t},\n\t\t},\n\t\tinclude: &bucketsAndRegionsProperty{\n\t\t\tbuckets: []*string{\n\t\t\t\tjsii.String(\"buckets\"),\n\t\t\t},\n\t\t\tregions: []*string{\n\t\t\t\tjsii.String(\"regions\"),\n\t\t\t},\n\t\t},\n\t\tstorageLensArn: jsii.String(\"storageLensArn\"),\n\t},\n\n\t// the properties below are optional\n\ttags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
7573 "version": "1"
7574 },
7575 "$": {
7576 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\nconst cfnStorageLensProps: s3.CfnStorageLensProps = {\n storageLensConfiguration: {\n accountLevel: {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n },\n id: 'id',\n isEnabled: false,\n\n // the properties below are optional\n awsOrg: {\n arn: 'arn',\n },\n dataExport: {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n },\n exclude: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n include: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n storageLensArn: 'storageLensArn',\n },\n\n // the properties below are optional\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};",
7577 "version": "0"
7578 }
7579 },
7580 "location": {
7581 "api": {
7582 "api": "type",
7583 "fqn": "@aws-cdk/aws-s3.CfnStorageLensProps"
7584 },
7585 "field": {
7586 "field": "example"
7587 }
7588 },
7589 "didCompile": true,
7590 "fqnsReferenced": [
7591 "@aws-cdk/aws-s3.CfnStorageLensProps"
7592 ],
7593 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const encryption: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnStorageLensProps: s3.CfnStorageLensProps = {\n storageLensConfiguration: {\n accountLevel: {\n bucketLevel: {\n activityMetrics: {\n isEnabled: false,\n },\n prefixLevel: {\n storageMetrics: {\n isEnabled: false,\n selectionCriteria: {\n delimiter: 'delimiter',\n maxDepth: 123,\n minStorageBytesPercentage: 123,\n },\n },\n },\n },\n\n // the properties below are optional\n activityMetrics: {\n isEnabled: false,\n },\n },\n id: 'id',\n isEnabled: false,\n\n // the properties below are optional\n awsOrg: {\n arn: 'arn',\n },\n dataExport: {\n cloudWatchMetrics: {\n isEnabled: false,\n },\n s3BucketDestination: {\n accountId: 'accountId',\n arn: 'arn',\n format: 'format',\n outputSchemaVersion: 'outputSchemaVersion',\n\n // the properties below are optional\n encryption: encryption,\n prefix: 'prefix',\n },\n },\n exclude: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n include: {\n buckets: ['buckets'],\n regions: ['regions'],\n },\n storageLensArn: 'storageLensArn',\n },\n\n // the properties below are optional\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7594 "syntaxKindCounter": {
7595 "8": 2,
7596 "10": 16,
7597 "75": 44,
7598 "91": 5,
7599 "125": 1,
7600 "130": 1,
7601 "153": 1,
7602 "169": 1,
7603 "192": 5,
7604 "193": 16,
7605 "225": 2,
7606 "242": 2,
7607 "243": 2,
7608 "254": 1,
7609 "255": 1,
7610 "256": 1,
7611 "281": 38,
7612 "290": 1
7613 },
7614 "fqnsFingerprint": "fcb68daae0a3d526ef4e6f777f704f23385d8635049595767d439d1c3cbe22f1"
7615 },
7616 "cb3e987432672d4919d336500702c64267e87beb1bdce7a58e388b7d2cc901e2": {
7617 "translations": {
7618 "python": {
7619 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ncors_rule = s3.CorsRule(\n allowed_methods=[s3.HttpMethods.GET],\n allowed_origins=[\"allowedOrigins\"],\n\n # the properties below are optional\n allowed_headers=[\"allowedHeaders\"],\n exposed_headers=[\"exposedHeaders\"],\n id=\"id\",\n max_age=123\n)",
7620 "version": "2"
7621 },
7622 "csharp": {
7623 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nCorsRule corsRule = new CorsRule {\n AllowedMethods = new [] { HttpMethods.GET },\n AllowedOrigins = new [] { \"allowedOrigins\" },\n\n // the properties below are optional\n AllowedHeaders = new [] { \"allowedHeaders\" },\n ExposedHeaders = new [] { \"exposedHeaders\" },\n Id = \"id\",\n MaxAge = 123\n};",
7624 "version": "1"
7625 },
7626 "java": {
7627 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nCorsRule corsRule = CorsRule.builder()\n .allowedMethods(List.of(HttpMethods.GET))\n .allowedOrigins(List.of(\"allowedOrigins\"))\n\n // the properties below are optional\n .allowedHeaders(List.of(\"allowedHeaders\"))\n .exposedHeaders(List.of(\"exposedHeaders\"))\n .id(\"id\")\n .maxAge(123)\n .build();",
7628 "version": "1"
7629 },
7630 "go": {
7631 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ncorsRule := &corsRule{\n\tallowedMethods: []httpMethods{\n\t\ts3.*httpMethods_GET,\n\t},\n\tallowedOrigins: []*string{\n\t\tjsii.String(\"allowedOrigins\"),\n\t},\n\n\t// the properties below are optional\n\tallowedHeaders: []*string{\n\t\tjsii.String(\"allowedHeaders\"),\n\t},\n\texposedHeaders: []*string{\n\t\tjsii.String(\"exposedHeaders\"),\n\t},\n\tid: jsii.String(\"id\"),\n\tmaxAge: jsii.Number(123),\n}",
7632 "version": "1"
7633 },
7634 "$": {
7635 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst corsRule: s3.CorsRule = {\n allowedMethods: [s3.HttpMethods.GET],\n allowedOrigins: ['allowedOrigins'],\n\n // the properties below are optional\n allowedHeaders: ['allowedHeaders'],\n exposedHeaders: ['exposedHeaders'],\n id: 'id',\n maxAge: 123,\n};",
7636 "version": "0"
7637 }
7638 },
7639 "location": {
7640 "api": {
7641 "api": "type",
7642 "fqn": "@aws-cdk/aws-s3.CorsRule"
7643 },
7644 "field": {
7645 "field": "example"
7646 }
7647 },
7648 "didCompile": true,
7649 "fqnsReferenced": [
7650 "@aws-cdk/aws-s3.CorsRule",
7651 "@aws-cdk/aws-s3.HttpMethods",
7652 "@aws-cdk/aws-s3.HttpMethods#GET"
7653 ],
7654 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst corsRule: s3.CorsRule = {\n allowedMethods: [s3.HttpMethods.GET],\n allowedOrigins: ['allowedOrigins'],\n\n // the properties below are optional\n allowedHeaders: ['allowedHeaders'],\n exposedHeaders: ['exposedHeaders'],\n id: 'id',\n maxAge: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7655 "syntaxKindCounter": {
7656 "8": 1,
7657 "10": 5,
7658 "75": 13,
7659 "153": 1,
7660 "169": 1,
7661 "192": 4,
7662 "193": 1,
7663 "194": 2,
7664 "225": 1,
7665 "242": 1,
7666 "243": 1,
7667 "254": 1,
7668 "255": 1,
7669 "256": 1,
7670 "281": 6,
7671 "290": 1
7672 },
7673 "fqnsFingerprint": "7858be631b398a69ce3b37ad27d9bd0d8dad43ad3c2b141a708e32721e0e7ca2"
7674 },
7675 "d25135a362e595abbeca70b13dd66ff851a0637cb0bbd9ce27f0d3c680862416": {
7676 "translations": {
7677 "python": {
7678 "source": "# my_queue: sqs.Queue\n\nbucket = s3.Bucket(self, \"MyBucket\")\nbucket.add_event_notification(s3.EventType.OBJECT_REMOVED,\n s3n.SqsDestination(my_queue), prefix=\"foo/\", suffix=\".jpg\")",
7679 "version": "2"
7680 },
7681 "csharp": {
7682 "source": "Queue myQueue;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.AddEventNotification(EventType.OBJECT_REMOVED,\nnew SqsDestination(myQueue), new NotificationKeyFilter { Prefix = \"foo/\", Suffix = \".jpg\" });",
7683 "version": "1"
7684 },
7685 "java": {
7686 "source": "Queue myQueue;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.addEventNotification(EventType.OBJECT_REMOVED,\nnew SqsDestination(myQueue), NotificationKeyFilter.builder().prefix(\"foo/\").suffix(\".jpg\").build());",
7687 "version": "1"
7688 },
7689 "go": {
7690 "source": "var myQueue queue\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.addEventNotification(s3.eventType_OBJECT_REMOVED,\ns3n.NewSqsDestination(myQueue), &notificationKeyFilter{\n\tprefix: jsii.String(\"foo/\"),\n\tsuffix: jsii.String(\".jpg\"),\n})",
7691 "version": "1"
7692 },
7693 "$": {
7694 "source": "declare const myQueue: sqs.Queue;\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.addEventNotification(s3.EventType.OBJECT_REMOVED,\n new s3n.SqsDestination(myQueue),\n { prefix: 'foo/', suffix: '.jpg' });",
7695 "version": "0"
7696 }
7697 },
7698 "location": {
7699 "api": {
7700 "api": "type",
7701 "fqn": "@aws-cdk/aws-s3.EventType"
7702 },
7703 "field": {
7704 "field": "example"
7705 }
7706 },
7707 "didCompile": true,
7708 "fqnsReferenced": [
7709 "@aws-cdk/aws-s3-notifications.SqsDestination",
7710 "@aws-cdk/aws-s3.Bucket",
7711 "@aws-cdk/aws-s3.BucketBase#addEventNotification",
7712 "@aws-cdk/aws-s3.EventType",
7713 "@aws-cdk/aws-s3.EventType#OBJECT_REMOVED",
7714 "@aws-cdk/aws-s3.IBucketNotificationDestination",
7715 "@aws-cdk/aws-s3.NotificationKeyFilter",
7716 "@aws-cdk/aws-sqs.IQueue",
7717 "constructs.Construct"
7718 ],
7719 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myQueue: sqs.Queue;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.addEventNotification(s3.EventType.OBJECT_REMOVED,\n new s3n.SqsDestination(myQueue),\n { prefix: 'foo/', suffix: '.jpg' });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
7720 "syntaxKindCounter": {
7721 "10": 3,
7722 "75": 16,
7723 "104": 1,
7724 "130": 1,
7725 "153": 1,
7726 "169": 1,
7727 "193": 1,
7728 "194": 5,
7729 "196": 1,
7730 "197": 2,
7731 "225": 2,
7732 "226": 1,
7733 "242": 2,
7734 "243": 2,
7735 "281": 2,
7736 "290": 1
7737 },
7738 "fqnsFingerprint": "1ebf3274d8449ea7d48470f14a16a4409fcc82f03a24df75930f9648ede35ec0"
7739 },
7740 "5cc213ea77bcb79dce3a840c8d0b613fc00fad7aa955c25f2744529adb60ac35": {
7741 "translations": {
7742 "python": {
7743 "source": "# my_lambda: lambda.Function\n\nbucket = s3.Bucket(self, \"MyBucket\")\nbucket.add_event_notification(s3.EventType.OBJECT_CREATED, s3n.LambdaDestination(my_lambda), prefix=\"home/myusername/*\")",
7744 "version": "2"
7745 },
7746 "csharp": {
7747 "source": "Function myLambda;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.AddEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), new NotificationKeyFilter { Prefix = \"home/myusername/*\" });",
7748 "version": "1"
7749 },
7750 "java": {
7751 "source": "Function myLambda;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.addEventNotification(EventType.OBJECT_CREATED, new LambdaDestination(myLambda), NotificationKeyFilter.builder().prefix(\"home/myusername/*\").build());",
7752 "version": "1"
7753 },
7754 "go": {
7755 "source": "var myLambda function\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.addEventNotification(s3.eventType_OBJECT_CREATED, s3n.NewLambdaDestination(myLambda), &notificationKeyFilter{\n\tprefix: jsii.String(\"home/myusername/*\"),\n})",
7756 "version": "1"
7757 },
7758 "$": {
7759 "source": " declare const myLambda: lambda.Function;\n const bucket = new s3.Bucket(this, 'MyBucket');\n bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'})",
7760 "version": "0"
7761 }
7762 },
7763 "location": {
7764 "api": {
7765 "api": "member",
7766 "fqn": "@aws-cdk/aws-s3.IBucket",
7767 "memberName": "addEventNotification"
7768 },
7769 "field": {
7770 "field": "example"
7771 }
7772 },
7773 "didCompile": true,
7774 "fqnsReferenced": [
7775 "@aws-cdk/aws-lambda.IFunction",
7776 "@aws-cdk/aws-s3-notifications.LambdaDestination",
7777 "@aws-cdk/aws-s3.Bucket",
7778 "@aws-cdk/aws-s3.BucketBase#addEventNotification",
7779 "@aws-cdk/aws-s3.EventType",
7780 "@aws-cdk/aws-s3.EventType#OBJECT_CREATED",
7781 "@aws-cdk/aws-s3.IBucketNotificationDestination",
7782 "@aws-cdk/aws-s3.NotificationKeyFilter",
7783 "constructs.Construct"
7784 ],
7785 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n declare const myLambda: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n const bucket = new s3.Bucket(this, 'MyBucket');\n bucket.addEventNotification(s3.EventType.OBJECT_CREATED, new s3n.LambdaDestination(myLambda), {prefix: 'home/myusername/*'})\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
7786 "syntaxKindCounter": {
7787 "10": 2,
7788 "75": 15,
7789 "104": 1,
7790 "130": 1,
7791 "153": 1,
7792 "169": 1,
7793 "193": 1,
7794 "194": 5,
7795 "196": 1,
7796 "197": 2,
7797 "225": 2,
7798 "226": 1,
7799 "242": 2,
7800 "243": 2,
7801 "281": 1,
7802 "290": 1
7803 },
7804 "fqnsFingerprint": "163b94ccb296fbc41a1d6b572c6db264327e39055f0b09ef6eb3a8e3c3e4f948"
7805 },
7806 "99efa71e18f6df399eb09d98813804889ab4551170e5bb0b064a5b7e34e054f9": {
7807 "translations": {
7808 "python": {
7809 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.core as cdk\n\nintelligent_tiering_configuration = s3.IntelligentTieringConfiguration(\n name=\"name\",\n\n # the properties below are optional\n archive_access_tier_time=cdk.Duration.minutes(30),\n deep_archive_access_tier_time=cdk.Duration.minutes(30),\n prefix=\"prefix\",\n tags=[s3.Tag(\n key=\"key\",\n value=\"value\"\n )]\n)",
7810 "version": "2"
7811 },
7812 "csharp": {
7813 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK;\nIntelligentTieringConfiguration intelligentTieringConfiguration = new IntelligentTieringConfiguration {\n Name = \"name\",\n\n // the properties below are optional\n ArchiveAccessTierTime = Duration.Minutes(30),\n DeepArchiveAccessTierTime = Duration.Minutes(30),\n Prefix = \"prefix\",\n Tags = new [] { new Tag {\n Key = \"key\",\n Value = \"value\"\n } }\n};",
7814 "version": "1"
7815 },
7816 "java": {
7817 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.core.*;\n\nIntelligentTieringConfiguration intelligentTieringConfiguration = IntelligentTieringConfiguration.builder()\n .name(\"name\")\n\n // the properties below are optional\n .archiveAccessTierTime(Duration.minutes(30))\n .deepArchiveAccessTierTime(Duration.minutes(30))\n .prefix(\"prefix\")\n .tags(List.of(Tag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();",
7818 "version": "1"
7819 },
7820 "go": {
7821 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nintelligentTieringConfiguration := &intelligentTieringConfiguration{\n\tname: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tarchiveAccessTierTime: cdk.duration.minutes(jsii.Number(30)),\n\tdeepArchiveAccessTierTime: cdk.*duration.minutes(jsii.Number(30)),\n\tprefix: jsii.String(\"prefix\"),\n\ttags: []tag{\n\t\t&tag{\n\t\t\tkey: jsii.String(\"key\"),\n\t\t\tvalue: jsii.String(\"value\"),\n\t\t},\n\t},\n}",
7822 "version": "1"
7823 },
7824 "$": {
7825 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\nconst intelligentTieringConfiguration: s3.IntelligentTieringConfiguration = {\n name: 'name',\n\n // the properties below are optional\n archiveAccessTierTime: cdk.Duration.minutes(30),\n deepArchiveAccessTierTime: cdk.Duration.minutes(30),\n prefix: 'prefix',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};",
7826 "version": "0"
7827 }
7828 },
7829 "location": {
7830 "api": {
7831 "api": "type",
7832 "fqn": "@aws-cdk/aws-s3.IntelligentTieringConfiguration"
7833 },
7834 "field": {
7835 "field": "example"
7836 }
7837 },
7838 "didCompile": true,
7839 "fqnsReferenced": [
7840 "@aws-cdk/aws-s3.IntelligentTieringConfiguration",
7841 "@aws-cdk/core.Duration",
7842 "@aws-cdk/core.Duration#minutes"
7843 ],
7844 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst intelligentTieringConfiguration: s3.IntelligentTieringConfiguration = {\n name: 'name',\n\n // the properties below are optional\n archiveAccessTierTime: cdk.Duration.minutes(30),\n deepArchiveAccessTierTime: cdk.Duration.minutes(30),\n prefix: 'prefix',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7845 "syntaxKindCounter": {
7846 "8": 2,
7847 "10": 6,
7848 "75": 18,
7849 "153": 1,
7850 "169": 1,
7851 "192": 1,
7852 "193": 2,
7853 "194": 4,
7854 "196": 2,
7855 "225": 1,
7856 "242": 1,
7857 "243": 1,
7858 "254": 2,
7859 "255": 2,
7860 "256": 2,
7861 "281": 7,
7862 "290": 1
7863 },
7864 "fqnsFingerprint": "091931084937be0f7c5291cf33f34a140c863b57503d77732458d23448b28675"
7865 },
7866 "b886113eabfd6a162f85c936c3ccada3708c9428270b9f1e2ac98395efd63398": {
7867 "translations": {
7868 "python": {
7869 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# bucket: s3.Bucket\n\ninventory = s3.Inventory(\n destination=s3.InventoryDestination(\n bucket=bucket,\n\n # the properties below are optional\n bucket_owner=\"bucketOwner\",\n prefix=\"prefix\"\n ),\n\n # the properties below are optional\n enabled=False,\n format=s3.InventoryFormat.CSV,\n frequency=s3.InventoryFrequency.DAILY,\n include_object_versions=s3.InventoryObjectVersion.ALL,\n inventory_id=\"inventoryId\",\n objects_prefix=\"objectsPrefix\",\n optional_fields=[\"optionalFields\"]\n)",
7870 "version": "2"
7871 },
7872 "csharp": {
7873 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nBucket bucket;\n\nInventory inventory = new Inventory {\n Destination = new InventoryDestination {\n Bucket = bucket,\n\n // the properties below are optional\n BucketOwner = \"bucketOwner\",\n Prefix = \"prefix\"\n },\n\n // the properties below are optional\n Enabled = false,\n Format = InventoryFormat.CSV,\n Frequency = InventoryFrequency.DAILY,\n IncludeObjectVersions = InventoryObjectVersion.ALL,\n InventoryId = \"inventoryId\",\n ObjectsPrefix = \"objectsPrefix\",\n OptionalFields = new [] { \"optionalFields\" }\n};",
7874 "version": "1"
7875 },
7876 "java": {
7877 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nBucket bucket;\n\nInventory inventory = Inventory.builder()\n .destination(InventoryDestination.builder()\n .bucket(bucket)\n\n // the properties below are optional\n .bucketOwner(\"bucketOwner\")\n .prefix(\"prefix\")\n .build())\n\n // the properties below are optional\n .enabled(false)\n .format(InventoryFormat.CSV)\n .frequency(InventoryFrequency.DAILY)\n .includeObjectVersions(InventoryObjectVersion.ALL)\n .inventoryId(\"inventoryId\")\n .objectsPrefix(\"objectsPrefix\")\n .optionalFields(List.of(\"optionalFields\"))\n .build();",
7878 "version": "1"
7879 },
7880 "go": {
7881 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar bucket bucket\n\ninventory := &inventory{\n\tdestination: &inventoryDestination{\n\t\tbucket: bucket,\n\n\t\t// the properties below are optional\n\t\tbucketOwner: jsii.String(\"bucketOwner\"),\n\t\tprefix: jsii.String(\"prefix\"),\n\t},\n\n\t// the properties below are optional\n\tenabled: jsii.Boolean(false),\n\tformat: s3.inventoryFormat_CSV,\n\tfrequency: s3.inventoryFrequency_DAILY,\n\tincludeObjectVersions: s3.inventoryObjectVersion_ALL,\n\tinventoryId: jsii.String(\"inventoryId\"),\n\tobjectsPrefix: jsii.String(\"objectsPrefix\"),\n\toptionalFields: []*string{\n\t\tjsii.String(\"optionalFields\"),\n\t},\n}",
7882 "version": "1"
7883 },
7884 "$": {
7885 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const bucket: s3.Bucket;\nconst inventory: s3.Inventory = {\n destination: {\n bucket: bucket,\n\n // the properties below are optional\n bucketOwner: 'bucketOwner',\n prefix: 'prefix',\n },\n\n // the properties below are optional\n enabled: false,\n format: s3.InventoryFormat.CSV,\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n inventoryId: 'inventoryId',\n objectsPrefix: 'objectsPrefix',\n optionalFields: ['optionalFields'],\n};",
7886 "version": "0"
7887 }
7888 },
7889 "location": {
7890 "api": {
7891 "api": "type",
7892 "fqn": "@aws-cdk/aws-s3.Inventory"
7893 },
7894 "field": {
7895 "field": "example"
7896 }
7897 },
7898 "didCompile": true,
7899 "fqnsReferenced": [
7900 "@aws-cdk/aws-s3.IBucket",
7901 "@aws-cdk/aws-s3.Inventory",
7902 "@aws-cdk/aws-s3.InventoryDestination",
7903 "@aws-cdk/aws-s3.InventoryFormat",
7904 "@aws-cdk/aws-s3.InventoryFormat#CSV",
7905 "@aws-cdk/aws-s3.InventoryFrequency",
7906 "@aws-cdk/aws-s3.InventoryFrequency#DAILY",
7907 "@aws-cdk/aws-s3.InventoryObjectVersion",
7908 "@aws-cdk/aws-s3.InventoryObjectVersion#ALL"
7909 ],
7910 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst inventory: s3.Inventory = {\n destination: {\n bucket: bucket,\n\n // the properties below are optional\n bucketOwner: 'bucketOwner',\n prefix: 'prefix',\n },\n\n // the properties below are optional\n enabled: false,\n format: s3.InventoryFormat.CSV,\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n inventoryId: 'inventoryId',\n objectsPrefix: 'objectsPrefix',\n optionalFields: ['optionalFields'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
7911 "syntaxKindCounter": {
7912 "10": 6,
7913 "75": 28,
7914 "91": 1,
7915 "130": 1,
7916 "153": 2,
7917 "169": 2,
7918 "192": 1,
7919 "193": 2,
7920 "194": 6,
7921 "225": 2,
7922 "242": 2,
7923 "243": 2,
7924 "254": 1,
7925 "255": 1,
7926 "256": 1,
7927 "281": 11,
7928 "290": 1
7929 },
7930 "fqnsFingerprint": "d64d51c10366155ab77f3f34ab7a5370571ada321e8ff53aa781ce02c779d73a"
7931 },
7932 "81b3cf62686784b8ae32f1a438bbb778a908ad8cc9cf6e4831342605b8fcef83": {
7933 "translations": {
7934 "python": {
7935 "source": "inventory_bucket = s3.Bucket(self, \"InventoryBucket\")\n\ndata_bucket = s3.Bucket(self, \"DataBucket\",\n inventories=[s3.Inventory(\n frequency=s3.InventoryFrequency.DAILY,\n include_object_versions=s3.InventoryObjectVersion.CURRENT,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket\n )\n ), s3.Inventory(\n frequency=s3.InventoryFrequency.WEEKLY,\n include_object_versions=s3.InventoryObjectVersion.ALL,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket,\n prefix=\"with-all-versions\"\n )\n )\n ]\n)",
7936 "version": "2"
7937 },
7938 "csharp": {
7939 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = new Bucket(this, \"DataBucket\", new BucketProps {\n Inventories = new [] { new Inventory {\n Frequency = InventoryFrequency.DAILY,\n IncludeObjectVersions = InventoryObjectVersion.CURRENT,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket\n }\n }, new Inventory {\n Frequency = InventoryFrequency.WEEKLY,\n IncludeObjectVersions = InventoryObjectVersion.ALL,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket,\n Prefix = \"with-all-versions\"\n }\n } }\n});",
7940 "version": "1"
7941 },
7942 "java": {
7943 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = Bucket.Builder.create(this, \"DataBucket\")\n .inventories(List.of(Inventory.builder()\n .frequency(InventoryFrequency.DAILY)\n .includeObjectVersions(InventoryObjectVersion.CURRENT)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .build())\n .build(), Inventory.builder()\n .frequency(InventoryFrequency.WEEKLY)\n .includeObjectVersions(InventoryObjectVersion.ALL)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .prefix(\"with-all-versions\")\n .build())\n .build()))\n .build();",
7944 "version": "1"
7945 },
7946 "go": {
7947 "source": "inventoryBucket := s3.NewBucket(this, jsii.String(\"InventoryBucket\"))\n\ndataBucket := s3.NewBucket(this, jsii.String(\"DataBucket\"), &bucketProps{\n\tinventories: []inventory{\n\t\t&inventory{\n\t\t\tfrequency: s3.inventoryFrequency_DAILY,\n\t\t\tincludeObjectVersions: s3.inventoryObjectVersion_CURRENT,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t},\n\t\t},\n\t\t&inventory{\n\t\t\tfrequency: s3.*inventoryFrequency_WEEKLY,\n\t\t\tincludeObjectVersions: s3.*inventoryObjectVersion_ALL,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t\tprefix: jsii.String(\"with-all-versions\"),\n\t\t\t},\n\t\t},\n\t},\n})",
7948 "version": "1"
7949 },
7950 "$": {
7951 "source": "const inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});",
7952 "version": "0"
7953 }
7954 },
7955 "location": {
7956 "api": {
7957 "api": "type",
7958 "fqn": "@aws-cdk/aws-s3.InventoryDestination"
7959 },
7960 "field": {
7961 "field": "example"
7962 }
7963 },
7964 "didCompile": true,
7965 "fqnsReferenced": [
7966 "@aws-cdk/aws-s3.Bucket",
7967 "@aws-cdk/aws-s3.BucketProps",
7968 "@aws-cdk/aws-s3.IBucket",
7969 "@aws-cdk/aws-s3.InventoryDestination",
7970 "@aws-cdk/aws-s3.InventoryFrequency",
7971 "@aws-cdk/aws-s3.InventoryFrequency#DAILY",
7972 "@aws-cdk/aws-s3.InventoryFrequency#WEEKLY",
7973 "@aws-cdk/aws-s3.InventoryObjectVersion",
7974 "@aws-cdk/aws-s3.InventoryObjectVersion#ALL",
7975 "@aws-cdk/aws-s3.InventoryObjectVersion#CURRENT",
7976 "constructs.Construct"
7977 ],
7978 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
7979 "syntaxKindCounter": {
7980 "10": 3,
7981 "75": 30,
7982 "104": 2,
7983 "192": 1,
7984 "193": 5,
7985 "194": 10,
7986 "197": 2,
7987 "225": 2,
7988 "242": 2,
7989 "243": 2,
7990 "281": 10
7991 },
7992 "fqnsFingerprint": "90b411883ef8b2f192e2666e273c769434a67c3ca8d96a64eb3fd051346ba8cf"
7993 },
7994 "bf1dbf75038acd40783f0bd5c8d75e1deadb3384d95e2781d447743e8b4f3e74": {
7995 "translations": {
7996 "python": {
7997 "source": "inventory_bucket = s3.Bucket(self, \"InventoryBucket\")\n\ndata_bucket = s3.Bucket(self, \"DataBucket\",\n inventories=[s3.Inventory(\n frequency=s3.InventoryFrequency.DAILY,\n include_object_versions=s3.InventoryObjectVersion.CURRENT,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket\n )\n ), s3.Inventory(\n frequency=s3.InventoryFrequency.WEEKLY,\n include_object_versions=s3.InventoryObjectVersion.ALL,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket,\n prefix=\"with-all-versions\"\n )\n )\n ]\n)",
7998 "version": "2"
7999 },
8000 "csharp": {
8001 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = new Bucket(this, \"DataBucket\", new BucketProps {\n Inventories = new [] { new Inventory {\n Frequency = InventoryFrequency.DAILY,\n IncludeObjectVersions = InventoryObjectVersion.CURRENT,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket\n }\n }, new Inventory {\n Frequency = InventoryFrequency.WEEKLY,\n IncludeObjectVersions = InventoryObjectVersion.ALL,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket,\n Prefix = \"with-all-versions\"\n }\n } }\n});",
8002 "version": "1"
8003 },
8004 "java": {
8005 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = Bucket.Builder.create(this, \"DataBucket\")\n .inventories(List.of(Inventory.builder()\n .frequency(InventoryFrequency.DAILY)\n .includeObjectVersions(InventoryObjectVersion.CURRENT)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .build())\n .build(), Inventory.builder()\n .frequency(InventoryFrequency.WEEKLY)\n .includeObjectVersions(InventoryObjectVersion.ALL)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .prefix(\"with-all-versions\")\n .build())\n .build()))\n .build();",
8006 "version": "1"
8007 },
8008 "go": {
8009 "source": "inventoryBucket := s3.NewBucket(this, jsii.String(\"InventoryBucket\"))\n\ndataBucket := s3.NewBucket(this, jsii.String(\"DataBucket\"), &bucketProps{\n\tinventories: []inventory{\n\t\t&inventory{\n\t\t\tfrequency: s3.inventoryFrequency_DAILY,\n\t\t\tincludeObjectVersions: s3.inventoryObjectVersion_CURRENT,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t},\n\t\t},\n\t\t&inventory{\n\t\t\tfrequency: s3.*inventoryFrequency_WEEKLY,\n\t\t\tincludeObjectVersions: s3.*inventoryObjectVersion_ALL,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t\tprefix: jsii.String(\"with-all-versions\"),\n\t\t\t},\n\t\t},\n\t},\n})",
8010 "version": "1"
8011 },
8012 "$": {
8013 "source": "const inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});",
8014 "version": "0"
8015 }
8016 },
8017 "location": {
8018 "api": {
8019 "api": "type",
8020 "fqn": "@aws-cdk/aws-s3.InventoryFrequency"
8021 },
8022 "field": {
8023 "field": "example"
8024 }
8025 },
8026 "didCompile": true,
8027 "fqnsReferenced": [
8028 "@aws-cdk/aws-s3.Bucket",
8029 "@aws-cdk/aws-s3.BucketProps",
8030 "@aws-cdk/aws-s3.IBucket",
8031 "@aws-cdk/aws-s3.InventoryDestination",
8032 "@aws-cdk/aws-s3.InventoryFrequency",
8033 "@aws-cdk/aws-s3.InventoryFrequency#DAILY",
8034 "@aws-cdk/aws-s3.InventoryFrequency#WEEKLY",
8035 "@aws-cdk/aws-s3.InventoryObjectVersion",
8036 "@aws-cdk/aws-s3.InventoryObjectVersion#ALL",
8037 "@aws-cdk/aws-s3.InventoryObjectVersion#CURRENT",
8038 "constructs.Construct"
8039 ],
8040 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8041 "syntaxKindCounter": {
8042 "10": 3,
8043 "75": 30,
8044 "104": 2,
8045 "192": 1,
8046 "193": 5,
8047 "194": 10,
8048 "197": 2,
8049 "225": 2,
8050 "242": 2,
8051 "243": 2,
8052 "281": 10
8053 },
8054 "fqnsFingerprint": "90b411883ef8b2f192e2666e273c769434a67c3ca8d96a64eb3fd051346ba8cf"
8055 },
8056 "696ea489cf6ebe25396f8ecd217157c06a128daf5a99f934f63e587fb5070ce1": {
8057 "translations": {
8058 "python": {
8059 "source": "inventory_bucket = s3.Bucket(self, \"InventoryBucket\")\n\ndata_bucket = s3.Bucket(self, \"DataBucket\",\n inventories=[s3.Inventory(\n frequency=s3.InventoryFrequency.DAILY,\n include_object_versions=s3.InventoryObjectVersion.CURRENT,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket\n )\n ), s3.Inventory(\n frequency=s3.InventoryFrequency.WEEKLY,\n include_object_versions=s3.InventoryObjectVersion.ALL,\n destination=s3.InventoryDestination(\n bucket=inventory_bucket,\n prefix=\"with-all-versions\"\n )\n )\n ]\n)",
8060 "version": "2"
8061 },
8062 "csharp": {
8063 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = new Bucket(this, \"DataBucket\", new BucketProps {\n Inventories = new [] { new Inventory {\n Frequency = InventoryFrequency.DAILY,\n IncludeObjectVersions = InventoryObjectVersion.CURRENT,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket\n }\n }, new Inventory {\n Frequency = InventoryFrequency.WEEKLY,\n IncludeObjectVersions = InventoryObjectVersion.ALL,\n Destination = new InventoryDestination {\n Bucket = inventoryBucket,\n Prefix = \"with-all-versions\"\n }\n } }\n});",
8064 "version": "1"
8065 },
8066 "java": {
8067 "source": "Bucket inventoryBucket = new Bucket(this, \"InventoryBucket\");\n\nBucket dataBucket = Bucket.Builder.create(this, \"DataBucket\")\n .inventories(List.of(Inventory.builder()\n .frequency(InventoryFrequency.DAILY)\n .includeObjectVersions(InventoryObjectVersion.CURRENT)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .build())\n .build(), Inventory.builder()\n .frequency(InventoryFrequency.WEEKLY)\n .includeObjectVersions(InventoryObjectVersion.ALL)\n .destination(InventoryDestination.builder()\n .bucket(inventoryBucket)\n .prefix(\"with-all-versions\")\n .build())\n .build()))\n .build();",
8068 "version": "1"
8069 },
8070 "go": {
8071 "source": "inventoryBucket := s3.NewBucket(this, jsii.String(\"InventoryBucket\"))\n\ndataBucket := s3.NewBucket(this, jsii.String(\"DataBucket\"), &bucketProps{\n\tinventories: []inventory{\n\t\t&inventory{\n\t\t\tfrequency: s3.inventoryFrequency_DAILY,\n\t\t\tincludeObjectVersions: s3.inventoryObjectVersion_CURRENT,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t},\n\t\t},\n\t\t&inventory{\n\t\t\tfrequency: s3.*inventoryFrequency_WEEKLY,\n\t\t\tincludeObjectVersions: s3.*inventoryObjectVersion_ALL,\n\t\t\tdestination: &inventoryDestination{\n\t\t\t\tbucket: inventoryBucket,\n\t\t\t\tprefix: jsii.String(\"with-all-versions\"),\n\t\t\t},\n\t\t},\n\t},\n})",
8072 "version": "1"
8073 },
8074 "$": {
8075 "source": "const inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});",
8076 "version": "0"
8077 }
8078 },
8079 "location": {
8080 "api": {
8081 "api": "type",
8082 "fqn": "@aws-cdk/aws-s3.InventoryObjectVersion"
8083 },
8084 "field": {
8085 "field": "example"
8086 }
8087 },
8088 "didCompile": true,
8089 "fqnsReferenced": [
8090 "@aws-cdk/aws-s3.Bucket",
8091 "@aws-cdk/aws-s3.BucketProps",
8092 "@aws-cdk/aws-s3.IBucket",
8093 "@aws-cdk/aws-s3.InventoryDestination",
8094 "@aws-cdk/aws-s3.InventoryFrequency",
8095 "@aws-cdk/aws-s3.InventoryFrequency#DAILY",
8096 "@aws-cdk/aws-s3.InventoryFrequency#WEEKLY",
8097 "@aws-cdk/aws-s3.InventoryObjectVersion",
8098 "@aws-cdk/aws-s3.InventoryObjectVersion#ALL",
8099 "@aws-cdk/aws-s3.InventoryObjectVersion#CURRENT",
8100 "constructs.Construct"
8101 ],
8102 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst inventoryBucket = new s3.Bucket(this, 'InventoryBucket');\n\nconst dataBucket = new s3.Bucket(this, 'DataBucket', {\n inventories: [\n {\n frequency: s3.InventoryFrequency.DAILY,\n includeObjectVersions: s3.InventoryObjectVersion.CURRENT,\n destination: {\n bucket: inventoryBucket,\n },\n },\n {\n frequency: s3.InventoryFrequency.WEEKLY,\n includeObjectVersions: s3.InventoryObjectVersion.ALL,\n destination: {\n bucket: inventoryBucket,\n prefix: 'with-all-versions',\n },\n },\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8103 "syntaxKindCounter": {
8104 "10": 3,
8105 "75": 30,
8106 "104": 2,
8107 "192": 1,
8108 "193": 5,
8109 "194": 10,
8110 "197": 2,
8111 "225": 2,
8112 "242": 2,
8113 "243": 2,
8114 "281": 10
8115 },
8116 "fqnsFingerprint": "90b411883ef8b2f192e2666e273c769434a67c3ca8d96a64eb3fd051346ba8cf"
8117 },
8118 "775f08e18b230c36af1e34c40a4a8bcedd173a10a4068fcef006122c24597f99": {
8119 "translations": {
8120 "python": {
8121 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.core as cdk\n\n# storage_class: s3.StorageClass\n# tag_filters: Any\n\nlifecycle_rule = s3.LifecycleRule(\n abort_incomplete_multipart_upload_after=cdk.Duration.minutes(30),\n enabled=False,\n expiration=cdk.Duration.minutes(30),\n expiration_date=Date(),\n expired_object_delete_marker=False,\n id=\"id\",\n noncurrent_version_expiration=cdk.Duration.minutes(30),\n noncurrent_version_transitions=[s3.NoncurrentVersionTransition(\n storage_class=storage_class,\n transition_after=cdk.Duration.minutes(30),\n\n # the properties below are optional\n noncurrent_versions_to_retain=123\n )],\n prefix=\"prefix\",\n tag_filters={\n \"tag_filters_key\": tag_filters\n },\n transitions=[s3.Transition(\n storage_class=storage_class,\n\n # the properties below are optional\n transition_after=cdk.Duration.minutes(30),\n transition_date=Date()\n )]\n)",
8122 "version": "2"
8123 },
8124 "csharp": {
8125 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK;\n\nStorageClass storageClass;\nvar tagFilters;\nLifecycleRule lifecycleRule = new LifecycleRule {\n AbortIncompleteMultipartUploadAfter = Duration.Minutes(30),\n Enabled = false,\n Expiration = Duration.Minutes(30),\n ExpirationDate = new Date(),\n ExpiredObjectDeleteMarker = false,\n Id = \"id\",\n NoncurrentVersionExpiration = Duration.Minutes(30),\n NoncurrentVersionTransitions = new [] { new NoncurrentVersionTransition {\n StorageClass = storageClass,\n TransitionAfter = Duration.Minutes(30),\n\n // the properties below are optional\n NoncurrentVersionsToRetain = 123\n } },\n Prefix = \"prefix\",\n TagFilters = new Dictionary<string, object> {\n { \"tagFiltersKey\", tagFilters }\n },\n Transitions = new [] { new Transition {\n StorageClass = storageClass,\n\n // the properties below are optional\n TransitionAfter = Duration.Minutes(30),\n TransitionDate = new Date()\n } }\n};",
8126 "version": "1"
8127 },
8128 "java": {
8129 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.core.*;\n\nStorageClass storageClass;\nObject tagFilters;\n\nLifecycleRule lifecycleRule = LifecycleRule.builder()\n .abortIncompleteMultipartUploadAfter(Duration.minutes(30))\n .enabled(false)\n .expiration(Duration.minutes(30))\n .expirationDate(new Date())\n .expiredObjectDeleteMarker(false)\n .id(\"id\")\n .noncurrentVersionExpiration(Duration.minutes(30))\n .noncurrentVersionTransitions(List.of(NoncurrentVersionTransition.builder()\n .storageClass(storageClass)\n .transitionAfter(Duration.minutes(30))\n\n // the properties below are optional\n .noncurrentVersionsToRetain(123)\n .build()))\n .prefix(\"prefix\")\n .tagFilters(Map.of(\n \"tagFiltersKey\", tagFilters))\n .transitions(List.of(Transition.builder()\n .storageClass(storageClass)\n\n // the properties below are optional\n .transitionAfter(Duration.minutes(30))\n .transitionDate(new Date())\n .build()))\n .build();",
8130 "version": "1"
8131 },
8132 "go": {
8133 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar storageClass storageClass\nvar tagFilters interface{}\n\nlifecycleRule := &lifecycleRule{\n\tabortIncompleteMultipartUploadAfter: cdk.duration.minutes(jsii.Number(30)),\n\tenabled: jsii.Boolean(false),\n\texpiration: cdk.*duration.minutes(jsii.Number(30)),\n\texpirationDate: NewDate(),\n\texpiredObjectDeleteMarker: jsii.Boolean(false),\n\tid: jsii.String(\"id\"),\n\tnoncurrentVersionExpiration: cdk.*duration.minutes(jsii.Number(30)),\n\tnoncurrentVersionTransitions: []noncurrentVersionTransition{\n\t\t&noncurrentVersionTransition{\n\t\t\tstorageClass: storageClass,\n\t\t\ttransitionAfter: cdk.*duration.minutes(jsii.Number(30)),\n\n\t\t\t// the properties below are optional\n\t\t\tnoncurrentVersionsToRetain: jsii.Number(123),\n\t\t},\n\t},\n\tprefix: jsii.String(\"prefix\"),\n\ttagFilters: map[string]interface{}{\n\t\t\"tagFiltersKey\": tagFilters,\n\t},\n\ttransitions: []transition{\n\t\t&transition{\n\t\t\tstorageClass: storageClass,\n\n\t\t\t// the properties below are optional\n\t\t\ttransitionAfter: cdk.*duration.minutes(jsii.Number(30)),\n\t\t\ttransitionDate: NewDate(),\n\t\t},\n\t},\n}",
8134 "version": "1"
8135 },
8136 "$": {
8137 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const storageClass: s3.StorageClass;\ndeclare const tagFilters: any;\nconst lifecycleRule: s3.LifecycleRule = {\n abortIncompleteMultipartUploadAfter: cdk.Duration.minutes(30),\n enabled: false,\n expiration: cdk.Duration.minutes(30),\n expirationDate: new Date(),\n expiredObjectDeleteMarker: false,\n id: 'id',\n noncurrentVersionExpiration: cdk.Duration.minutes(30),\n noncurrentVersionTransitions: [{\n storageClass: storageClass,\n transitionAfter: cdk.Duration.minutes(30),\n\n // the properties below are optional\n noncurrentVersionsToRetain: 123,\n }],\n prefix: 'prefix',\n tagFilters: {\n tagFiltersKey: tagFilters,\n },\n transitions: [{\n storageClass: storageClass,\n\n // the properties below are optional\n transitionAfter: cdk.Duration.minutes(30),\n transitionDate: new Date(),\n }],\n};",
8138 "version": "0"
8139 }
8140 },
8141 "location": {
8142 "api": {
8143 "api": "type",
8144 "fqn": "@aws-cdk/aws-s3.LifecycleRule"
8145 },
8146 "field": {
8147 "field": "example"
8148 }
8149 },
8150 "didCompile": true,
8151 "fqnsReferenced": [
8152 "@aws-cdk/aws-s3.LifecycleRule",
8153 "@aws-cdk/aws-s3.StorageClass",
8154 "@aws-cdk/core.Duration",
8155 "@aws-cdk/core.Duration#minutes"
8156 ],
8157 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const storageClass: s3.StorageClass;\ndeclare const tagFilters: any;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lifecycleRule: s3.LifecycleRule = {\n abortIncompleteMultipartUploadAfter: cdk.Duration.minutes(30),\n enabled: false,\n expiration: cdk.Duration.minutes(30),\n expirationDate: new Date(),\n expiredObjectDeleteMarker: false,\n id: 'id',\n noncurrentVersionExpiration: cdk.Duration.minutes(30),\n noncurrentVersionTransitions: [{\n storageClass: storageClass,\n transitionAfter: cdk.Duration.minutes(30),\n\n // the properties below are optional\n noncurrentVersionsToRetain: 123,\n }],\n prefix: 'prefix',\n tagFilters: {\n tagFiltersKey: tagFilters,\n },\n transitions: [{\n storageClass: storageClass,\n\n // the properties below are optional\n transitionAfter: cdk.Duration.minutes(30),\n transitionDate: new Date(),\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8158 "syntaxKindCounter": {
8159 "8": 6,
8160 "10": 4,
8161 "75": 47,
8162 "91": 2,
8163 "125": 1,
8164 "130": 2,
8165 "153": 2,
8166 "169": 2,
8167 "192": 2,
8168 "193": 4,
8169 "194": 10,
8170 "196": 5,
8171 "197": 2,
8172 "225": 3,
8173 "242": 3,
8174 "243": 3,
8175 "254": 2,
8176 "255": 2,
8177 "256": 2,
8178 "281": 18,
8179 "290": 1
8180 },
8181 "fqnsFingerprint": "f54ac4a19f3b05579497eecfc73e41aed5560e113ed53ba6a18ed4bbf3b98dd1"
8182 },
8183 "d12c7adf4eb8a452d8ddb0c43b1330615386942cddc964f1f63c299d08605376": {
8184 "translations": {
8185 "python": {
8186 "source": "start_query_execution_job = tasks.AthenaStartQueryExecution(self, \"Athena Start Query\",\n query_string=sfn.JsonPath.format(\"select contacts where year={};\", sfn.JsonPath.string_at(\"$.year\")),\n query_execution_context=tasks.QueryExecutionContext(\n database_name=\"interactions\"\n ),\n result_configuration=tasks.ResultConfiguration(\n encryption_configuration=tasks.EncryptionConfiguration(\n encryption_option=tasks.EncryptionOption.S3_MANAGED\n ),\n output_location=s3.Location(\n bucket_name=\"mybucket\",\n object_key=\"myprefix\"\n )\n ),\n integration_pattern=sfn.IntegrationPattern.RUN_JOB\n)",
8187 "version": "2"
8188 },
8189 "csharp": {
8190 "source": "AthenaStartQueryExecution startQueryExecutionJob = new AthenaStartQueryExecution(this, \"Athena Start Query\", new AthenaStartQueryExecutionProps {\n QueryString = JsonPath.Format(\"select contacts where year={};\", JsonPath.StringAt(\"$.year\")),\n QueryExecutionContext = new QueryExecutionContext {\n DatabaseName = \"interactions\"\n },\n ResultConfiguration = new ResultConfiguration {\n EncryptionConfiguration = new EncryptionConfiguration {\n EncryptionOption = EncryptionOption.S3_MANAGED\n },\n OutputLocation = new Location {\n BucketName = \"mybucket\",\n ObjectKey = \"myprefix\"\n }\n },\n IntegrationPattern = IntegrationPattern.RUN_JOB\n});",
8191 "version": "1"
8192 },
8193 "java": {
8194 "source": "AthenaStartQueryExecution startQueryExecutionJob = AthenaStartQueryExecution.Builder.create(this, \"Athena Start Query\")\n .queryString(JsonPath.format(\"select contacts where year={};\", JsonPath.stringAt(\"$.year\")))\n .queryExecutionContext(QueryExecutionContext.builder()\n .databaseName(\"interactions\")\n .build())\n .resultConfiguration(ResultConfiguration.builder()\n .encryptionConfiguration(EncryptionConfiguration.builder()\n .encryptionOption(EncryptionOption.S3_MANAGED)\n .build())\n .outputLocation(Location.builder()\n .bucketName(\"mybucket\")\n .objectKey(\"myprefix\")\n .build())\n .build())\n .integrationPattern(IntegrationPattern.RUN_JOB)\n .build();",
8195 "version": "1"
8196 },
8197 "go": {
8198 "source": "startQueryExecutionJob := tasks.NewAthenaStartQueryExecution(this, jsii.String(\"Athena Start Query\"), &athenaStartQueryExecutionProps{\n\tqueryString: sfn.jsonPath.format(jsii.String(\"select contacts where year={};\"), sfn.*jsonPath.stringAt(jsii.String(\"$.year\"))),\n\tqueryExecutionContext: &queryExecutionContext{\n\t\tdatabaseName: jsii.String(\"interactions\"),\n\t},\n\tresultConfiguration: &resultConfiguration{\n\t\tencryptionConfiguration: &encryptionConfiguration{\n\t\t\tencryptionOption: tasks.encryptionOption_S3_MANAGED,\n\t\t},\n\t\toutputLocation: &location{\n\t\t\tbucketName: jsii.String(\"mybucket\"),\n\t\t\tobjectKey: jsii.String(\"myprefix\"),\n\t\t},\n\t},\n\tintegrationPattern: sfn.integrationPattern_RUN_JOB,\n})",
8199 "version": "1"
8200 },
8201 "$": {
8202 "source": "const startQueryExecutionJob = new tasks.AthenaStartQueryExecution(this, 'Athena Start Query', {\n queryString: sfn.JsonPath.format('select contacts where year={};', sfn.JsonPath.stringAt('$.year')),\n queryExecutionContext: {\n databaseName: 'interactions',\n },\n resultConfiguration: {\n encryptionConfiguration: {\n encryptionOption: tasks.EncryptionOption.S3_MANAGED,\n },\n outputLocation: {\n bucketName: 'mybucket',\n objectKey: 'myprefix',\n },\n },\n integrationPattern: sfn.IntegrationPattern.RUN_JOB,\n});",
8203 "version": "0"
8204 }
8205 },
8206 "location": {
8207 "api": {
8208 "api": "type",
8209 "fqn": "@aws-cdk/aws-s3.Location"
8210 },
8211 "field": {
8212 "field": "example"
8213 }
8214 },
8215 "didCompile": true,
8216 "fqnsReferenced": [
8217 "@aws-cdk/aws-s3.Location",
8218 "@aws-cdk/aws-stepfunctions-tasks.AthenaStartQueryExecution",
8219 "@aws-cdk/aws-stepfunctions-tasks.AthenaStartQueryExecutionProps",
8220 "@aws-cdk/aws-stepfunctions-tasks.EncryptionConfiguration",
8221 "@aws-cdk/aws-stepfunctions-tasks.EncryptionOption",
8222 "@aws-cdk/aws-stepfunctions-tasks.EncryptionOption#S3_MANAGED",
8223 "@aws-cdk/aws-stepfunctions-tasks.QueryExecutionContext",
8224 "@aws-cdk/aws-stepfunctions-tasks.ResultConfiguration",
8225 "@aws-cdk/aws-stepfunctions.IntegrationPattern",
8226 "@aws-cdk/aws-stepfunctions.IntegrationPattern#RUN_JOB",
8227 "@aws-cdk/aws-stepfunctions.JsonPath",
8228 "@aws-cdk/aws-stepfunctions.JsonPath#format",
8229 "@aws-cdk/aws-stepfunctions.JsonPath#stringAt",
8230 "constructs.Construct"
8231 ],
8232 "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, RemovalPolicy, Size, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as dynamodb from '@aws-cdk/aws-dynamodb';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as sfn from '@aws-cdk/aws-stepfunctions';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as tasks from '@aws-cdk/aws-stepfunctions-tasks';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst startQueryExecutionJob = new tasks.AthenaStartQueryExecution(this, 'Athena Start Query', {\n queryString: sfn.JsonPath.format('select contacts where year={};', sfn.JsonPath.stringAt('$.year')),\n queryExecutionContext: {\n databaseName: 'interactions',\n },\n resultConfiguration: {\n encryptionConfiguration: {\n encryptionOption: tasks.EncryptionOption.S3_MANAGED,\n },\n outputLocation: {\n bucketName: 'mybucket',\n objectKey: 'myprefix',\n },\n },\n integrationPattern: sfn.IntegrationPattern.RUN_JOB,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8233 "syntaxKindCounter": {
8234 "10": 6,
8235 "75": 25,
8236 "104": 1,
8237 "193": 5,
8238 "194": 9,
8239 "196": 2,
8240 "197": 1,
8241 "225": 1,
8242 "242": 1,
8243 "243": 1,
8244 "281": 10
8245 },
8246 "fqnsFingerprint": "a7627d3b978859a56b2154768e6c09920ff940e71bbaa8dffc0c252ab5d42e08"
8247 },
8248 "7dcd6be00758fa8ba6e04a9703235785dbb505344a064b10b2755d9fb43b419b": {
8249 "translations": {
8250 "python": {
8251 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.core as cdk\n\n# storage_class: s3.StorageClass\n\nnoncurrent_version_transition = s3.NoncurrentVersionTransition(\n storage_class=storage_class,\n transition_after=cdk.Duration.minutes(30),\n\n # the properties below are optional\n noncurrent_versions_to_retain=123\n)",
8252 "version": "2"
8253 },
8254 "csharp": {
8255 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK;\n\nStorageClass storageClass;\nNoncurrentVersionTransition noncurrentVersionTransition = new NoncurrentVersionTransition {\n StorageClass = storageClass,\n TransitionAfter = Duration.Minutes(30),\n\n // the properties below are optional\n NoncurrentVersionsToRetain = 123\n};",
8256 "version": "1"
8257 },
8258 "java": {
8259 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.core.*;\n\nStorageClass storageClass;\n\nNoncurrentVersionTransition noncurrentVersionTransition = NoncurrentVersionTransition.builder()\n .storageClass(storageClass)\n .transitionAfter(Duration.minutes(30))\n\n // the properties below are optional\n .noncurrentVersionsToRetain(123)\n .build();",
8260 "version": "1"
8261 },
8262 "go": {
8263 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar storageClass storageClass\n\nnoncurrentVersionTransition := &noncurrentVersionTransition{\n\tstorageClass: storageClass,\n\ttransitionAfter: cdk.duration.minutes(jsii.Number(30)),\n\n\t// the properties below are optional\n\tnoncurrentVersionsToRetain: jsii.Number(123),\n}",
8264 "version": "1"
8265 },
8266 "$": {
8267 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const storageClass: s3.StorageClass;\nconst noncurrentVersionTransition: s3.NoncurrentVersionTransition = {\n storageClass: storageClass,\n transitionAfter: cdk.Duration.minutes(30),\n\n // the properties below are optional\n noncurrentVersionsToRetain: 123,\n};",
8268 "version": "0"
8269 }
8270 },
8271 "location": {
8272 "api": {
8273 "api": "type",
8274 "fqn": "@aws-cdk/aws-s3.NoncurrentVersionTransition"
8275 },
8276 "field": {
8277 "field": "example"
8278 }
8279 },
8280 "didCompile": true,
8281 "fqnsReferenced": [
8282 "@aws-cdk/aws-s3.NoncurrentVersionTransition",
8283 "@aws-cdk/aws-s3.StorageClass",
8284 "@aws-cdk/core.Duration",
8285 "@aws-cdk/core.Duration#minutes"
8286 ],
8287 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const storageClass: s3.StorageClass;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst noncurrentVersionTransition: s3.NoncurrentVersionTransition = {\n storageClass: storageClass,\n transitionAfter: cdk.Duration.minutes(30),\n\n // the properties below are optional\n noncurrentVersionsToRetain: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8288 "syntaxKindCounter": {
8289 "8": 2,
8290 "10": 2,
8291 "75": 15,
8292 "130": 1,
8293 "153": 2,
8294 "169": 2,
8295 "193": 1,
8296 "194": 2,
8297 "196": 1,
8298 "225": 2,
8299 "242": 2,
8300 "243": 2,
8301 "254": 2,
8302 "255": 2,
8303 "256": 2,
8304 "281": 3,
8305 "290": 1
8306 },
8307 "fqnsFingerprint": "055322886cba77844195e9eafc1f2bfff16950faba95a8aba128b39ccbd02785"
8308 },
8309 "ab6776e714163112e5cdd249d58abde19110fcb281fe5e33d741c8d80dc960fc": {
8310 "translations": {
8311 "python": {
8312 "source": "# my_queue: sqs.Queue\n\nbucket = s3.Bucket(self, \"MyBucket\")\nbucket.add_event_notification(s3.EventType.OBJECT_REMOVED,\n s3n.SqsDestination(my_queue), prefix=\"foo/\", suffix=\".jpg\")",
8313 "version": "2"
8314 },
8315 "csharp": {
8316 "source": "Queue myQueue;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.AddEventNotification(EventType.OBJECT_REMOVED,\nnew SqsDestination(myQueue), new NotificationKeyFilter { Prefix = \"foo/\", Suffix = \".jpg\" });",
8317 "version": "1"
8318 },
8319 "java": {
8320 "source": "Queue myQueue;\n\nBucket bucket = new Bucket(this, \"MyBucket\");\nbucket.addEventNotification(EventType.OBJECT_REMOVED,\nnew SqsDestination(myQueue), NotificationKeyFilter.builder().prefix(\"foo/\").suffix(\".jpg\").build());",
8321 "version": "1"
8322 },
8323 "go": {
8324 "source": "var myQueue queue\n\nbucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.addEventNotification(s3.eventType_OBJECT_REMOVED,\ns3n.NewSqsDestination(myQueue), &notificationKeyFilter{\n\tprefix: jsii.String(\"foo/\"),\n\tsuffix: jsii.String(\".jpg\"),\n})",
8325 "version": "1"
8326 },
8327 "$": {
8328 "source": "declare const myQueue: sqs.Queue;\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.addEventNotification(s3.EventType.OBJECT_REMOVED,\n new s3n.SqsDestination(myQueue),\n { prefix: 'foo/', suffix: '.jpg' });",
8329 "version": "0"
8330 }
8331 },
8332 "location": {
8333 "api": {
8334 "api": "type",
8335 "fqn": "@aws-cdk/aws-s3.NotificationKeyFilter"
8336 },
8337 "field": {
8338 "field": "example"
8339 }
8340 },
8341 "didCompile": true,
8342 "fqnsReferenced": [
8343 "@aws-cdk/aws-s3-notifications.SqsDestination",
8344 "@aws-cdk/aws-s3.Bucket",
8345 "@aws-cdk/aws-s3.BucketBase#addEventNotification",
8346 "@aws-cdk/aws-s3.EventType",
8347 "@aws-cdk/aws-s3.EventType#OBJECT_REMOVED",
8348 "@aws-cdk/aws-s3.IBucketNotificationDestination",
8349 "@aws-cdk/aws-s3.NotificationKeyFilter",
8350 "@aws-cdk/aws-sqs.IQueue",
8351 "constructs.Construct"
8352 ],
8353 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myQueue: sqs.Queue;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.addEventNotification(s3.EventType.OBJECT_REMOVED,\n new s3n.SqsDestination(myQueue),\n { prefix: 'foo/', suffix: '.jpg' });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8354 "syntaxKindCounter": {
8355 "10": 3,
8356 "75": 16,
8357 "104": 1,
8358 "130": 1,
8359 "153": 1,
8360 "169": 1,
8361 "193": 1,
8362 "194": 5,
8363 "196": 1,
8364 "197": 2,
8365 "225": 2,
8366 "226": 1,
8367 "242": 2,
8368 "243": 2,
8369 "281": 2,
8370 "290": 1
8371 },
8372 "fqnsFingerprint": "1ebf3274d8449ea7d48470f14a16a4409fcc82f03a24df75930f9648ede35ec0"
8373 },
8374 "5f629284a6395c19edf0bfb810e2482ca218df340552163d0fc1a261a12ef233": {
8375 "translations": {
8376 "python": {
8377 "source": "s3.Bucket(self, \"MyBucket\",\n object_ownership=s3.ObjectOwnership.OBJECT_WRITER\n)",
8378 "version": "2"
8379 },
8380 "csharp": {
8381 "source": "new Bucket(this, \"MyBucket\", new BucketProps {\n ObjectOwnership = ObjectOwnership.OBJECT_WRITER\n});",
8382 "version": "1"
8383 },
8384 "java": {
8385 "source": "Bucket.Builder.create(this, \"MyBucket\")\n .objectOwnership(ObjectOwnership.OBJECT_WRITER)\n .build();",
8386 "version": "1"
8387 },
8388 "go": {
8389 "source": "s3.NewBucket(this, jsii.String(\"MyBucket\"), &bucketProps{\n\tobjectOwnership: s3.objectOwnership_OBJECT_WRITER,\n})",
8390 "version": "1"
8391 },
8392 "$": {
8393 "source": "new s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.OBJECT_WRITER,\n});",
8394 "version": "0"
8395 }
8396 },
8397 "location": {
8398 "api": {
8399 "api": "type",
8400 "fqn": "@aws-cdk/aws-s3.ObjectOwnership"
8401 },
8402 "field": {
8403 "field": "example"
8404 }
8405 },
8406 "didCompile": true,
8407 "fqnsReferenced": [
8408 "@aws-cdk/aws-s3.Bucket",
8409 "@aws-cdk/aws-s3.BucketProps",
8410 "@aws-cdk/aws-s3.ObjectOwnership",
8411 "@aws-cdk/aws-s3.ObjectOwnership#OBJECT_WRITER",
8412 "constructs.Construct"
8413 ],
8414 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew s3.Bucket(this, 'MyBucket', {\n objectOwnership: s3.ObjectOwnership.OBJECT_WRITER,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8415 "syntaxKindCounter": {
8416 "10": 1,
8417 "75": 6,
8418 "104": 1,
8419 "193": 1,
8420 "194": 3,
8421 "197": 1,
8422 "226": 1,
8423 "281": 1
8424 },
8425 "fqnsFingerprint": "604be30aebaef57c6480f4d3cca13521915a6841926362a9c2acc0f6ccf2fcf0"
8426 },
8427 "190384872afe809db80bfcace517394622504049ab0639d96c893890dd53b737": {
8428 "translations": {
8429 "python": {
8430 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_events as events\nimport aws_cdk.aws_s3 as s3\n\n# detail: Any\n# rule_target: events.IRuleTarget\n\non_cloud_trail_bucket_event_options = s3.OnCloudTrailBucketEventOptions(\n description=\"description\",\n event_pattern=events.EventPattern(\n account=[\"account\"],\n detail={\n \"detail_key\": detail\n },\n detail_type=[\"detailType\"],\n id=[\"id\"],\n region=[\"region\"],\n resources=[\"resources\"],\n source=[\"source\"],\n time=[\"time\"],\n version=[\"version\"]\n ),\n paths=[\"paths\"],\n rule_name=\"ruleName\",\n target=rule_target\n)",
8431 "version": "2"
8432 },
8433 "csharp": {
8434 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Events;\nusing Amazon.CDK.AWS.S3;\n\nvar detail;\nIRuleTarget ruleTarget;\n\nOnCloudTrailBucketEventOptions onCloudTrailBucketEventOptions = new OnCloudTrailBucketEventOptions {\n Description = \"description\",\n EventPattern = new EventPattern {\n Account = new [] { \"account\" },\n Detail = new Dictionary<string, object> {\n { \"detailKey\", detail }\n },\n DetailType = new [] { \"detailType\" },\n Id = new [] { \"id\" },\n Region = new [] { \"region\" },\n Resources = new [] { \"resources\" },\n Source = new [] { \"source\" },\n Time = new [] { \"time\" },\n Version = new [] { \"version\" }\n },\n Paths = new [] { \"paths\" },\n RuleName = \"ruleName\",\n Target = ruleTarget\n};",
8435 "version": "1"
8436 },
8437 "java": {
8438 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.events.*;\nimport software.amazon.awscdk.services.s3.*;\n\nObject detail;\nIRuleTarget ruleTarget;\n\nOnCloudTrailBucketEventOptions onCloudTrailBucketEventOptions = OnCloudTrailBucketEventOptions.builder()\n .description(\"description\")\n .eventPattern(EventPattern.builder()\n .account(List.of(\"account\"))\n .detail(Map.of(\n \"detailKey\", detail))\n .detailType(List.of(\"detailType\"))\n .id(List.of(\"id\"))\n .region(List.of(\"region\"))\n .resources(List.of(\"resources\"))\n .source(List.of(\"source\"))\n .time(List.of(\"time\"))\n .version(List.of(\"version\"))\n .build())\n .paths(List.of(\"paths\"))\n .ruleName(\"ruleName\")\n .target(ruleTarget)\n .build();",
8439 "version": "1"
8440 },
8441 "go": {
8442 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport events \"github.com/aws-samples/dummy/awscdkawsevents\"\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar detail interface{}\nvar ruleTarget iRuleTarget\n\nonCloudTrailBucketEventOptions := &onCloudTrailBucketEventOptions{\n\tdescription: jsii.String(\"description\"),\n\teventPattern: &eventPattern{\n\t\taccount: []*string{\n\t\t\tjsii.String(\"account\"),\n\t\t},\n\t\tdetail: map[string]interface{}{\n\t\t\t\"detailKey\": detail,\n\t\t},\n\t\tdetailType: []*string{\n\t\t\tjsii.String(\"detailType\"),\n\t\t},\n\t\tid: []*string{\n\t\t\tjsii.String(\"id\"),\n\t\t},\n\t\tregion: []*string{\n\t\t\tjsii.String(\"region\"),\n\t\t},\n\t\tresources: []*string{\n\t\t\tjsii.String(\"resources\"),\n\t\t},\n\t\tsource: []*string{\n\t\t\tjsii.String(\"source\"),\n\t\t},\n\t\ttime: []*string{\n\t\t\tjsii.String(\"time\"),\n\t\t},\n\t\tversion: []*string{\n\t\t\tjsii.String(\"version\"),\n\t\t},\n\t},\n\tpaths: []*string{\n\t\tjsii.String(\"paths\"),\n\t},\n\truleName: jsii.String(\"ruleName\"),\n\ttarget: ruleTarget,\n}",
8443 "version": "1"
8444 },
8445 "$": {
8446 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const detail: any;\ndeclare const ruleTarget: events.IRuleTarget;\nconst onCloudTrailBucketEventOptions: s3.OnCloudTrailBucketEventOptions = {\n description: 'description',\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n paths: ['paths'],\n ruleName: 'ruleName',\n target: ruleTarget,\n};",
8447 "version": "0"
8448 }
8449 },
8450 "location": {
8451 "api": {
8452 "api": "type",
8453 "fqn": "@aws-cdk/aws-s3.OnCloudTrailBucketEventOptions"
8454 },
8455 "field": {
8456 "field": "example"
8457 }
8458 },
8459 "didCompile": true,
8460 "fqnsReferenced": [
8461 "@aws-cdk/aws-events.EventPattern",
8462 "@aws-cdk/aws-events.IRuleTarget",
8463 "@aws-cdk/aws-s3.OnCloudTrailBucketEventOptions"
8464 ],
8465 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const detail: any;\ndeclare const ruleTarget: events.IRuleTarget;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst onCloudTrailBucketEventOptions: s3.OnCloudTrailBucketEventOptions = {\n description: 'description',\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n paths: ['paths'],\n ruleName: 'ruleName',\n target: ruleTarget,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8466 "syntaxKindCounter": {
8467 "10": 13,
8468 "75": 26,
8469 "125": 1,
8470 "130": 2,
8471 "153": 2,
8472 "169": 2,
8473 "192": 9,
8474 "193": 3,
8475 "225": 3,
8476 "242": 3,
8477 "243": 3,
8478 "254": 2,
8479 "255": 2,
8480 "256": 2,
8481 "281": 15,
8482 "290": 1
8483 },
8484 "fqnsFingerprint": "7dfcec2d477f484e4af2ba55769982fe774b89cdeb51f4458fe8978d18d6744e"
8485 },
8486 "ec94deb48c06804fbbba7e5714f2b66ad05a9dde64d81a5997f284cd2155e64b": {
8487 "translations": {
8488 "python": {
8489 "source": "bucket = s3.Bucket(self, \"MyRedirectedBucket\",\n website_routing_rules=[s3.RoutingRule(\n host_name=\"www.example.com\",\n http_redirect_code=\"302\",\n protocol=s3.RedirectProtocol.HTTPS,\n replace_key=s3.ReplaceKey.prefix_with(\"test/\"),\n condition=s3.RoutingRuleCondition(\n http_error_code_returned_equals=\"200\",\n key_prefix_equals=\"prefix\"\n )\n )]\n)",
8490 "version": "2"
8491 },
8492 "csharp": {
8493 "source": "Bucket bucket = new Bucket(this, \"MyRedirectedBucket\", new BucketProps {\n WebsiteRoutingRules = new [] { new RoutingRule {\n HostName = \"www.example.com\",\n HttpRedirectCode = \"302\",\n Protocol = RedirectProtocol.HTTPS,\n ReplaceKey = ReplaceKey.PrefixWith(\"test/\"),\n Condition = new RoutingRuleCondition {\n HttpErrorCodeReturnedEquals = \"200\",\n KeyPrefixEquals = \"prefix\"\n }\n } }\n});",
8494 "version": "1"
8495 },
8496 "java": {
8497 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyRedirectedBucket\")\n .websiteRoutingRules(List.of(RoutingRule.builder()\n .hostName(\"www.example.com\")\n .httpRedirectCode(\"302\")\n .protocol(RedirectProtocol.HTTPS)\n .replaceKey(ReplaceKey.prefixWith(\"test/\"))\n .condition(RoutingRuleCondition.builder()\n .httpErrorCodeReturnedEquals(\"200\")\n .keyPrefixEquals(\"prefix\")\n .build())\n .build()))\n .build();",
8498 "version": "1"
8499 },
8500 "go": {
8501 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyRedirectedBucket\"), &bucketProps{\n\twebsiteRoutingRules: []routingRule{\n\t\t&routingRule{\n\t\t\thostName: jsii.String(\"www.example.com\"),\n\t\t\thttpRedirectCode: jsii.String(\"302\"),\n\t\t\tprotocol: s3.redirectProtocol_HTTPS,\n\t\t\treplaceKey: s3.replaceKey.prefixWith(jsii.String(\"test/\")),\n\t\t\tcondition: &routingRuleCondition{\n\t\t\t\thttpErrorCodeReturnedEquals: jsii.String(\"200\"),\n\t\t\t\tkeyPrefixEquals: jsii.String(\"prefix\"),\n\t\t\t},\n\t\t},\n\t},\n})",
8502 "version": "1"
8503 },
8504 "$": {
8505 "source": "const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});",
8506 "version": "0"
8507 }
8508 },
8509 "location": {
8510 "api": {
8511 "api": "type",
8512 "fqn": "@aws-cdk/aws-s3.RedirectProtocol"
8513 },
8514 "field": {
8515 "field": "example"
8516 }
8517 },
8518 "didCompile": true,
8519 "fqnsReferenced": [
8520 "@aws-cdk/aws-s3.Bucket",
8521 "@aws-cdk/aws-s3.BucketProps",
8522 "@aws-cdk/aws-s3.RedirectProtocol",
8523 "@aws-cdk/aws-s3.RedirectProtocol#HTTPS",
8524 "@aws-cdk/aws-s3.ReplaceKey",
8525 "@aws-cdk/aws-s3.ReplaceKey#prefixWith",
8526 "@aws-cdk/aws-s3.RoutingRuleCondition",
8527 "constructs.Construct"
8528 ],
8529 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8530 "syntaxKindCounter": {
8531 "10": 6,
8532 "75": 17,
8533 "104": 1,
8534 "192": 1,
8535 "193": 3,
8536 "194": 5,
8537 "196": 1,
8538 "197": 1,
8539 "225": 1,
8540 "242": 1,
8541 "243": 1,
8542 "281": 8
8543 },
8544 "fqnsFingerprint": "e3a7ef7ce03beb45517010e38f18fb44ecf38b45d589da3ed411f4ca510f8136"
8545 },
8546 "4b1392ea43479eff2b89be08670f3c8cf9e5adea8d683a41b7923ee0c6ebb8b8": {
8547 "translations": {
8548 "python": {
8549 "source": "bucket = s3.Bucket(self, \"MyRedirectedBucket\",\n website_redirect=s3.RedirectTarget(host_name=\"www.example.com\")\n)",
8550 "version": "2"
8551 },
8552 "csharp": {
8553 "source": "Bucket bucket = new Bucket(this, \"MyRedirectedBucket\", new BucketProps {\n WebsiteRedirect = new RedirectTarget { HostName = \"www.example.com\" }\n});",
8554 "version": "1"
8555 },
8556 "java": {
8557 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyRedirectedBucket\")\n .websiteRedirect(RedirectTarget.builder().hostName(\"www.example.com\").build())\n .build();",
8558 "version": "1"
8559 },
8560 "go": {
8561 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyRedirectedBucket\"), &bucketProps{\n\twebsiteRedirect: &redirectTarget{\n\t\thostName: jsii.String(\"www.example.com\"),\n\t},\n})",
8562 "version": "1"
8563 },
8564 "$": {
8565 "source": "const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRedirect: { hostName: 'www.example.com' },\n});",
8566 "version": "0"
8567 }
8568 },
8569 "location": {
8570 "api": {
8571 "api": "type",
8572 "fqn": "@aws-cdk/aws-s3.RedirectTarget"
8573 },
8574 "field": {
8575 "field": "example"
8576 }
8577 },
8578 "didCompile": true,
8579 "fqnsReferenced": [
8580 "@aws-cdk/aws-s3.Bucket",
8581 "@aws-cdk/aws-s3.BucketProps",
8582 "@aws-cdk/aws-s3.RedirectTarget",
8583 "constructs.Construct"
8584 ],
8585 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRedirect: { hostName: 'www.example.com' },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8586 "syntaxKindCounter": {
8587 "10": 2,
8588 "75": 5,
8589 "104": 1,
8590 "193": 2,
8591 "194": 1,
8592 "197": 1,
8593 "225": 1,
8594 "242": 1,
8595 "243": 1,
8596 "281": 2
8597 },
8598 "fqnsFingerprint": "d539b8cf8fa76faf09fe8601b8518de208a913a5f501be5f5b03ef70899810b8"
8599 },
8600 "10eceb70d0a466c51d98f437a9171a140d49fb51336708b2086fb39c4d9a927b": {
8601 "translations": {
8602 "python": {
8603 "source": "bucket = s3.Bucket(self, \"MyRedirectedBucket\",\n website_routing_rules=[s3.RoutingRule(\n host_name=\"www.example.com\",\n http_redirect_code=\"302\",\n protocol=s3.RedirectProtocol.HTTPS,\n replace_key=s3.ReplaceKey.prefix_with(\"test/\"),\n condition=s3.RoutingRuleCondition(\n http_error_code_returned_equals=\"200\",\n key_prefix_equals=\"prefix\"\n )\n )]\n)",
8604 "version": "2"
8605 },
8606 "csharp": {
8607 "source": "Bucket bucket = new Bucket(this, \"MyRedirectedBucket\", new BucketProps {\n WebsiteRoutingRules = new [] { new RoutingRule {\n HostName = \"www.example.com\",\n HttpRedirectCode = \"302\",\n Protocol = RedirectProtocol.HTTPS,\n ReplaceKey = ReplaceKey.PrefixWith(\"test/\"),\n Condition = new RoutingRuleCondition {\n HttpErrorCodeReturnedEquals = \"200\",\n KeyPrefixEquals = \"prefix\"\n }\n } }\n});",
8608 "version": "1"
8609 },
8610 "java": {
8611 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyRedirectedBucket\")\n .websiteRoutingRules(List.of(RoutingRule.builder()\n .hostName(\"www.example.com\")\n .httpRedirectCode(\"302\")\n .protocol(RedirectProtocol.HTTPS)\n .replaceKey(ReplaceKey.prefixWith(\"test/\"))\n .condition(RoutingRuleCondition.builder()\n .httpErrorCodeReturnedEquals(\"200\")\n .keyPrefixEquals(\"prefix\")\n .build())\n .build()))\n .build();",
8612 "version": "1"
8613 },
8614 "go": {
8615 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyRedirectedBucket\"), &bucketProps{\n\twebsiteRoutingRules: []routingRule{\n\t\t&routingRule{\n\t\t\thostName: jsii.String(\"www.example.com\"),\n\t\t\thttpRedirectCode: jsii.String(\"302\"),\n\t\t\tprotocol: s3.redirectProtocol_HTTPS,\n\t\t\treplaceKey: s3.replaceKey.prefixWith(jsii.String(\"test/\")),\n\t\t\tcondition: &routingRuleCondition{\n\t\t\t\thttpErrorCodeReturnedEquals: jsii.String(\"200\"),\n\t\t\t\tkeyPrefixEquals: jsii.String(\"prefix\"),\n\t\t\t},\n\t\t},\n\t},\n})",
8616 "version": "1"
8617 },
8618 "$": {
8619 "source": "const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});",
8620 "version": "0"
8621 }
8622 },
8623 "location": {
8624 "api": {
8625 "api": "type",
8626 "fqn": "@aws-cdk/aws-s3.ReplaceKey"
8627 },
8628 "field": {
8629 "field": "example"
8630 }
8631 },
8632 "didCompile": true,
8633 "fqnsReferenced": [
8634 "@aws-cdk/aws-s3.Bucket",
8635 "@aws-cdk/aws-s3.BucketProps",
8636 "@aws-cdk/aws-s3.RedirectProtocol",
8637 "@aws-cdk/aws-s3.RedirectProtocol#HTTPS",
8638 "@aws-cdk/aws-s3.ReplaceKey",
8639 "@aws-cdk/aws-s3.ReplaceKey#prefixWith",
8640 "@aws-cdk/aws-s3.RoutingRuleCondition",
8641 "constructs.Construct"
8642 ],
8643 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8644 "syntaxKindCounter": {
8645 "10": 6,
8646 "75": 17,
8647 "104": 1,
8648 "192": 1,
8649 "193": 3,
8650 "194": 5,
8651 "196": 1,
8652 "197": 1,
8653 "225": 1,
8654 "242": 1,
8655 "243": 1,
8656 "281": 8
8657 },
8658 "fqnsFingerprint": "e3a7ef7ce03beb45517010e38f18fb44ecf38b45d589da3ed411f4ca510f8136"
8659 },
8660 "560bc002cf556ff1e8f9a305890e74064d0b2b1a6e8311f6f41b13d5b114337c": {
8661 "translations": {
8662 "python": {
8663 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\n# replace_key: s3.ReplaceKey\n\nrouting_rule = s3.RoutingRule(\n condition=s3.RoutingRuleCondition(\n http_error_code_returned_equals=\"httpErrorCodeReturnedEquals\",\n key_prefix_equals=\"keyPrefixEquals\"\n ),\n host_name=\"hostName\",\n http_redirect_code=\"httpRedirectCode\",\n protocol=s3.RedirectProtocol.HTTP,\n replace_key=replace_key\n)",
8664 "version": "2"
8665 },
8666 "csharp": {
8667 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nReplaceKey replaceKey;\n\nRoutingRule routingRule = new RoutingRule {\n Condition = new RoutingRuleCondition {\n HttpErrorCodeReturnedEquals = \"httpErrorCodeReturnedEquals\",\n KeyPrefixEquals = \"keyPrefixEquals\"\n },\n HostName = \"hostName\",\n HttpRedirectCode = \"httpRedirectCode\",\n Protocol = RedirectProtocol.HTTP,\n ReplaceKey = replaceKey\n};",
8668 "version": "1"
8669 },
8670 "java": {
8671 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nReplaceKey replaceKey;\n\nRoutingRule routingRule = RoutingRule.builder()\n .condition(RoutingRuleCondition.builder()\n .httpErrorCodeReturnedEquals(\"httpErrorCodeReturnedEquals\")\n .keyPrefixEquals(\"keyPrefixEquals\")\n .build())\n .hostName(\"hostName\")\n .httpRedirectCode(\"httpRedirectCode\")\n .protocol(RedirectProtocol.HTTP)\n .replaceKey(replaceKey)\n .build();",
8672 "version": "1"
8673 },
8674 "go": {
8675 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nvar replaceKey replaceKey\n\nroutingRule := &routingRule{\n\tcondition: &routingRuleCondition{\n\t\thttpErrorCodeReturnedEquals: jsii.String(\"httpErrorCodeReturnedEquals\"),\n\t\tkeyPrefixEquals: jsii.String(\"keyPrefixEquals\"),\n\t},\n\thostName: jsii.String(\"hostName\"),\n\thttpRedirectCode: jsii.String(\"httpRedirectCode\"),\n\tprotocol: s3.redirectProtocol_HTTP,\n\treplaceKey: replaceKey,\n}",
8676 "version": "1"
8677 },
8678 "$": {
8679 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const replaceKey: s3.ReplaceKey;\nconst routingRule: s3.RoutingRule = {\n condition: {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n },\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: s3.RedirectProtocol.HTTP,\n replaceKey: replaceKey,\n};",
8680 "version": "0"
8681 }
8682 },
8683 "location": {
8684 "api": {
8685 "api": "type",
8686 "fqn": "@aws-cdk/aws-s3.RoutingRule"
8687 },
8688 "field": {
8689 "field": "example"
8690 }
8691 },
8692 "didCompile": true,
8693 "fqnsReferenced": [
8694 "@aws-cdk/aws-s3.RedirectProtocol",
8695 "@aws-cdk/aws-s3.RedirectProtocol#HTTP",
8696 "@aws-cdk/aws-s3.ReplaceKey",
8697 "@aws-cdk/aws-s3.RoutingRule",
8698 "@aws-cdk/aws-s3.RoutingRuleCondition"
8699 ],
8700 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n\ndeclare const replaceKey: s3.ReplaceKey;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst routingRule: s3.RoutingRule = {\n condition: {\n httpErrorCodeReturnedEquals: 'httpErrorCodeReturnedEquals',\n keyPrefixEquals: 'keyPrefixEquals',\n },\n hostName: 'hostName',\n httpRedirectCode: 'httpRedirectCode',\n protocol: s3.RedirectProtocol.HTTP,\n replaceKey: replaceKey,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8701 "syntaxKindCounter": {
8702 "10": 5,
8703 "75": 18,
8704 "130": 1,
8705 "153": 2,
8706 "169": 2,
8707 "193": 2,
8708 "194": 2,
8709 "225": 2,
8710 "242": 2,
8711 "243": 2,
8712 "254": 1,
8713 "255": 1,
8714 "256": 1,
8715 "281": 7,
8716 "290": 1
8717 },
8718 "fqnsFingerprint": "0d4bf46bc8952771fb5dc5de5d6c27a6724d4dedd86408ef28ee0048c1ff6c17"
8719 },
8720 "f2ad99b44f07fb8aea903f3ff40197c0e901b3d29e51e589fffa067f7d5a8861": {
8721 "translations": {
8722 "python": {
8723 "source": "bucket = s3.Bucket(self, \"MyRedirectedBucket\",\n website_routing_rules=[s3.RoutingRule(\n host_name=\"www.example.com\",\n http_redirect_code=\"302\",\n protocol=s3.RedirectProtocol.HTTPS,\n replace_key=s3.ReplaceKey.prefix_with(\"test/\"),\n condition=s3.RoutingRuleCondition(\n http_error_code_returned_equals=\"200\",\n key_prefix_equals=\"prefix\"\n )\n )]\n)",
8724 "version": "2"
8725 },
8726 "csharp": {
8727 "source": "Bucket bucket = new Bucket(this, \"MyRedirectedBucket\", new BucketProps {\n WebsiteRoutingRules = new [] { new RoutingRule {\n HostName = \"www.example.com\",\n HttpRedirectCode = \"302\",\n Protocol = RedirectProtocol.HTTPS,\n ReplaceKey = ReplaceKey.PrefixWith(\"test/\"),\n Condition = new RoutingRuleCondition {\n HttpErrorCodeReturnedEquals = \"200\",\n KeyPrefixEquals = \"prefix\"\n }\n } }\n});",
8728 "version": "1"
8729 },
8730 "java": {
8731 "source": "Bucket bucket = Bucket.Builder.create(this, \"MyRedirectedBucket\")\n .websiteRoutingRules(List.of(RoutingRule.builder()\n .hostName(\"www.example.com\")\n .httpRedirectCode(\"302\")\n .protocol(RedirectProtocol.HTTPS)\n .replaceKey(ReplaceKey.prefixWith(\"test/\"))\n .condition(RoutingRuleCondition.builder()\n .httpErrorCodeReturnedEquals(\"200\")\n .keyPrefixEquals(\"prefix\")\n .build())\n .build()))\n .build();",
8732 "version": "1"
8733 },
8734 "go": {
8735 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyRedirectedBucket\"), &bucketProps{\n\twebsiteRoutingRules: []routingRule{\n\t\t&routingRule{\n\t\t\thostName: jsii.String(\"www.example.com\"),\n\t\t\thttpRedirectCode: jsii.String(\"302\"),\n\t\t\tprotocol: s3.redirectProtocol_HTTPS,\n\t\t\treplaceKey: s3.replaceKey.prefixWith(jsii.String(\"test/\")),\n\t\t\tcondition: &routingRuleCondition{\n\t\t\t\thttpErrorCodeReturnedEquals: jsii.String(\"200\"),\n\t\t\t\tkeyPrefixEquals: jsii.String(\"prefix\"),\n\t\t\t},\n\t\t},\n\t},\n})",
8736 "version": "1"
8737 },
8738 "$": {
8739 "source": "const bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});",
8740 "version": "0"
8741 }
8742 },
8743 "location": {
8744 "api": {
8745 "api": "type",
8746 "fqn": "@aws-cdk/aws-s3.RoutingRuleCondition"
8747 },
8748 "field": {
8749 "field": "example"
8750 }
8751 },
8752 "didCompile": true,
8753 "fqnsReferenced": [
8754 "@aws-cdk/aws-s3.Bucket",
8755 "@aws-cdk/aws-s3.BucketProps",
8756 "@aws-cdk/aws-s3.RedirectProtocol",
8757 "@aws-cdk/aws-s3.RedirectProtocol#HTTPS",
8758 "@aws-cdk/aws-s3.ReplaceKey",
8759 "@aws-cdk/aws-s3.ReplaceKey#prefixWith",
8760 "@aws-cdk/aws-s3.RoutingRuleCondition",
8761 "constructs.Construct"
8762 ],
8763 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyRedirectedBucket', {\n websiteRoutingRules: [{\n hostName: 'www.example.com',\n httpRedirectCode: '302',\n protocol: s3.RedirectProtocol.HTTPS,\n replaceKey: s3.ReplaceKey.prefixWith('test/'),\n condition: {\n httpErrorCodeReturnedEquals: '200',\n keyPrefixEquals: 'prefix',\n },\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
8764 "syntaxKindCounter": {
8765 "10": 6,
8766 "75": 17,
8767 "104": 1,
8768 "192": 1,
8769 "193": 3,
8770 "194": 5,
8771 "196": 1,
8772 "197": 1,
8773 "225": 1,
8774 "242": 1,
8775 "243": 1,
8776 "281": 8
8777 },
8778 "fqnsFingerprint": "e3a7ef7ce03beb45517010e38f18fb44ecf38b45d589da3ed411f4ca510f8136"
8779 },
8780 "83c8165ef5b55cffd20690ecd6e1b1b819833cdc337cc1ace24e29765017bd11": {
8781 "translations": {
8782 "python": {
8783 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\nstorage_class = s3.StorageClass.DEEP_ARCHIVE",
8784 "version": "2"
8785 },
8786 "csharp": {
8787 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nStorageClass storageClass = StorageClass.DEEP_ARCHIVE;",
8788 "version": "1"
8789 },
8790 "java": {
8791 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nStorageClass storageClass = StorageClass.DEEP_ARCHIVE;",
8792 "version": "1"
8793 },
8794 "go": {
8795 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\nstorageClass := s3.storageClass_DEEP_ARCHIVE()",
8796 "version": "1"
8797 },
8798 "$": {
8799 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst storageClass = s3.StorageClass.DEEP_ARCHIVE;",
8800 "version": "0"
8801 }
8802 },
8803 "location": {
8804 "api": {
8805 "api": "type",
8806 "fqn": "@aws-cdk/aws-s3.StorageClass"
8807 },
8808 "field": {
8809 "field": "example"
8810 }
8811 },
8812 "didCompile": true,
8813 "fqnsReferenced": [
8814 "@aws-cdk/aws-s3.StorageClass",
8815 "@aws-cdk/aws-s3.StorageClass#DEEP_ARCHIVE"
8816 ],
8817 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst storageClass = s3.StorageClass.DEEP_ARCHIVE;\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8818 "syntaxKindCounter": {
8819 "10": 1,
8820 "75": 5,
8821 "194": 2,
8822 "225": 1,
8823 "242": 1,
8824 "243": 1,
8825 "254": 1,
8826 "255": 1,
8827 "256": 1,
8828 "290": 1
8829 },
8830 "fqnsFingerprint": "36e6dbde88cd54fb3daddd1f8d924bd3ceff265042dab6c49600e0c30511b233"
8831 },
8832 "8ee734aacd26fca3f68700c9ede81c3e925250449bd8fba8951e2100580e9d58": {
8833 "translations": {
8834 "python": {
8835 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ntag = s3.Tag(\n key=\"key\",\n value=\"value\"\n)",
8836 "version": "2"
8837 },
8838 "csharp": {
8839 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nTag tag = new Tag {\n Key = \"key\",\n Value = \"value\"\n};",
8840 "version": "1"
8841 },
8842 "java": {
8843 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nTag tag = Tag.builder()\n .key(\"key\")\n .value(\"value\")\n .build();",
8844 "version": "1"
8845 },
8846 "go": {
8847 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ntag := &tag{\n\tkey: jsii.String(\"key\"),\n\tvalue: jsii.String(\"value\"),\n}",
8848 "version": "1"
8849 },
8850 "$": {
8851 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst tag: s3.Tag = {\n key: 'key',\n value: 'value',\n};",
8852 "version": "0"
8853 }
8854 },
8855 "location": {
8856 "api": {
8857 "api": "type",
8858 "fqn": "@aws-cdk/aws-s3.Tag"
8859 },
8860 "field": {
8861 "field": "example"
8862 }
8863 },
8864 "didCompile": true,
8865 "fqnsReferenced": [
8866 "@aws-cdk/aws-s3.Tag"
8867 ],
8868 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst tag: s3.Tag = {\n key: 'key',\n value: 'value',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8869 "syntaxKindCounter": {
8870 "10": 3,
8871 "75": 6,
8872 "153": 1,
8873 "169": 1,
8874 "193": 1,
8875 "225": 1,
8876 "242": 1,
8877 "243": 1,
8878 "254": 1,
8879 "255": 1,
8880 "256": 1,
8881 "281": 2,
8882 "290": 1
8883 },
8884 "fqnsFingerprint": "1c10e2e02abaf77e90eb98cd0434c32a5f2834337789ccc29297c2c6cb1ea27e"
8885 },
8886 "414ccddc185becd697f271958d133c2cec04731fc0986d6161163441a117e04c": {
8887 "translations": {
8888 "python": {
8889 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\n\ntransfer_acceleration_url_options = s3.TransferAccelerationUrlOptions(\n dual_stack=False\n)",
8890 "version": "2"
8891 },
8892 "csharp": {
8893 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\n\nTransferAccelerationUrlOptions transferAccelerationUrlOptions = new TransferAccelerationUrlOptions {\n DualStack = false\n};",
8894 "version": "1"
8895 },
8896 "java": {
8897 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\n\nTransferAccelerationUrlOptions transferAccelerationUrlOptions = TransferAccelerationUrlOptions.builder()\n .dualStack(false)\n .build();",
8898 "version": "1"
8899 },
8900 "go": {
8901 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n\ntransferAccelerationUrlOptions := &transferAccelerationUrlOptions{\n\tdualStack: jsii.Boolean(false),\n}",
8902 "version": "1"
8903 },
8904 "$": {
8905 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nconst transferAccelerationUrlOptions: s3.TransferAccelerationUrlOptions = {\n dualStack: false,\n};",
8906 "version": "0"
8907 }
8908 },
8909 "location": {
8910 "api": {
8911 "api": "type",
8912 "fqn": "@aws-cdk/aws-s3.TransferAccelerationUrlOptions"
8913 },
8914 "field": {
8915 "field": "example"
8916 }
8917 },
8918 "didCompile": true,
8919 "fqnsReferenced": [
8920 "@aws-cdk/aws-s3.TransferAccelerationUrlOptions"
8921 ],
8922 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst transferAccelerationUrlOptions: s3.TransferAccelerationUrlOptions = {\n dualStack: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8923 "syntaxKindCounter": {
8924 "10": 1,
8925 "75": 5,
8926 "91": 1,
8927 "153": 1,
8928 "169": 1,
8929 "193": 1,
8930 "225": 1,
8931 "242": 1,
8932 "243": 1,
8933 "254": 1,
8934 "255": 1,
8935 "256": 1,
8936 "281": 1,
8937 "290": 1
8938 },
8939 "fqnsFingerprint": "794d47bbee6bb71b0379314446aaa3c09c16cfef69f2df1196966de8ba56e50e"
8940 },
8941 "87ce5a556cd9844f941d1da41b37b822301e5763c63dd3e56046deb0aad5ec22": {
8942 "translations": {
8943 "python": {
8944 "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.core as cdk\n\n# storage_class: s3.StorageClass\n\ntransition = s3.Transition(\n storage_class=storage_class,\n\n # the properties below are optional\n transition_after=cdk.Duration.minutes(30),\n transition_date=Date()\n)",
8945 "version": "2"
8946 },
8947 "csharp": {
8948 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK;\n\nStorageClass storageClass;\nTransition transition = new Transition {\n StorageClass = storageClass,\n\n // the properties below are optional\n TransitionAfter = Duration.Minutes(30),\n TransitionDate = new Date()\n};",
8949 "version": "1"
8950 },
8951 "java": {
8952 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.core.*;\n\nStorageClass storageClass;\n\nTransition transition = Transition.builder()\n .storageClass(storageClass)\n\n // the properties below are optional\n .transitionAfter(Duration.minutes(30))\n .transitionDate(new Date())\n .build();",
8953 "version": "1"
8954 },
8955 "go": {
8956 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar storageClass storageClass\n\ntransition := &transition{\n\tstorageClass: storageClass,\n\n\t// the properties below are optional\n\ttransitionAfter: cdk.duration.minutes(jsii.Number(30)),\n\ttransitionDate: NewDate(),\n}",
8957 "version": "1"
8958 },
8959 "$": {
8960 "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const storageClass: s3.StorageClass;\nconst transition: s3.Transition = {\n storageClass: storageClass,\n\n // the properties below are optional\n transitionAfter: cdk.Duration.minutes(30),\n transitionDate: new Date(),\n};",
8961 "version": "0"
8962 }
8963 },
8964 "location": {
8965 "api": {
8966 "api": "type",
8967 "fqn": "@aws-cdk/aws-s3.Transition"
8968 },
8969 "field": {
8970 "field": "example"
8971 }
8972 },
8973 "didCompile": true,
8974 "fqnsReferenced": [
8975 "@aws-cdk/aws-s3.StorageClass",
8976 "@aws-cdk/aws-s3.Transition",
8977 "@aws-cdk/core.Duration",
8978 "@aws-cdk/core.Duration#minutes"
8979 ],
8980 "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const storageClass: s3.StorageClass;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst transition: s3.Transition = {\n storageClass: storageClass,\n\n // the properties below are optional\n transitionAfter: cdk.Duration.minutes(30),\n transitionDate: new Date(),\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
8981 "syntaxKindCounter": {
8982 "8": 1,
8983 "10": 2,
8984 "75": 16,
8985 "130": 1,
8986 "153": 2,
8987 "169": 2,
8988 "193": 1,
8989 "194": 2,
8990 "196": 1,
8991 "197": 1,
8992 "225": 2,
8993 "242": 2,
8994 "243": 2,
8995 "254": 2,
8996 "255": 2,
8997 "256": 2,
8998 "281": 3,
8999 "290": 1
9000 },
9001 "fqnsFingerprint": "20be7ddd84e6822b728788ec4db574cf4e8bfefefa206d3512802d538486d1fa"
9002 },
9003 "d4efc4ac37461bbe79b3649e2f06b9dd42269757d138d8999b6d067ce91e16d7": {
9004 "translations": {
9005 "python": {
9006 "source": "bucket = s3.Bucket(self, \"MyBucket\")\nbucket.url_for_object(\"objectname\") # Path-Style URL\nbucket.virtual_hosted_url_for_object(\"objectname\") # Virtual Hosted-Style URL\nbucket.virtual_hosted_url_for_object(\"objectname\", regional=False)",
9007 "version": "2"
9008 },
9009 "csharp": {
9010 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nbucket.UrlForObject(\"objectname\"); // Path-Style URL\nbucket.VirtualHostedUrlForObject(\"objectname\"); // Virtual Hosted-Style URL\nbucket.VirtualHostedUrlForObject(\"objectname\", new VirtualHostedStyleUrlOptions { Regional = false });",
9011 "version": "1"
9012 },
9013 "java": {
9014 "source": "Bucket bucket = new Bucket(this, \"MyBucket\");\nbucket.urlForObject(\"objectname\"); // Path-Style URL\nbucket.virtualHostedUrlForObject(\"objectname\"); // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject(\"objectname\", VirtualHostedStyleUrlOptions.builder().regional(false).build());",
9015 "version": "1"
9016 },
9017 "go": {
9018 "source": "bucket := s3.NewBucket(this, jsii.String(\"MyBucket\"))\nbucket.urlForObject(jsii.String(\"objectname\")) // Path-Style URL\nbucket.virtualHostedUrlForObject(jsii.String(\"objectname\")) // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject(jsii.String(\"objectname\"), &virtualHostedStyleUrlOptions{\n\tregional: jsii.Boolean(false),\n})",
9019 "version": "1"
9020 },
9021 "$": {
9022 "source": "const bucket = new s3.Bucket(this, 'MyBucket');\nbucket.urlForObject('objectname'); // Path-Style URL\nbucket.virtualHostedUrlForObject('objectname'); // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject('objectname', { regional: false }); // Virtual Hosted-Style URL but non-regional",
9023 "version": "0"
9024 }
9025 },
9026 "location": {
9027 "api": {
9028 "api": "type",
9029 "fqn": "@aws-cdk/aws-s3.VirtualHostedStyleUrlOptions"
9030 },
9031 "field": {
9032 "field": "example"
9033 }
9034 },
9035 "didCompile": true,
9036 "fqnsReferenced": [
9037 "@aws-cdk/aws-s3.Bucket",
9038 "@aws-cdk/aws-s3.BucketBase#urlForObject",
9039 "@aws-cdk/aws-s3.BucketBase#virtualHostedUrlForObject",
9040 "@aws-cdk/aws-s3.VirtualHostedStyleUrlOptions",
9041 "constructs.Construct"
9042 ],
9043 "fullSource": "// Fixture with packages imported, but nothing else\nimport cdk = require('@aws-cdk/core');\nimport s3 = require('@aws-cdk/aws-s3');\nimport kms = require('@aws-cdk/aws-kms');\nimport iam = require('@aws-cdk/aws-iam');\nimport lambda = require('@aws-cdk/aws-lambda');\nimport s3n = require('@aws-cdk/aws-s3-notifications');\nimport sns = require('@aws-cdk/aws-sns');\nimport sqs = require('@aws-cdk/aws-sqs');\nimport assert = require('assert');\n\nclass Fixture extends cdk.Stack {\n constructor(scope: cdk.Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bucket = new s3.Bucket(this, 'MyBucket');\nbucket.urlForObject('objectname'); // Path-Style URL\nbucket.virtualHostedUrlForObject('objectname'); // Virtual Hosted-Style URL\nbucket.virtualHostedUrlForObject('objectname', { regional: false });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
9044 "syntaxKindCounter": {
9045 "10": 4,
9046 "75": 10,
9047 "91": 1,
9048 "104": 1,
9049 "193": 1,
9050 "194": 4,
9051 "196": 3,
9052 "197": 1,
9053 "225": 1,
9054 "226": 3,
9055 "242": 1,
9056 "243": 1,
9057 "281": 1
9058 },
9059 "fqnsFingerprint": "b020aca7ffbf7361fbc77986f59f092fabb6a277693210220592c40a195b2f74"
9060 }
9061 }
9062}