@cdktn/provider-generator 0.24.0-pre.3 → 0.24.0-pre.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/.spec.swcrc +22 -0
  2. package/build/get/__tests__/generator/import-style.test.d.ts +2 -0
  3. package/build/get/__tests__/generator/import-style.test.js +101 -0
  4. package/build/get/__tests__/generator/module-generator.test.js +12 -12
  5. package/build/get/constructs-maker.d.ts +5 -1
  6. package/build/get/constructs-maker.js +5 -2
  7. package/build/get/generator/emitter/struct-emitter.d.ts +2 -1
  8. package/build/get/generator/emitter/struct-emitter.js +14 -11
  9. package/build/get/generator/module-generator.js +3 -3
  10. package/build/get/generator/provider-generator.d.ts +9 -1
  11. package/build/get/generator/provider-generator.js +9 -6
  12. package/eslint.config.mjs +13 -0
  13. package/jest.config.js +16 -9
  14. package/package.json +8 -9
  15. package/src/__tests__/__snapshots__/edge-provider-schema.test.ts.snap +8 -8
  16. package/src/__tests__/__snapshots__/provider.test.ts.snap +2951 -2951
  17. package/src/get/__tests__/generator/__snapshots__/complex-computed-types.test.ts.snap +5 -5
  18. package/src/get/__tests__/generator/__snapshots__/export-sharding.test.ts.snap +3310 -3310
  19. package/src/get/__tests__/generator/__snapshots__/module-generator.test.ts.snap +355 -355
  20. package/src/get/__tests__/generator/__snapshots__/nested-types.test.ts.snap +8 -8
  21. package/src/get/__tests__/generator/__snapshots__/provider.test.ts.snap +8 -8
  22. package/src/get/__tests__/generator/__snapshots__/resource-types.test.ts.snap +126 -126
  23. package/src/get/__tests__/generator/__snapshots__/skipped-attributes.test.ts.snap +17 -17
  24. package/src/get/__tests__/generator/__snapshots__/types.test.ts.snap +65 -65
@@ -130,7 +130,7 @@ export interface CloudfrontDistributionCacheBehaviorForwardedValuesCookies {
130
130
  export function cloudfrontDistributionCacheBehaviorForwardedValuesCookiesToTerraform(struct?: CloudfrontDistributionCacheBehaviorForwardedValuesCookiesOutputReference | CloudfrontDistributionCacheBehaviorForwardedValuesCookies): any {
131
131
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
132
132
  if (cdktn.isComplexElement(struct)) {
133
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
133
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
134
134
  }
135
135
  return {
136
136
  forward: cdktn.stringToTerraform(struct!.forward),
@@ -142,7 +142,7 @@ export function cloudfrontDistributionCacheBehaviorForwardedValuesCookiesToTerra
142
142
  export function cloudfrontDistributionCacheBehaviorForwardedValuesCookiesToHclTerraform(struct?: CloudfrontDistributionCacheBehaviorForwardedValuesCookiesOutputReference | CloudfrontDistributionCacheBehaviorForwardedValuesCookies): any {
143
143
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
144
144
  if (cdktn.isComplexElement(struct)) {
145
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
145
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
146
146
  }
147
147
  const attrs = {
148
148
  forward: {
@@ -254,7 +254,7 @@ export interface CloudfrontDistributionCacheBehaviorForwardedValues {
254
254
  export function cloudfrontDistributionCacheBehaviorForwardedValuesToTerraform(struct?: CloudfrontDistributionCacheBehaviorForwardedValuesOutputReference | CloudfrontDistributionCacheBehaviorForwardedValues): any {
255
255
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
256
256
  if (cdktn.isComplexElement(struct)) {
257
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
257
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
258
258
  }
259
259
  return {
260
260
  headers: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.headers),
@@ -268,7 +268,7 @@ export function cloudfrontDistributionCacheBehaviorForwardedValuesToTerraform(st
268
268
  export function cloudfrontDistributionCacheBehaviorForwardedValuesToHclTerraform(struct?: CloudfrontDistributionCacheBehaviorForwardedValuesOutputReference | CloudfrontDistributionCacheBehaviorForwardedValues): any {
269
269
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
270
270
  if (cdktn.isComplexElement(struct)) {
271
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
271
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
272
272
  }
273
273
  const attrs = {
274
274
  headers: {
@@ -427,7 +427,7 @@ export interface CloudfrontDistributionCacheBehaviorLambdaFunctionAssociation {
427
427
  export function cloudfrontDistributionCacheBehaviorLambdaFunctionAssociationToTerraform(struct?: CloudfrontDistributionCacheBehaviorLambdaFunctionAssociation | cdktn.IResolvable): any {
428
428
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
429
429
  if (cdktn.isComplexElement(struct)) {
430
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
430
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
431
431
  }
432
432
  return {
433
433
  event_type: cdktn.stringToTerraform(struct!.eventType),
@@ -440,7 +440,7 @@ export function cloudfrontDistributionCacheBehaviorLambdaFunctionAssociationToTe
440
440
  export function cloudfrontDistributionCacheBehaviorLambdaFunctionAssociationToHclTerraform(struct?: CloudfrontDistributionCacheBehaviorLambdaFunctionAssociation | cdktn.IResolvable): any {
441
441
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
442
442
  if (cdktn.isComplexElement(struct)) {
443
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
443
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
444
444
  }
445
445
  const attrs = {
446
446
  event_type: {
@@ -575,7 +575,7 @@ export class CloudfrontDistributionCacheBehaviorLambdaFunctionAssociationList ex
575
575
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
576
576
  */
577
577
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
578
- super(terraformResource, terraformAttribute, wrapsSet)
578
+ super(terraformResource, terraformAttribute, wrapsSet);
579
579
  }
580
580
 
581
581
  /**
@@ -651,7 +651,7 @@ export interface CloudfrontDistributionCacheBehavior {
651
651
  export function cloudfrontDistributionCacheBehaviorToTerraform(struct?: CloudfrontDistributionCacheBehavior | cdktn.IResolvable): any {
652
652
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
653
653
  if (cdktn.isComplexElement(struct)) {
654
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
654
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
655
655
  }
656
656
  return {
657
657
  allowed_methods: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.allowedMethods),
@@ -675,7 +675,7 @@ export function cloudfrontDistributionCacheBehaviorToTerraform(struct?: Cloudfro
675
675
  export function cloudfrontDistributionCacheBehaviorToHclTerraform(struct?: CloudfrontDistributionCacheBehavior | cdktn.IResolvable): any {
676
676
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
677
677
  if (cdktn.isComplexElement(struct)) {
678
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
678
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
679
679
  }
680
680
  const attrs = {
681
681
  allowed_methods: {
@@ -1106,7 +1106,7 @@ export class CloudfrontDistributionCacheBehaviorList extends cdktn.ComplexList {
1106
1106
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1107
1107
  */
1108
1108
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
1109
- super(terraformResource, terraformAttribute, wrapsSet)
1109
+ super(terraformResource, terraformAttribute, wrapsSet);
1110
1110
  }
1111
1111
 
1112
1112
  /**
@@ -1138,7 +1138,7 @@ export interface CloudfrontDistributionCustomErrorResponse {
1138
1138
  export function cloudfrontDistributionCustomErrorResponseToTerraform(struct?: CloudfrontDistributionCustomErrorResponse | cdktn.IResolvable): any {
1139
1139
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1140
1140
  if (cdktn.isComplexElement(struct)) {
1141
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1141
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1142
1142
  }
1143
1143
  return {
1144
1144
  error_caching_min_ttl: cdktn.numberToTerraform(struct!.errorCachingMinTtl),
@@ -1152,7 +1152,7 @@ export function cloudfrontDistributionCustomErrorResponseToTerraform(struct?: Cl
1152
1152
  export function cloudfrontDistributionCustomErrorResponseToHclTerraform(struct?: CloudfrontDistributionCustomErrorResponse | cdktn.IResolvable): any {
1153
1153
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1154
1154
  if (cdktn.isComplexElement(struct)) {
1155
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1155
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1156
1156
  }
1157
1157
  const attrs = {
1158
1158
  error_caching_min_ttl: {
@@ -1318,7 +1318,7 @@ export class CloudfrontDistributionCustomErrorResponseList extends cdktn.Complex
1318
1318
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1319
1319
  */
1320
1320
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
1321
- super(terraformResource, terraformAttribute, wrapsSet)
1321
+ super(terraformResource, terraformAttribute, wrapsSet);
1322
1322
  }
1323
1323
 
1324
1324
  /**
@@ -1342,7 +1342,7 @@ export interface CloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookie
1342
1342
  export function cloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookiesToTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputReference | CloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookies): any {
1343
1343
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1344
1344
  if (cdktn.isComplexElement(struct)) {
1345
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1345
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1346
1346
  }
1347
1347
  return {
1348
1348
  forward: cdktn.stringToTerraform(struct!.forward),
@@ -1354,7 +1354,7 @@ export function cloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookies
1354
1354
  export function cloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookiesToHclTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputReference | CloudfrontDistributionDefaultCacheBehaviorForwardedValuesCookies): any {
1355
1355
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1356
1356
  if (cdktn.isComplexElement(struct)) {
1357
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1357
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1358
1358
  }
1359
1359
  const attrs = {
1360
1360
  forward: {
@@ -1466,7 +1466,7 @@ export interface CloudfrontDistributionDefaultCacheBehaviorForwardedValues {
1466
1466
  export function cloudfrontDistributionDefaultCacheBehaviorForwardedValuesToTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorForwardedValuesOutputReference | CloudfrontDistributionDefaultCacheBehaviorForwardedValues): any {
1467
1467
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1468
1468
  if (cdktn.isComplexElement(struct)) {
1469
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1469
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1470
1470
  }
1471
1471
  return {
1472
1472
  headers: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.headers),
@@ -1480,7 +1480,7 @@ export function cloudfrontDistributionDefaultCacheBehaviorForwardedValuesToTerra
1480
1480
  export function cloudfrontDistributionDefaultCacheBehaviorForwardedValuesToHclTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorForwardedValuesOutputReference | CloudfrontDistributionDefaultCacheBehaviorForwardedValues): any {
1481
1481
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1482
1482
  if (cdktn.isComplexElement(struct)) {
1483
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1483
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1484
1484
  }
1485
1485
  const attrs = {
1486
1486
  headers: {
@@ -1639,7 +1639,7 @@ export interface CloudfrontDistributionDefaultCacheBehaviorLambdaFunctionAssocia
1639
1639
  export function cloudfrontDistributionDefaultCacheBehaviorLambdaFunctionAssociationToTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorLambdaFunctionAssociation | cdktn.IResolvable): any {
1640
1640
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1641
1641
  if (cdktn.isComplexElement(struct)) {
1642
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1642
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1643
1643
  }
1644
1644
  return {
1645
1645
  event_type: cdktn.stringToTerraform(struct!.eventType),
@@ -1652,7 +1652,7 @@ export function cloudfrontDistributionDefaultCacheBehaviorLambdaFunctionAssociat
1652
1652
  export function cloudfrontDistributionDefaultCacheBehaviorLambdaFunctionAssociationToHclTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorLambdaFunctionAssociation | cdktn.IResolvable): any {
1653
1653
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1654
1654
  if (cdktn.isComplexElement(struct)) {
1655
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1655
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1656
1656
  }
1657
1657
  const attrs = {
1658
1658
  event_type: {
@@ -1787,7 +1787,7 @@ export class CloudfrontDistributionDefaultCacheBehaviorLambdaFunctionAssociation
1787
1787
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
1788
1788
  */
1789
1789
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
1790
- super(terraformResource, terraformAttribute, wrapsSet)
1790
+ super(terraformResource, terraformAttribute, wrapsSet);
1791
1791
  }
1792
1792
 
1793
1793
  /**
@@ -1859,7 +1859,7 @@ export interface CloudfrontDistributionDefaultCacheBehavior {
1859
1859
  export function cloudfrontDistributionDefaultCacheBehaviorToTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorOutputReference | CloudfrontDistributionDefaultCacheBehavior): any {
1860
1860
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1861
1861
  if (cdktn.isComplexElement(struct)) {
1862
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1862
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1863
1863
  }
1864
1864
  return {
1865
1865
  allowed_methods: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.allowedMethods),
@@ -1882,7 +1882,7 @@ export function cloudfrontDistributionDefaultCacheBehaviorToTerraform(struct?: C
1882
1882
  export function cloudfrontDistributionDefaultCacheBehaviorToHclTerraform(struct?: CloudfrontDistributionDefaultCacheBehaviorOutputReference | CloudfrontDistributionDefaultCacheBehavior): any {
1883
1883
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
1884
1884
  if (cdktn.isComplexElement(struct)) {
1885
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
1885
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
1886
1886
  }
1887
1887
  const attrs = {
1888
1888
  allowed_methods: {
@@ -2284,7 +2284,7 @@ export interface CloudfrontDistributionLoggingConfig {
2284
2284
  export function cloudfrontDistributionLoggingConfigToTerraform(struct?: CloudfrontDistributionLoggingConfigOutputReference | CloudfrontDistributionLoggingConfig): any {
2285
2285
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2286
2286
  if (cdktn.isComplexElement(struct)) {
2287
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2287
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2288
2288
  }
2289
2289
  return {
2290
2290
  bucket: cdktn.stringToTerraform(struct!.bucket),
@@ -2297,7 +2297,7 @@ export function cloudfrontDistributionLoggingConfigToTerraform(struct?: Cloudfro
2297
2297
  export function cloudfrontDistributionLoggingConfigToHclTerraform(struct?: CloudfrontDistributionLoggingConfigOutputReference | CloudfrontDistributionLoggingConfig): any {
2298
2298
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2299
2299
  if (cdktn.isComplexElement(struct)) {
2300
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2300
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2301
2301
  }
2302
2302
  const attrs = {
2303
2303
  bucket: {
@@ -2427,7 +2427,7 @@ export interface CloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookie
2427
2427
  export function cloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookiesToTerraform(struct?: CloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputReference | CloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookies): any {
2428
2428
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2429
2429
  if (cdktn.isComplexElement(struct)) {
2430
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2430
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2431
2431
  }
2432
2432
  return {
2433
2433
  forward: cdktn.stringToTerraform(struct!.forward),
@@ -2439,7 +2439,7 @@ export function cloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookies
2439
2439
  export function cloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookiesToHclTerraform(struct?: CloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputReference | CloudfrontDistributionOrderedCacheBehaviorForwardedValuesCookies): any {
2440
2440
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2441
2441
  if (cdktn.isComplexElement(struct)) {
2442
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2442
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2443
2443
  }
2444
2444
  const attrs = {
2445
2445
  forward: {
@@ -2551,7 +2551,7 @@ export interface CloudfrontDistributionOrderedCacheBehaviorForwardedValues {
2551
2551
  export function cloudfrontDistributionOrderedCacheBehaviorForwardedValuesToTerraform(struct?: CloudfrontDistributionOrderedCacheBehaviorForwardedValuesOutputReference | CloudfrontDistributionOrderedCacheBehaviorForwardedValues): any {
2552
2552
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2553
2553
  if (cdktn.isComplexElement(struct)) {
2554
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2554
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2555
2555
  }
2556
2556
  return {
2557
2557
  headers: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.headers),
@@ -2565,7 +2565,7 @@ export function cloudfrontDistributionOrderedCacheBehaviorForwardedValuesToTerra
2565
2565
  export function cloudfrontDistributionOrderedCacheBehaviorForwardedValuesToHclTerraform(struct?: CloudfrontDistributionOrderedCacheBehaviorForwardedValuesOutputReference | CloudfrontDistributionOrderedCacheBehaviorForwardedValues): any {
2566
2566
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2567
2567
  if (cdktn.isComplexElement(struct)) {
2568
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2568
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2569
2569
  }
2570
2570
  const attrs = {
2571
2571
  headers: {
@@ -2724,7 +2724,7 @@ export interface CloudfrontDistributionOrderedCacheBehaviorLambdaFunctionAssocia
2724
2724
  export function cloudfrontDistributionOrderedCacheBehaviorLambdaFunctionAssociationToTerraform(struct?: CloudfrontDistributionOrderedCacheBehaviorLambdaFunctionAssociation | cdktn.IResolvable): any {
2725
2725
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2726
2726
  if (cdktn.isComplexElement(struct)) {
2727
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2727
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2728
2728
  }
2729
2729
  return {
2730
2730
  event_type: cdktn.stringToTerraform(struct!.eventType),
@@ -2737,7 +2737,7 @@ export function cloudfrontDistributionOrderedCacheBehaviorLambdaFunctionAssociat
2737
2737
  export function cloudfrontDistributionOrderedCacheBehaviorLambdaFunctionAssociationToHclTerraform(struct?: CloudfrontDistributionOrderedCacheBehaviorLambdaFunctionAssociation | cdktn.IResolvable): any {
2738
2738
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2739
2739
  if (cdktn.isComplexElement(struct)) {
2740
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2740
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2741
2741
  }
2742
2742
  const attrs = {
2743
2743
  event_type: {
@@ -2872,7 +2872,7 @@ export class CloudfrontDistributionOrderedCacheBehaviorLambdaFunctionAssociation
2872
2872
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
2873
2873
  */
2874
2874
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
2875
- super(terraformResource, terraformAttribute, wrapsSet)
2875
+ super(terraformResource, terraformAttribute, wrapsSet);
2876
2876
  }
2877
2877
 
2878
2878
  /**
@@ -2948,7 +2948,7 @@ export interface CloudfrontDistributionOrderedCacheBehavior {
2948
2948
  export function cloudfrontDistributionOrderedCacheBehaviorToTerraform(struct?: CloudfrontDistributionOrderedCacheBehavior | cdktn.IResolvable): any {
2949
2949
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2950
2950
  if (cdktn.isComplexElement(struct)) {
2951
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2951
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2952
2952
  }
2953
2953
  return {
2954
2954
  allowed_methods: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.allowedMethods),
@@ -2972,7 +2972,7 @@ export function cloudfrontDistributionOrderedCacheBehaviorToTerraform(struct?: C
2972
2972
  export function cloudfrontDistributionOrderedCacheBehaviorToHclTerraform(struct?: CloudfrontDistributionOrderedCacheBehavior | cdktn.IResolvable): any {
2973
2973
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
2974
2974
  if (cdktn.isComplexElement(struct)) {
2975
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
2975
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
2976
2976
  }
2977
2977
  const attrs = {
2978
2978
  allowed_methods: {
@@ -3403,7 +3403,7 @@ export class CloudfrontDistributionOrderedCacheBehaviorList extends cdktn.Comple
3403
3403
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
3404
3404
  */
3405
3405
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
3406
- super(terraformResource, terraformAttribute, wrapsSet)
3406
+ super(terraformResource, terraformAttribute, wrapsSet);
3407
3407
  }
3408
3408
 
3409
3409
  /**
@@ -3427,7 +3427,7 @@ export interface CloudfrontDistributionOriginCustomHeader {
3427
3427
  export function cloudfrontDistributionOriginCustomHeaderToTerraform(struct?: CloudfrontDistributionOriginCustomHeader | cdktn.IResolvable): any {
3428
3428
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3429
3429
  if (cdktn.isComplexElement(struct)) {
3430
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3430
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3431
3431
  }
3432
3432
  return {
3433
3433
  name: cdktn.stringToTerraform(struct!.name),
@@ -3439,7 +3439,7 @@ export function cloudfrontDistributionOriginCustomHeaderToTerraform(struct?: Clo
3439
3439
  export function cloudfrontDistributionOriginCustomHeaderToHclTerraform(struct?: CloudfrontDistributionOriginCustomHeader | cdktn.IResolvable): any {
3440
3440
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3441
3441
  if (cdktn.isComplexElement(struct)) {
3442
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3442
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3443
3443
  }
3444
3444
  const attrs = {
3445
3445
  name: {
@@ -3546,7 +3546,7 @@ export class CloudfrontDistributionOriginCustomHeaderList extends cdktn.ComplexL
3546
3546
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
3547
3547
  */
3548
3548
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
3549
- super(terraformResource, terraformAttribute, wrapsSet)
3549
+ super(terraformResource, terraformAttribute, wrapsSet);
3550
3550
  }
3551
3551
 
3552
3552
  /**
@@ -3586,7 +3586,7 @@ export interface CloudfrontDistributionOriginCustomOriginConfig {
3586
3586
  export function cloudfrontDistributionOriginCustomOriginConfigToTerraform(struct?: CloudfrontDistributionOriginCustomOriginConfigOutputReference | CloudfrontDistributionOriginCustomOriginConfig): any {
3587
3587
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3588
3588
  if (cdktn.isComplexElement(struct)) {
3589
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3589
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3590
3590
  }
3591
3591
  return {
3592
3592
  http_port: cdktn.numberToTerraform(struct!.httpPort),
@@ -3602,7 +3602,7 @@ export function cloudfrontDistributionOriginCustomOriginConfigToTerraform(struct
3602
3602
  export function cloudfrontDistributionOriginCustomOriginConfigToHclTerraform(struct?: CloudfrontDistributionOriginCustomOriginConfigOutputReference | CloudfrontDistributionOriginCustomOriginConfig): any {
3603
3603
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3604
3604
  if (cdktn.isComplexElement(struct)) {
3605
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3605
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3606
3606
  }
3607
3607
  const attrs = {
3608
3608
  http_port: {
@@ -3803,7 +3803,7 @@ export interface CloudfrontDistributionOriginS3OriginConfig {
3803
3803
  export function cloudfrontDistributionOriginS3OriginConfigToTerraform(struct?: CloudfrontDistributionOriginS3OriginConfigOutputReference | CloudfrontDistributionOriginS3OriginConfig): any {
3804
3804
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3805
3805
  if (cdktn.isComplexElement(struct)) {
3806
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3806
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3807
3807
  }
3808
3808
  return {
3809
3809
  origin_access_identity: cdktn.stringToTerraform(struct!.originAccessIdentity),
@@ -3814,7 +3814,7 @@ export function cloudfrontDistributionOriginS3OriginConfigToTerraform(struct?: C
3814
3814
  export function cloudfrontDistributionOriginS3OriginConfigToHclTerraform(struct?: CloudfrontDistributionOriginS3OriginConfigOutputReference | CloudfrontDistributionOriginS3OriginConfig): any {
3815
3815
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3816
3816
  if (cdktn.isComplexElement(struct)) {
3817
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3817
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3818
3818
  }
3819
3819
  const attrs = {
3820
3820
  origin_access_identity: {
@@ -3910,7 +3910,7 @@ export interface CloudfrontDistributionOrigin {
3910
3910
  export function cloudfrontDistributionOriginToTerraform(struct?: CloudfrontDistributionOrigin | cdktn.IResolvable): any {
3911
3911
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3912
3912
  if (cdktn.isComplexElement(struct)) {
3913
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3913
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3914
3914
  }
3915
3915
  return {
3916
3916
  domain_name: cdktn.stringToTerraform(struct!.domainName),
@@ -3926,7 +3926,7 @@ export function cloudfrontDistributionOriginToTerraform(struct?: CloudfrontDistr
3926
3926
  export function cloudfrontDistributionOriginToHclTerraform(struct?: CloudfrontDistributionOrigin | cdktn.IResolvable): any {
3927
3927
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
3928
3928
  if (cdktn.isComplexElement(struct)) {
3929
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
3929
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
3930
3930
  }
3931
3931
  const attrs = {
3932
3932
  domain_name: {
@@ -4145,7 +4145,7 @@ export class CloudfrontDistributionOriginList extends cdktn.ComplexList {
4145
4145
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
4146
4146
  */
4147
4147
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
4148
- super(terraformResource, terraformAttribute, wrapsSet)
4148
+ super(terraformResource, terraformAttribute, wrapsSet);
4149
4149
  }
4150
4150
 
4151
4151
  /**
@@ -4165,7 +4165,7 @@ export interface CloudfrontDistributionOriginGroupFailoverCriteria {
4165
4165
  export function cloudfrontDistributionOriginGroupFailoverCriteriaToTerraform(struct?: CloudfrontDistributionOriginGroupFailoverCriteriaOutputReference | CloudfrontDistributionOriginGroupFailoverCriteria): any {
4166
4166
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4167
4167
  if (cdktn.isComplexElement(struct)) {
4168
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4168
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4169
4169
  }
4170
4170
  return {
4171
4171
  status_codes: cdktn.listMapper(cdktn.numberToTerraform, false)(struct!.statusCodes),
@@ -4176,7 +4176,7 @@ export function cloudfrontDistributionOriginGroupFailoverCriteriaToTerraform(str
4176
4176
  export function cloudfrontDistributionOriginGroupFailoverCriteriaToHclTerraform(struct?: CloudfrontDistributionOriginGroupFailoverCriteriaOutputReference | CloudfrontDistributionOriginGroupFailoverCriteria): any {
4177
4177
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4178
4178
  if (cdktn.isComplexElement(struct)) {
4179
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4179
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4180
4180
  }
4181
4181
  const attrs = {
4182
4182
  status_codes: {
@@ -4246,7 +4246,7 @@ export interface CloudfrontDistributionOriginGroupMember {
4246
4246
  export function cloudfrontDistributionOriginGroupMemberToTerraform(struct?: CloudfrontDistributionOriginGroupMember | cdktn.IResolvable): any {
4247
4247
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4248
4248
  if (cdktn.isComplexElement(struct)) {
4249
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4249
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4250
4250
  }
4251
4251
  return {
4252
4252
  origin_id: cdktn.stringToTerraform(struct!.originId),
@@ -4257,7 +4257,7 @@ export function cloudfrontDistributionOriginGroupMemberToTerraform(struct?: Clou
4257
4257
  export function cloudfrontDistributionOriginGroupMemberToHclTerraform(struct?: CloudfrontDistributionOriginGroupMember | cdktn.IResolvable): any {
4258
4258
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4259
4259
  if (cdktn.isComplexElement(struct)) {
4260
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4260
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4261
4261
  }
4262
4262
  const attrs = {
4263
4263
  origin_id: {
@@ -4339,7 +4339,7 @@ export class CloudfrontDistributionOriginGroupMemberList extends cdktn.ComplexLi
4339
4339
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
4340
4340
  */
4341
4341
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
4342
- super(terraformResource, terraformAttribute, wrapsSet)
4342
+ super(terraformResource, terraformAttribute, wrapsSet);
4343
4343
  }
4344
4344
 
4345
4345
  /**
@@ -4371,7 +4371,7 @@ export interface CloudfrontDistributionOriginGroup {
4371
4371
  export function cloudfrontDistributionOriginGroupToTerraform(struct?: CloudfrontDistributionOriginGroup | cdktn.IResolvable): any {
4372
4372
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4373
4373
  if (cdktn.isComplexElement(struct)) {
4374
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4374
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4375
4375
  }
4376
4376
  return {
4377
4377
  origin_id: cdktn.stringToTerraform(struct!.originId),
@@ -4384,7 +4384,7 @@ export function cloudfrontDistributionOriginGroupToTerraform(struct?: Cloudfront
4384
4384
  export function cloudfrontDistributionOriginGroupToHclTerraform(struct?: CloudfrontDistributionOriginGroup | cdktn.IResolvable): any {
4385
4385
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4386
4386
  if (cdktn.isComplexElement(struct)) {
4387
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4387
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4388
4388
  }
4389
4389
  const attrs = {
4390
4390
  origin_id: {
@@ -4516,7 +4516,7 @@ export class CloudfrontDistributionOriginGroupList extends cdktn.ComplexList {
4516
4516
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
4517
4517
  */
4518
4518
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
4519
- super(terraformResource, terraformAttribute, wrapsSet)
4519
+ super(terraformResource, terraformAttribute, wrapsSet);
4520
4520
  }
4521
4521
 
4522
4522
  /**
@@ -4540,7 +4540,7 @@ export interface CloudfrontDistributionRestrictionsGeoRestriction {
4540
4540
  export function cloudfrontDistributionRestrictionsGeoRestrictionToTerraform(struct?: CloudfrontDistributionRestrictionsGeoRestrictionOutputReference | CloudfrontDistributionRestrictionsGeoRestriction): any {
4541
4541
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4542
4542
  if (cdktn.isComplexElement(struct)) {
4543
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4543
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4544
4544
  }
4545
4545
  return {
4546
4546
  locations: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.locations),
@@ -4552,7 +4552,7 @@ export function cloudfrontDistributionRestrictionsGeoRestrictionToTerraform(stru
4552
4552
  export function cloudfrontDistributionRestrictionsGeoRestrictionToHclTerraform(struct?: CloudfrontDistributionRestrictionsGeoRestrictionOutputReference | CloudfrontDistributionRestrictionsGeoRestriction): any {
4553
4553
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4554
4554
  if (cdktn.isComplexElement(struct)) {
4555
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4555
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4556
4556
  }
4557
4557
  const attrs = {
4558
4558
  locations: {
@@ -4652,7 +4652,7 @@ export interface CloudfrontDistributionRestrictions {
4652
4652
  export function cloudfrontDistributionRestrictionsToTerraform(struct?: CloudfrontDistributionRestrictionsOutputReference | CloudfrontDistributionRestrictions): any {
4653
4653
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4654
4654
  if (cdktn.isComplexElement(struct)) {
4655
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4655
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4656
4656
  }
4657
4657
  return {
4658
4658
  geo_restriction: cloudfrontDistributionRestrictionsGeoRestrictionToTerraform(struct!.geoRestriction),
@@ -4663,7 +4663,7 @@ export function cloudfrontDistributionRestrictionsToTerraform(struct?: Cloudfron
4663
4663
  export function cloudfrontDistributionRestrictionsToHclTerraform(struct?: CloudfrontDistributionRestrictionsOutputReference | CloudfrontDistributionRestrictions): any {
4664
4664
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4665
4665
  if (cdktn.isComplexElement(struct)) {
4666
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4666
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4667
4667
  }
4668
4668
  const attrs = {
4669
4669
  geo_restriction: {
@@ -4749,7 +4749,7 @@ export interface CloudfrontDistributionViewerCertificate {
4749
4749
  export function cloudfrontDistributionViewerCertificateToTerraform(struct?: CloudfrontDistributionViewerCertificateOutputReference | CloudfrontDistributionViewerCertificate): any {
4750
4750
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4751
4751
  if (cdktn.isComplexElement(struct)) {
4752
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4752
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4753
4753
  }
4754
4754
  return {
4755
4755
  acm_certificate_arn: cdktn.stringToTerraform(struct!.acmCertificateArn),
@@ -4764,7 +4764,7 @@ export function cloudfrontDistributionViewerCertificateToTerraform(struct?: Clou
4764
4764
  export function cloudfrontDistributionViewerCertificateToHclTerraform(struct?: CloudfrontDistributionViewerCertificateOutputReference | CloudfrontDistributionViewerCertificate): any {
4765
4765
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
4766
4766
  if (cdktn.isComplexElement(struct)) {
4767
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
4767
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
4768
4768
  }
4769
4769
  const attrs = {
4770
4770
  acm_certificate_arn: {
@@ -5609,7 +5609,7 @@ export interface SpansMetricCompute {
5609
5609
  export function spansMetricComputeToTerraform(struct?: SpansMetricCompute | cdktn.IResolvable): any {
5610
5610
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
5611
5611
  if (cdktn.isComplexElement(struct)) {
5612
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
5612
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
5613
5613
  }
5614
5614
  return {
5615
5615
  aggregation_type: cdktn.stringToTerraform(struct!.aggregationType),
@@ -5622,7 +5622,7 @@ export function spansMetricComputeToTerraform(struct?: SpansMetricCompute | cdkt
5622
5622
  export function spansMetricComputeToHclTerraform(struct?: SpansMetricCompute | cdktn.IResolvable): any {
5623
5623
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
5624
5624
  if (cdktn.isComplexElement(struct)) {
5625
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
5625
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
5626
5626
  }
5627
5627
  const attrs = {
5628
5628
  aggregation_type: {
@@ -5760,7 +5760,7 @@ export interface SpansMetricFilter {
5760
5760
  export function spansMetricFilterToTerraform(struct?: SpansMetricFilter | cdktn.IResolvable): any {
5761
5761
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
5762
5762
  if (cdktn.isComplexElement(struct)) {
5763
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
5763
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
5764
5764
  }
5765
5765
  return {
5766
5766
  query: cdktn.stringToTerraform(struct!.query),
@@ -5771,7 +5771,7 @@ export function spansMetricFilterToTerraform(struct?: SpansMetricFilter | cdktn.
5771
5771
  export function spansMetricFilterToHclTerraform(struct?: SpansMetricFilter | cdktn.IResolvable): any {
5772
5772
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
5773
5773
  if (cdktn.isComplexElement(struct)) {
5774
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
5774
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
5775
5775
  }
5776
5776
  const attrs = {
5777
5777
  query: {
@@ -5862,7 +5862,7 @@ export interface SpansMetricGroupBy {
5862
5862
  export function spansMetricGroupByToTerraform(struct?: SpansMetricGroupBy | cdktn.IResolvable): any {
5863
5863
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
5864
5864
  if (cdktn.isComplexElement(struct)) {
5865
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
5865
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
5866
5866
  }
5867
5867
  return {
5868
5868
  path: cdktn.stringToTerraform(struct!.path),
@@ -5874,7 +5874,7 @@ export function spansMetricGroupByToTerraform(struct?: SpansMetricGroupBy | cdkt
5874
5874
  export function spansMetricGroupByToHclTerraform(struct?: SpansMetricGroupBy | cdktn.IResolvable): any {
5875
5875
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
5876
5876
  if (cdktn.isComplexElement(struct)) {
5877
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
5877
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
5878
5878
  }
5879
5879
  const attrs = {
5880
5880
  path: {
@@ -5984,7 +5984,7 @@ export class SpansMetricGroupByList extends cdktn.ComplexList {
5984
5984
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
5985
5985
  */
5986
5986
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
5987
- super(terraformResource, terraformAttribute, wrapsSet)
5987
+ super(terraformResource, terraformAttribute, wrapsSet);
5988
5988
  }
5989
5989
 
5990
5990
  /**
@@ -6464,7 +6464,7 @@ export interface S3BucketCorsRule {
6464
6464
  export function s3BucketCorsRuleToTerraform(struct?: S3BucketCorsRule | cdktn.IResolvable): any {
6465
6465
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
6466
6466
  if (cdktn.isComplexElement(struct)) {
6467
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
6467
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
6468
6468
  }
6469
6469
  return {
6470
6470
  allowed_headers: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.allowedHeaders),
@@ -6479,7 +6479,7 @@ export function s3BucketCorsRuleToTerraform(struct?: S3BucketCorsRule | cdktn.IR
6479
6479
  export function s3BucketCorsRuleToHclTerraform(struct?: S3BucketCorsRule | cdktn.IResolvable): any {
6480
6480
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
6481
6481
  if (cdktn.isComplexElement(struct)) {
6482
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
6482
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
6483
6483
  }
6484
6484
  const attrs = {
6485
6485
  allowed_headers: {
@@ -6670,7 +6670,7 @@ export class S3BucketCorsRuleList extends cdktn.ComplexList {
6670
6670
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
6671
6671
  */
6672
6672
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
6673
- super(terraformResource, terraformAttribute, wrapsSet)
6673
+ super(terraformResource, terraformAttribute, wrapsSet);
6674
6674
  }
6675
6675
 
6676
6676
  /**
@@ -6705,7 +6705,7 @@ export interface S3BucketGrant {
6705
6705
  export function s3BucketGrantToTerraform(struct?: S3BucketGrant | cdktn.IResolvable): any {
6706
6706
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
6707
6707
  if (cdktn.isComplexElement(struct)) {
6708
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
6708
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
6709
6709
  }
6710
6710
  return {
6711
6711
  id: cdktn.stringToTerraform(struct!.id),
@@ -6719,7 +6719,7 @@ export function s3BucketGrantToTerraform(struct?: S3BucketGrant | cdktn.IResolva
6719
6719
  export function s3BucketGrantToHclTerraform(struct?: S3BucketGrant | cdktn.IResolvable): any {
6720
6720
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
6721
6721
  if (cdktn.isComplexElement(struct)) {
6722
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
6722
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
6723
6723
  }
6724
6724
  const attrs = {
6725
6725
  id: {
@@ -6882,7 +6882,7 @@ export class S3BucketGrantList extends cdktn.ComplexList {
6882
6882
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
6883
6883
  */
6884
6884
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
6885
- super(terraformResource, terraformAttribute, wrapsSet)
6885
+ super(terraformResource, terraformAttribute, wrapsSet);
6886
6886
  }
6887
6887
 
6888
6888
  /**
@@ -6910,7 +6910,7 @@ export interface S3BucketLifecycleRuleExpiration {
6910
6910
  export function s3BucketLifecycleRuleExpirationToTerraform(struct?: S3BucketLifecycleRuleExpirationOutputReference | S3BucketLifecycleRuleExpiration): any {
6911
6911
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
6912
6912
  if (cdktn.isComplexElement(struct)) {
6913
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
6913
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
6914
6914
  }
6915
6915
  return {
6916
6916
  date: cdktn.stringToTerraform(struct!.date),
@@ -6923,7 +6923,7 @@ export function s3BucketLifecycleRuleExpirationToTerraform(struct?: S3BucketLife
6923
6923
  export function s3BucketLifecycleRuleExpirationToHclTerraform(struct?: S3BucketLifecycleRuleExpirationOutputReference | S3BucketLifecycleRuleExpiration): any {
6924
6924
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
6925
6925
  if (cdktn.isComplexElement(struct)) {
6926
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
6926
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
6927
6927
  }
6928
6928
  const attrs = {
6929
6929
  date: {
@@ -7052,7 +7052,7 @@ export interface S3BucketLifecycleRuleNoncurrentVersionExpiration {
7052
7052
  export function s3BucketLifecycleRuleNoncurrentVersionExpirationToTerraform(struct?: S3BucketLifecycleRuleNoncurrentVersionExpirationOutputReference | S3BucketLifecycleRuleNoncurrentVersionExpiration): any {
7053
7053
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7054
7054
  if (cdktn.isComplexElement(struct)) {
7055
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7055
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7056
7056
  }
7057
7057
  return {
7058
7058
  days: cdktn.numberToTerraform(struct!.days),
@@ -7063,7 +7063,7 @@ export function s3BucketLifecycleRuleNoncurrentVersionExpirationToTerraform(stru
7063
7063
  export function s3BucketLifecycleRuleNoncurrentVersionExpirationToHclTerraform(struct?: S3BucketLifecycleRuleNoncurrentVersionExpirationOutputReference | S3BucketLifecycleRuleNoncurrentVersionExpiration): any {
7064
7064
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7065
7065
  if (cdktn.isComplexElement(struct)) {
7066
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7066
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7067
7067
  }
7068
7068
  const attrs = {
7069
7069
  days: {
@@ -7140,7 +7140,7 @@ export interface S3BucketLifecycleRuleNoncurrentVersionTransition {
7140
7140
  export function s3BucketLifecycleRuleNoncurrentVersionTransitionToTerraform(struct?: S3BucketLifecycleRuleNoncurrentVersionTransition | cdktn.IResolvable): any {
7141
7141
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7142
7142
  if (cdktn.isComplexElement(struct)) {
7143
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7143
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7144
7144
  }
7145
7145
  return {
7146
7146
  days: cdktn.numberToTerraform(struct!.days),
@@ -7152,7 +7152,7 @@ export function s3BucketLifecycleRuleNoncurrentVersionTransitionToTerraform(stru
7152
7152
  export function s3BucketLifecycleRuleNoncurrentVersionTransitionToHclTerraform(struct?: S3BucketLifecycleRuleNoncurrentVersionTransition | cdktn.IResolvable): any {
7153
7153
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7154
7154
  if (cdktn.isComplexElement(struct)) {
7155
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7155
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7156
7156
  }
7157
7157
  const attrs = {
7158
7158
  days: {
@@ -7262,7 +7262,7 @@ export class S3BucketLifecycleRuleNoncurrentVersionTransitionList extends cdktn.
7262
7262
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
7263
7263
  */
7264
7264
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
7265
- super(terraformResource, terraformAttribute, wrapsSet)
7265
+ super(terraformResource, terraformAttribute, wrapsSet);
7266
7266
  }
7267
7267
 
7268
7268
  /**
@@ -7290,7 +7290,7 @@ export interface S3BucketLifecycleRuleTransition {
7290
7290
  export function s3BucketLifecycleRuleTransitionToTerraform(struct?: S3BucketLifecycleRuleTransition | cdktn.IResolvable): any {
7291
7291
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7292
7292
  if (cdktn.isComplexElement(struct)) {
7293
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7293
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7294
7294
  }
7295
7295
  return {
7296
7296
  date: cdktn.stringToTerraform(struct!.date),
@@ -7303,7 +7303,7 @@ export function s3BucketLifecycleRuleTransitionToTerraform(struct?: S3BucketLife
7303
7303
  export function s3BucketLifecycleRuleTransitionToHclTerraform(struct?: S3BucketLifecycleRuleTransition | cdktn.IResolvable): any {
7304
7304
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7305
7305
  if (cdktn.isComplexElement(struct)) {
7306
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7306
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7307
7307
  }
7308
7308
  const attrs = {
7309
7309
  date: {
@@ -7441,7 +7441,7 @@ export class S3BucketLifecycleRuleTransitionList extends cdktn.ComplexList {
7441
7441
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
7442
7442
  */
7443
7443
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
7444
- super(terraformResource, terraformAttribute, wrapsSet)
7444
+ super(terraformResource, terraformAttribute, wrapsSet);
7445
7445
  }
7446
7446
 
7447
7447
  /**
@@ -7504,7 +7504,7 @@ export interface S3BucketLifecycleRule {
7504
7504
  export function s3BucketLifecycleRuleToTerraform(struct?: S3BucketLifecycleRule | cdktn.IResolvable): any {
7505
7505
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7506
7506
  if (cdktn.isComplexElement(struct)) {
7507
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7507
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7508
7508
  }
7509
7509
  return {
7510
7510
  abort_incomplete_multipart_upload_days: cdktn.numberToTerraform(struct!.abortIncompleteMultipartUploadDays),
@@ -7523,7 +7523,7 @@ export function s3BucketLifecycleRuleToTerraform(struct?: S3BucketLifecycleRule
7523
7523
  export function s3BucketLifecycleRuleToHclTerraform(struct?: S3BucketLifecycleRule | cdktn.IResolvable): any {
7524
7524
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7525
7525
  if (cdktn.isComplexElement(struct)) {
7526
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7526
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7527
7527
  }
7528
7528
  const attrs = {
7529
7529
  abort_incomplete_multipart_upload_days: {
@@ -7829,7 +7829,7 @@ export class S3BucketLifecycleRuleList extends cdktn.ComplexList {
7829
7829
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
7830
7830
  */
7831
7831
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
7832
- super(terraformResource, terraformAttribute, wrapsSet)
7832
+ super(terraformResource, terraformAttribute, wrapsSet);
7833
7833
  }
7834
7834
 
7835
7835
  /**
@@ -7853,7 +7853,7 @@ export interface S3BucketLogging {
7853
7853
  export function s3BucketLoggingToTerraform(struct?: S3BucketLogging | cdktn.IResolvable): any {
7854
7854
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7855
7855
  if (cdktn.isComplexElement(struct)) {
7856
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7856
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7857
7857
  }
7858
7858
  return {
7859
7859
  target_bucket: cdktn.stringToTerraform(struct!.targetBucket),
@@ -7865,7 +7865,7 @@ export function s3BucketLoggingToTerraform(struct?: S3BucketLogging | cdktn.IRes
7865
7865
  export function s3BucketLoggingToHclTerraform(struct?: S3BucketLogging | cdktn.IResolvable): any {
7866
7866
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
7867
7867
  if (cdktn.isComplexElement(struct)) {
7868
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
7868
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
7869
7869
  }
7870
7870
  const attrs = {
7871
7871
  target_bucket: {
@@ -7975,7 +7975,7 @@ export class S3BucketLoggingList extends cdktn.ComplexList {
7975
7975
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
7976
7976
  */
7977
7977
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
7978
- super(terraformResource, terraformAttribute, wrapsSet)
7978
+ super(terraformResource, terraformAttribute, wrapsSet);
7979
7979
  }
7980
7980
 
7981
7981
  /**
@@ -8003,7 +8003,7 @@ export interface S3BucketObjectLockConfigurationRuleDefaultRetention {
8003
8003
  export function s3BucketObjectLockConfigurationRuleDefaultRetentionToTerraform(struct?: S3BucketObjectLockConfigurationRuleDefaultRetentionOutputReference | S3BucketObjectLockConfigurationRuleDefaultRetention): any {
8004
8004
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8005
8005
  if (cdktn.isComplexElement(struct)) {
8006
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8006
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8007
8007
  }
8008
8008
  return {
8009
8009
  days: cdktn.numberToTerraform(struct!.days),
@@ -8016,7 +8016,7 @@ export function s3BucketObjectLockConfigurationRuleDefaultRetentionToTerraform(s
8016
8016
  export function s3BucketObjectLockConfigurationRuleDefaultRetentionToHclTerraform(struct?: S3BucketObjectLockConfigurationRuleDefaultRetentionOutputReference | S3BucketObjectLockConfigurationRuleDefaultRetention): any {
8017
8017
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8018
8018
  if (cdktn.isComplexElement(struct)) {
8019
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8019
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8020
8020
  }
8021
8021
  const attrs = {
8022
8022
  days: {
@@ -8144,7 +8144,7 @@ export interface S3BucketObjectLockConfigurationRule {
8144
8144
  export function s3BucketObjectLockConfigurationRuleToTerraform(struct?: S3BucketObjectLockConfigurationRuleOutputReference | S3BucketObjectLockConfigurationRule): any {
8145
8145
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8146
8146
  if (cdktn.isComplexElement(struct)) {
8147
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8147
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8148
8148
  }
8149
8149
  return {
8150
8150
  default_retention: s3BucketObjectLockConfigurationRuleDefaultRetentionToTerraform(struct!.defaultRetention),
@@ -8155,7 +8155,7 @@ export function s3BucketObjectLockConfigurationRuleToTerraform(struct?: S3Bucket
8155
8155
  export function s3BucketObjectLockConfigurationRuleToHclTerraform(struct?: S3BucketObjectLockConfigurationRuleOutputReference | S3BucketObjectLockConfigurationRule): any {
8156
8156
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8157
8157
  if (cdktn.isComplexElement(struct)) {
8158
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8158
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8159
8159
  }
8160
8160
  const attrs = {
8161
8161
  default_retention: {
@@ -8231,7 +8231,7 @@ export interface S3BucketObjectLockConfiguration {
8231
8231
  export function s3BucketObjectLockConfigurationToTerraform(struct?: S3BucketObjectLockConfigurationOutputReference | S3BucketObjectLockConfiguration): any {
8232
8232
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8233
8233
  if (cdktn.isComplexElement(struct)) {
8234
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8234
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8235
8235
  }
8236
8236
  return {
8237
8237
  object_lock_enabled: cdktn.stringToTerraform(struct!.objectLockEnabled),
@@ -8243,7 +8243,7 @@ export function s3BucketObjectLockConfigurationToTerraform(struct?: S3BucketObje
8243
8243
  export function s3BucketObjectLockConfigurationToHclTerraform(struct?: S3BucketObjectLockConfigurationOutputReference | S3BucketObjectLockConfiguration): any {
8244
8244
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8245
8245
  if (cdktn.isComplexElement(struct)) {
8246
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8246
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8247
8247
  }
8248
8248
  const attrs = {
8249
8249
  object_lock_enabled: {
@@ -8341,7 +8341,7 @@ export interface S3BucketReplicationConfigurationRulesDestinationAccessControlTr
8341
8341
  export function s3BucketReplicationConfigurationRulesDestinationAccessControlTranslationToTerraform(struct?: S3BucketReplicationConfigurationRulesDestinationAccessControlTranslationOutputReference | S3BucketReplicationConfigurationRulesDestinationAccessControlTranslation): any {
8342
8342
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8343
8343
  if (cdktn.isComplexElement(struct)) {
8344
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8344
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8345
8345
  }
8346
8346
  return {
8347
8347
  owner: cdktn.stringToTerraform(struct!.owner),
@@ -8352,7 +8352,7 @@ export function s3BucketReplicationConfigurationRulesDestinationAccessControlTra
8352
8352
  export function s3BucketReplicationConfigurationRulesDestinationAccessControlTranslationToHclTerraform(struct?: S3BucketReplicationConfigurationRulesDestinationAccessControlTranslationOutputReference | S3BucketReplicationConfigurationRulesDestinationAccessControlTranslation): any {
8353
8353
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8354
8354
  if (cdktn.isComplexElement(struct)) {
8355
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8355
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8356
8356
  }
8357
8357
  const attrs = {
8358
8358
  owner: {
@@ -8440,7 +8440,7 @@ export interface S3BucketReplicationConfigurationRulesDestination {
8440
8440
  export function s3BucketReplicationConfigurationRulesDestinationToTerraform(struct?: S3BucketReplicationConfigurationRulesDestinationOutputReference | S3BucketReplicationConfigurationRulesDestination): any {
8441
8441
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8442
8442
  if (cdktn.isComplexElement(struct)) {
8443
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8443
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8444
8444
  }
8445
8445
  return {
8446
8446
  account_id: cdktn.stringToTerraform(struct!.accountId),
@@ -8455,7 +8455,7 @@ export function s3BucketReplicationConfigurationRulesDestinationToTerraform(stru
8455
8455
  export function s3BucketReplicationConfigurationRulesDestinationToHclTerraform(struct?: S3BucketReplicationConfigurationRulesDestinationOutputReference | S3BucketReplicationConfigurationRulesDestination): any {
8456
8456
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8457
8457
  if (cdktn.isComplexElement(struct)) {
8458
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8458
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8459
8459
  }
8460
8460
  const attrs = {
8461
8461
  account_id: {
@@ -8641,7 +8641,7 @@ export interface S3BucketReplicationConfigurationRulesFilter {
8641
8641
  export function s3BucketReplicationConfigurationRulesFilterToTerraform(struct?: S3BucketReplicationConfigurationRulesFilterOutputReference | S3BucketReplicationConfigurationRulesFilter): any {
8642
8642
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8643
8643
  if (cdktn.isComplexElement(struct)) {
8644
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8644
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8645
8645
  }
8646
8646
  return {
8647
8647
  prefix: cdktn.stringToTerraform(struct!.prefix),
@@ -8653,7 +8653,7 @@ export function s3BucketReplicationConfigurationRulesFilterToTerraform(struct?:
8653
8653
  export function s3BucketReplicationConfigurationRulesFilterToHclTerraform(struct?: S3BucketReplicationConfigurationRulesFilterOutputReference | S3BucketReplicationConfigurationRulesFilter): any {
8654
8654
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8655
8655
  if (cdktn.isComplexElement(struct)) {
8656
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8656
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8657
8657
  }
8658
8658
  const attrs = {
8659
8659
  prefix: {
@@ -8754,7 +8754,7 @@ export interface S3BucketReplicationConfigurationRulesSourceSelectionCriteriaSse
8754
8754
  export function s3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsToTerraform(struct?: S3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsOutputReference | S3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjects): any {
8755
8755
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8756
8756
  if (cdktn.isComplexElement(struct)) {
8757
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8757
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8758
8758
  }
8759
8759
  return {
8760
8760
  enabled: cdktn.booleanToTerraform(struct!.enabled),
@@ -8765,7 +8765,7 @@ export function s3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseK
8765
8765
  export function s3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsToHclTerraform(struct?: S3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsOutputReference | S3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjects): any {
8766
8766
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8767
8767
  if (cdktn.isComplexElement(struct)) {
8768
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8768
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8769
8769
  }
8770
8770
  const attrs = {
8771
8771
  enabled: {
@@ -8837,7 +8837,7 @@ export interface S3BucketReplicationConfigurationRulesSourceSelectionCriteria {
8837
8837
  export function s3BucketReplicationConfigurationRulesSourceSelectionCriteriaToTerraform(struct?: S3BucketReplicationConfigurationRulesSourceSelectionCriteriaOutputReference | S3BucketReplicationConfigurationRulesSourceSelectionCriteria): any {
8838
8838
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8839
8839
  if (cdktn.isComplexElement(struct)) {
8840
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8840
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8841
8841
  }
8842
8842
  return {
8843
8843
  sse_kms_encrypted_objects: s3BucketReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsToTerraform(struct!.sseKmsEncryptedObjects),
@@ -8848,7 +8848,7 @@ export function s3BucketReplicationConfigurationRulesSourceSelectionCriteriaToTe
8848
8848
  export function s3BucketReplicationConfigurationRulesSourceSelectionCriteriaToHclTerraform(struct?: S3BucketReplicationConfigurationRulesSourceSelectionCriteriaOutputReference | S3BucketReplicationConfigurationRulesSourceSelectionCriteria): any {
8849
8849
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8850
8850
  if (cdktn.isComplexElement(struct)) {
8851
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8851
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8852
8852
  }
8853
8853
  const attrs = {
8854
8854
  sse_kms_encrypted_objects: {
@@ -8954,7 +8954,7 @@ export interface S3BucketReplicationConfigurationRules {
8954
8954
  export function s3BucketReplicationConfigurationRulesToTerraform(struct?: S3BucketReplicationConfigurationRules | cdktn.IResolvable): any {
8955
8955
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8956
8956
  if (cdktn.isComplexElement(struct)) {
8957
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8957
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8958
8958
  }
8959
8959
  return {
8960
8960
  id: cdktn.stringToTerraform(struct!.id),
@@ -8971,7 +8971,7 @@ export function s3BucketReplicationConfigurationRulesToTerraform(struct?: S3Buck
8971
8971
  export function s3BucketReplicationConfigurationRulesToHclTerraform(struct?: S3BucketReplicationConfigurationRules | cdktn.IResolvable): any {
8972
8972
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
8973
8973
  if (cdktn.isComplexElement(struct)) {
8974
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
8974
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
8975
8975
  }
8976
8976
  const attrs = {
8977
8977
  id: {
@@ -9218,7 +9218,7 @@ export class S3BucketReplicationConfigurationRulesList extends cdktn.ComplexList
9218
9218
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
9219
9219
  */
9220
9220
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
9221
- super(terraformResource, terraformAttribute, wrapsSet)
9221
+ super(terraformResource, terraformAttribute, wrapsSet);
9222
9222
  }
9223
9223
 
9224
9224
  /**
@@ -9244,7 +9244,7 @@ export interface S3BucketReplicationConfiguration {
9244
9244
  export function s3BucketReplicationConfigurationToTerraform(struct?: S3BucketReplicationConfigurationOutputReference | S3BucketReplicationConfiguration): any {
9245
9245
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9246
9246
  if (cdktn.isComplexElement(struct)) {
9247
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9247
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9248
9248
  }
9249
9249
  return {
9250
9250
  role: cdktn.stringToTerraform(struct!.role),
@@ -9256,7 +9256,7 @@ export function s3BucketReplicationConfigurationToTerraform(struct?: S3BucketRep
9256
9256
  export function s3BucketReplicationConfigurationToHclTerraform(struct?: S3BucketReplicationConfigurationOutputReference | S3BucketReplicationConfiguration): any {
9257
9257
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9258
9258
  if (cdktn.isComplexElement(struct)) {
9259
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9259
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9260
9260
  }
9261
9261
  const attrs = {
9262
9262
  role: {
@@ -9355,7 +9355,7 @@ export interface S3BucketServerSideEncryptionConfigurationRuleApplyServerSideEnc
9355
9355
  export function s3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultToTerraform(struct?: S3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultOutputReference | S3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault): any {
9356
9356
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9357
9357
  if (cdktn.isComplexElement(struct)) {
9358
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9358
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9359
9359
  }
9360
9360
  return {
9361
9361
  kms_master_key_id: cdktn.stringToTerraform(struct!.kmsMasterKeyId),
@@ -9367,7 +9367,7 @@ export function s3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncr
9367
9367
  export function s3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultToHclTerraform(struct?: S3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultOutputReference | S3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault): any {
9368
9368
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9369
9369
  if (cdktn.isComplexElement(struct)) {
9370
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9370
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9371
9371
  }
9372
9372
  const attrs = {
9373
9373
  kms_master_key_id: {
@@ -9467,7 +9467,7 @@ export interface S3BucketServerSideEncryptionConfigurationRule {
9467
9467
  export function s3BucketServerSideEncryptionConfigurationRuleToTerraform(struct?: S3BucketServerSideEncryptionConfigurationRuleOutputReference | S3BucketServerSideEncryptionConfigurationRule): any {
9468
9468
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9469
9469
  if (cdktn.isComplexElement(struct)) {
9470
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9470
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9471
9471
  }
9472
9472
  return {
9473
9473
  apply_server_side_encryption_by_default: s3BucketServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultToTerraform(struct!.applyServerSideEncryptionByDefault),
@@ -9478,7 +9478,7 @@ export function s3BucketServerSideEncryptionConfigurationRuleToTerraform(struct?
9478
9478
  export function s3BucketServerSideEncryptionConfigurationRuleToHclTerraform(struct?: S3BucketServerSideEncryptionConfigurationRuleOutputReference | S3BucketServerSideEncryptionConfigurationRule): any {
9479
9479
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9480
9480
  if (cdktn.isComplexElement(struct)) {
9481
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9481
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9482
9482
  }
9483
9483
  const attrs = {
9484
9484
  apply_server_side_encryption_by_default: {
@@ -9550,7 +9550,7 @@ export interface S3BucketServerSideEncryptionConfiguration {
9550
9550
  export function s3BucketServerSideEncryptionConfigurationToTerraform(struct?: S3BucketServerSideEncryptionConfigurationOutputReference | S3BucketServerSideEncryptionConfiguration): any {
9551
9551
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9552
9552
  if (cdktn.isComplexElement(struct)) {
9553
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9553
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9554
9554
  }
9555
9555
  return {
9556
9556
  rule: s3BucketServerSideEncryptionConfigurationRuleToTerraform(struct!.rule),
@@ -9561,7 +9561,7 @@ export function s3BucketServerSideEncryptionConfigurationToTerraform(struct?: S3
9561
9561
  export function s3BucketServerSideEncryptionConfigurationToHclTerraform(struct?: S3BucketServerSideEncryptionConfigurationOutputReference | S3BucketServerSideEncryptionConfiguration): any {
9562
9562
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9563
9563
  if (cdktn.isComplexElement(struct)) {
9564
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9564
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9565
9565
  }
9566
9566
  const attrs = {
9567
9567
  rule: {
@@ -9635,7 +9635,7 @@ export interface S3BucketVersioning {
9635
9635
  export function s3BucketVersioningToTerraform(struct?: S3BucketVersioningOutputReference | S3BucketVersioning): any {
9636
9636
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9637
9637
  if (cdktn.isComplexElement(struct)) {
9638
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9638
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9639
9639
  }
9640
9640
  return {
9641
9641
  enabled: cdktn.booleanToTerraform(struct!.enabled),
@@ -9647,7 +9647,7 @@ export function s3BucketVersioningToTerraform(struct?: S3BucketVersioningOutputR
9647
9647
  export function s3BucketVersioningToHclTerraform(struct?: S3BucketVersioningOutputReference | S3BucketVersioning): any {
9648
9648
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9649
9649
  if (cdktn.isComplexElement(struct)) {
9650
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9650
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9651
9651
  }
9652
9652
  const attrs = {
9653
9653
  enabled: {
@@ -9760,7 +9760,7 @@ export interface S3BucketWebsite {
9760
9760
  export function s3BucketWebsiteToTerraform(struct?: S3BucketWebsiteOutputReference | S3BucketWebsite): any {
9761
9761
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9762
9762
  if (cdktn.isComplexElement(struct)) {
9763
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9763
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9764
9764
  }
9765
9765
  return {
9766
9766
  error_document: cdktn.stringToTerraform(struct!.errorDocument),
@@ -9774,7 +9774,7 @@ export function s3BucketWebsiteToTerraform(struct?: S3BucketWebsiteOutputReferen
9774
9774
  export function s3BucketWebsiteToHclTerraform(struct?: S3BucketWebsiteOutputReference | S3BucketWebsite): any {
9775
9775
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
9776
9776
  if (cdktn.isComplexElement(struct)) {
9777
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
9777
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
9778
9778
  }
9779
9779
  const attrs = {
9780
9780
  error_document: {
@@ -10657,7 +10657,7 @@ export interface SecurityGroupEgress {
10657
10657
  export function securityGroupEgressToTerraform(struct?: SecurityGroupEgress | cdktn.IResolvable): any {
10658
10658
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
10659
10659
  if (cdktn.isComplexElement(struct)) {
10660
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
10660
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
10661
10661
  }
10662
10662
  return {
10663
10663
  cidr_blocks: struct!.cidrBlocks === undefined ? null : cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.cidrBlocks),
@@ -10676,7 +10676,7 @@ export function securityGroupEgressToTerraform(struct?: SecurityGroupEgress | cd
10676
10676
  export function securityGroupEgressToHclTerraform(struct?: SecurityGroupEgress | cdktn.IResolvable): any {
10677
10677
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
10678
10678
  if (cdktn.isComplexElement(struct)) {
10679
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
10679
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
10680
10680
  }
10681
10681
  const attrs = {
10682
10682
  cidr_blocks: {
@@ -10985,7 +10985,7 @@ export class SecurityGroupEgressList extends cdktn.ComplexList {
10985
10985
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
10986
10986
  */
10987
10987
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
10988
- super(terraformResource, terraformAttribute, wrapsSet)
10988
+ super(terraformResource, terraformAttribute, wrapsSet);
10989
10989
  }
10990
10990
 
10991
10991
  /**
@@ -11037,7 +11037,7 @@ export interface SecurityGroupIngress {
11037
11037
  export function securityGroupIngressToTerraform(struct?: SecurityGroupIngress | cdktn.IResolvable): any {
11038
11038
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
11039
11039
  if (cdktn.isComplexElement(struct)) {
11040
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
11040
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
11041
11041
  }
11042
11042
  return {
11043
11043
  cidr_blocks: struct!.cidrBlocks === undefined ? null : cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.cidrBlocks),
@@ -11056,7 +11056,7 @@ export function securityGroupIngressToTerraform(struct?: SecurityGroupIngress |
11056
11056
  export function securityGroupIngressToHclTerraform(struct?: SecurityGroupIngress | cdktn.IResolvable): any {
11057
11057
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
11058
11058
  if (cdktn.isComplexElement(struct)) {
11059
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
11059
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
11060
11060
  }
11061
11061
  const attrs = {
11062
11062
  cidr_blocks: {
@@ -11365,7 +11365,7 @@ export class SecurityGroupIngressList extends cdktn.ComplexList {
11365
11365
  * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
11366
11366
  */
11367
11367
  constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean) {
11368
- super(terraformResource, terraformAttribute, wrapsSet)
11368
+ super(terraformResource, terraformAttribute, wrapsSet);
11369
11369
  }
11370
11370
 
11371
11371
  /**
@@ -11389,7 +11389,7 @@ export interface SecurityGroupTimeouts {
11389
11389
  export function securityGroupTimeoutsToTerraform(struct?: SecurityGroupTimeouts | cdktn.IResolvable): any {
11390
11390
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
11391
11391
  if (cdktn.isComplexElement(struct)) {
11392
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
11392
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
11393
11393
  }
11394
11394
  return {
11395
11395
  create: cdktn.stringToTerraform(struct!.create),
@@ -11401,7 +11401,7 @@ export function securityGroupTimeoutsToTerraform(struct?: SecurityGroupTimeouts
11401
11401
  export function securityGroupTimeoutsToHclTerraform(struct?: SecurityGroupTimeouts | cdktn.IResolvable): any {
11402
11402
  if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
11403
11403
  if (cdktn.isComplexElement(struct)) {
11404
- throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
11404
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
11405
11405
  }
11406
11406
  const attrs = {
11407
11407
  create: {