@cdktn/provider-generator 0.24.0-pre.29 → 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.
- package/build/get/generator/emitter/struct-emitter.js +3 -3
- package/package.json +3 -3
- package/src/__tests__/__snapshots__/provider.test.ts.snap +2334 -2334
- package/src/get/__tests__/generator/__snapshots__/complex-computed-types.test.ts.snap +4 -4
- package/src/get/__tests__/generator/__snapshots__/export-sharding.test.ts.snap +3042 -3042
- package/src/get/__tests__/generator/__snapshots__/nested-types.test.ts.snap +6 -6
- package/src/get/__tests__/generator/__snapshots__/provider.test.ts.snap +8 -8
- package/src/get/__tests__/generator/__snapshots__/resource-types.test.ts.snap +106 -106
- package/src/get/__tests__/generator/__snapshots__/skipped-attributes.test.ts.snap +14 -14
- package/src/get/__tests__/generator/__snapshots__/types.test.ts.snap +34 -34
|
@@ -36,7 +36,7 @@ export interface DataAwsQuicksightAnalysisPermissions {
|
|
|
36
36
|
export function dataAwsQuicksightAnalysisPermissionsToTerraform(struct?: DataAwsQuicksightAnalysisPermissions): any {
|
|
37
37
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
38
38
|
if (cdktn.isComplexElement(struct)) {
|
|
39
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
39
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
42
|
}
|
|
@@ -46,7 +46,7 @@ export function dataAwsQuicksightAnalysisPermissionsToTerraform(struct?: DataAws
|
|
|
46
46
|
export function dataAwsQuicksightAnalysisPermissionsToHclTerraform(struct?: DataAwsQuicksightAnalysisPermissions): any {
|
|
47
47
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
48
48
|
if (cdktn.isComplexElement(struct)) {
|
|
49
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
49
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
50
50
|
}
|
|
51
51
|
const attrs = {
|
|
52
52
|
};
|
|
@@ -405,7 +405,7 @@ export interface QuicksightTemplatePermissions {
|
|
|
405
405
|
export function quicksightTemplatePermissionsToTerraform(struct?: QuicksightTemplatePermissions | cdktn.IResolvable): any {
|
|
406
406
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
407
407
|
if (cdktn.isComplexElement(struct)) {
|
|
408
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
408
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
409
409
|
}
|
|
410
410
|
return {
|
|
411
411
|
actions: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.actions),
|
|
@@ -417,7 +417,7 @@ export function quicksightTemplatePermissionsToTerraform(struct?: QuicksightTemp
|
|
|
417
417
|
export function quicksightTemplatePermissionsToHclTerraform(struct?: QuicksightTemplatePermissions | cdktn.IResolvable): any {
|
|
418
418
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
419
419
|
if (cdktn.isComplexElement(struct)) {
|
|
420
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
420
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
421
421
|
}
|
|
422
422
|
const attrs = {
|
|
423
423
|
actions: {
|
|
@@ -548,7 +548,7 @@ export interface QuicksightTemplateSourceEntitySourceAnalysisDataSetReferences {
|
|
|
548
548
|
export function quicksightTemplateSourceEntitySourceAnalysisDataSetReferencesToTerraform(struct?: QuicksightTemplateSourceEntitySourceAnalysisDataSetReferences | cdktn.IResolvable): any {
|
|
549
549
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
550
550
|
if (cdktn.isComplexElement(struct)) {
|
|
551
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
551
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
552
552
|
}
|
|
553
553
|
return {
|
|
554
554
|
data_set_arn: cdktn.stringToTerraform(struct!.dataSetArn),
|
|
@@ -560,7 +560,7 @@ export function quicksightTemplateSourceEntitySourceAnalysisDataSetReferencesToT
|
|
|
560
560
|
export function quicksightTemplateSourceEntitySourceAnalysisDataSetReferencesToHclTerraform(struct?: QuicksightTemplateSourceEntitySourceAnalysisDataSetReferences | cdktn.IResolvable): any {
|
|
561
561
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
562
562
|
if (cdktn.isComplexElement(struct)) {
|
|
563
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
563
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
564
564
|
}
|
|
565
565
|
const attrs = {
|
|
566
566
|
data_set_arn: {
|
|
@@ -693,7 +693,7 @@ export interface QuicksightTemplateSourceEntitySourceAnalysis {
|
|
|
693
693
|
export function quicksightTemplateSourceEntitySourceAnalysisToTerraform(struct?: QuicksightTemplateSourceEntitySourceAnalysisOutputReference | QuicksightTemplateSourceEntitySourceAnalysis): any {
|
|
694
694
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
695
695
|
if (cdktn.isComplexElement(struct)) {
|
|
696
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
696
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
697
697
|
}
|
|
698
698
|
return {
|
|
699
699
|
arn: cdktn.stringToTerraform(struct!.arn),
|
|
@@ -705,7 +705,7 @@ export function quicksightTemplateSourceEntitySourceAnalysisToTerraform(struct?:
|
|
|
705
705
|
export function quicksightTemplateSourceEntitySourceAnalysisToHclTerraform(struct?: QuicksightTemplateSourceEntitySourceAnalysisOutputReference | QuicksightTemplateSourceEntitySourceAnalysis): any {
|
|
706
706
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
707
707
|
if (cdktn.isComplexElement(struct)) {
|
|
708
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
708
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
709
709
|
}
|
|
710
710
|
const attrs = {
|
|
711
711
|
arn: {
|
|
@@ -800,7 +800,7 @@ export interface QuicksightTemplateSourceEntitySourceTemplate {
|
|
|
800
800
|
export function quicksightTemplateSourceEntitySourceTemplateToTerraform(struct?: QuicksightTemplateSourceEntitySourceTemplateOutputReference | QuicksightTemplateSourceEntitySourceTemplate): any {
|
|
801
801
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
802
802
|
if (cdktn.isComplexElement(struct)) {
|
|
803
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
803
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
804
804
|
}
|
|
805
805
|
return {
|
|
806
806
|
arn: cdktn.stringToTerraform(struct!.arn),
|
|
@@ -811,7 +811,7 @@ export function quicksightTemplateSourceEntitySourceTemplateToTerraform(struct?:
|
|
|
811
811
|
export function quicksightTemplateSourceEntitySourceTemplateToHclTerraform(struct?: QuicksightTemplateSourceEntitySourceTemplateOutputReference | QuicksightTemplateSourceEntitySourceTemplate): any {
|
|
812
812
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
813
813
|
if (cdktn.isComplexElement(struct)) {
|
|
814
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
814
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
815
815
|
}
|
|
816
816
|
const attrs = {
|
|
817
817
|
arn: {
|
|
@@ -889,7 +889,7 @@ export interface QuicksightTemplateSourceEntity {
|
|
|
889
889
|
export function quicksightTemplateSourceEntityToTerraform(struct?: QuicksightTemplateSourceEntityOutputReference | QuicksightTemplateSourceEntity): any {
|
|
890
890
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
891
891
|
if (cdktn.isComplexElement(struct)) {
|
|
892
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
892
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
893
893
|
}
|
|
894
894
|
return {
|
|
895
895
|
source_analysis: quicksightTemplateSourceEntitySourceAnalysisToTerraform(struct!.sourceAnalysis),
|
|
@@ -901,7 +901,7 @@ export function quicksightTemplateSourceEntityToTerraform(struct?: QuicksightTem
|
|
|
901
901
|
export function quicksightTemplateSourceEntityToHclTerraform(struct?: QuicksightTemplateSourceEntityOutputReference | QuicksightTemplateSourceEntity): any {
|
|
902
902
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
903
903
|
if (cdktn.isComplexElement(struct)) {
|
|
904
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
904
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
905
905
|
}
|
|
906
906
|
const attrs = {
|
|
907
907
|
source_analysis: {
|
|
@@ -1010,7 +1010,7 @@ export interface QuicksightTemplateTimeouts {
|
|
|
1010
1010
|
export function quicksightTemplateTimeoutsToTerraform(struct?: QuicksightTemplateTimeouts | cdktn.IResolvable): any {
|
|
1011
1011
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1012
1012
|
if (cdktn.isComplexElement(struct)) {
|
|
1013
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1013
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1014
1014
|
}
|
|
1015
1015
|
return {
|
|
1016
1016
|
create: cdktn.stringToTerraform(struct!.create),
|
|
@@ -1023,7 +1023,7 @@ export function quicksightTemplateTimeoutsToTerraform(struct?: QuicksightTemplat
|
|
|
1023
1023
|
export function quicksightTemplateTimeoutsToHclTerraform(struct?: QuicksightTemplateTimeouts | cdktn.IResolvable): any {
|
|
1024
1024
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1025
1025
|
if (cdktn.isComplexElement(struct)) {
|
|
1026
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1026
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1027
1027
|
}
|
|
1028
1028
|
const attrs = {
|
|
1029
1029
|
create: {
|
|
@@ -920,7 +920,7 @@ export interface ComputedComplexEgress {
|
|
|
920
920
|
export function computedComplexEgressToTerraform(struct?: ComputedComplexEgress): any {
|
|
921
921
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
922
922
|
if (cdktn.isComplexElement(struct)) {
|
|
923
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
923
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
924
924
|
}
|
|
925
925
|
return {
|
|
926
926
|
}
|
|
@@ -930,7 +930,7 @@ export function computedComplexEgressToTerraform(struct?: ComputedComplexEgress)
|
|
|
930
930
|
export function computedComplexEgressToHclTerraform(struct?: ComputedComplexEgress): any {
|
|
931
931
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
932
932
|
if (cdktn.isComplexElement(struct)) {
|
|
933
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
933
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
934
934
|
}
|
|
935
935
|
const attrs = {
|
|
936
936
|
};
|
|
@@ -1126,7 +1126,7 @@ export interface ComputedComplexNestedResourcesAutoscalingGroups {
|
|
|
1126
1126
|
export function computedComplexNestedResourcesAutoscalingGroupsToTerraform(struct?: ComputedComplexNestedResourcesAutoscalingGroups): any {
|
|
1127
1127
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1128
1128
|
if (cdktn.isComplexElement(struct)) {
|
|
1129
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1129
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1130
1130
|
}
|
|
1131
1131
|
return {
|
|
1132
1132
|
}
|
|
@@ -1136,7 +1136,7 @@ export function computedComplexNestedResourcesAutoscalingGroupsToTerraform(struc
|
|
|
1136
1136
|
export function computedComplexNestedResourcesAutoscalingGroupsToHclTerraform(struct?: ComputedComplexNestedResourcesAutoscalingGroups): any {
|
|
1137
1137
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1138
1138
|
if (cdktn.isComplexElement(struct)) {
|
|
1139
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1139
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1140
1140
|
}
|
|
1141
1141
|
const attrs = {
|
|
1142
1142
|
};
|
|
@@ -1201,7 +1201,7 @@ export interface ComputedComplexNestedResources {
|
|
|
1201
1201
|
export function computedComplexNestedResourcesToTerraform(struct?: ComputedComplexNestedResources): any {
|
|
1202
1202
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1203
1203
|
if (cdktn.isComplexElement(struct)) {
|
|
1204
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1204
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1205
1205
|
}
|
|
1206
1206
|
return {
|
|
1207
1207
|
}
|
|
@@ -1211,7 +1211,7 @@ export function computedComplexNestedResourcesToTerraform(struct?: ComputedCompl
|
|
|
1211
1211
|
export function computedComplexNestedResourcesToHclTerraform(struct?: ComputedComplexNestedResources): any {
|
|
1212
1212
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1213
1213
|
if (cdktn.isComplexElement(struct)) {
|
|
1214
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1214
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1215
1215
|
}
|
|
1216
1216
|
const attrs = {
|
|
1217
1217
|
};
|
|
@@ -1379,7 +1379,7 @@ export interface BlockTypeNestedComputedListInputsStartingPositionConfiguration
|
|
|
1379
1379
|
export function blockTypeNestedComputedListInputsStartingPositionConfigurationToTerraform(struct?: BlockTypeNestedComputedListInputsStartingPositionConfiguration): any {
|
|
1380
1380
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1381
1381
|
if (cdktn.isComplexElement(struct)) {
|
|
1382
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1382
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1383
1383
|
}
|
|
1384
1384
|
return {
|
|
1385
1385
|
}
|
|
@@ -1389,7 +1389,7 @@ export function blockTypeNestedComputedListInputsStartingPositionConfigurationTo
|
|
|
1389
1389
|
export function blockTypeNestedComputedListInputsStartingPositionConfigurationToHclTerraform(struct?: BlockTypeNestedComputedListInputsStartingPositionConfiguration): any {
|
|
1390
1390
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1391
1391
|
if (cdktn.isComplexElement(struct)) {
|
|
1392
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1392
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1393
1393
|
}
|
|
1394
1394
|
const attrs = {
|
|
1395
1395
|
};
|
|
@@ -1458,7 +1458,7 @@ export interface BlockTypeNestedComputedListInputs {
|
|
|
1458
1458
|
export function blockTypeNestedComputedListInputsToTerraform(struct?: BlockTypeNestedComputedListInputs | cdktn.IResolvable): any {
|
|
1459
1459
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1460
1460
|
if (cdktn.isComplexElement(struct)) {
|
|
1461
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1461
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1462
1462
|
}
|
|
1463
1463
|
return {
|
|
1464
1464
|
name_prefix: cdktn.stringToTerraform(struct!.namePrefix),
|
|
@@ -1469,7 +1469,7 @@ export function blockTypeNestedComputedListInputsToTerraform(struct?: BlockTypeN
|
|
|
1469
1469
|
export function blockTypeNestedComputedListInputsToHclTerraform(struct?: BlockTypeNestedComputedListInputs | cdktn.IResolvable): any {
|
|
1470
1470
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1471
1471
|
if (cdktn.isComplexElement(struct)) {
|
|
1472
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1472
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1473
1473
|
}
|
|
1474
1474
|
const attrs = {
|
|
1475
1475
|
name_prefix: {
|
|
@@ -1734,7 +1734,7 @@ export interface ComputedOptionalComplexEgress {
|
|
|
1734
1734
|
export function computedOptionalComplexEgressToTerraform(struct?: ComputedOptionalComplexEgress | cdktn.IResolvable): any {
|
|
1735
1735
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1736
1736
|
if (cdktn.isComplexElement(struct)) {
|
|
1737
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1737
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1738
1738
|
}
|
|
1739
1739
|
return {
|
|
1740
1740
|
cidr_blocks: cdktn.listMapper(cdktn.stringToTerraform, false)(struct!.cidrBlocks),
|
|
@@ -1753,7 +1753,7 @@ export function computedOptionalComplexEgressToTerraform(struct?: ComputedOption
|
|
|
1753
1753
|
export function computedOptionalComplexEgressToHclTerraform(struct?: ComputedOptionalComplexEgress | cdktn.IResolvable): any {
|
|
1754
1754
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
1755
1755
|
if (cdktn.isComplexElement(struct)) {
|
|
1756
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
1756
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
1757
1757
|
}
|
|
1758
1758
|
const attrs = {
|
|
1759
1759
|
cidr_blocks: {
|
|
@@ -2199,7 +2199,7 @@ export interface DeeplyNestedBlockTypesLifecycleRuleExpiration {
|
|
|
2199
2199
|
export function deeplyNestedBlockTypesLifecycleRuleExpirationToTerraform(struct?: DeeplyNestedBlockTypesLifecycleRuleExpirationOutputReference | DeeplyNestedBlockTypesLifecycleRuleExpiration): any {
|
|
2200
2200
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
2201
2201
|
if (cdktn.isComplexElement(struct)) {
|
|
2202
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
2202
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
2203
2203
|
}
|
|
2204
2204
|
return {
|
|
2205
2205
|
date: cdktn.stringToTerraform(struct!.date),
|
|
@@ -2210,7 +2210,7 @@ export function deeplyNestedBlockTypesLifecycleRuleExpirationToTerraform(struct?
|
|
|
2210
2210
|
export function deeplyNestedBlockTypesLifecycleRuleExpirationToHclTerraform(struct?: DeeplyNestedBlockTypesLifecycleRuleExpirationOutputReference | DeeplyNestedBlockTypesLifecycleRuleExpiration): any {
|
|
2211
2211
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
2212
2212
|
if (cdktn.isComplexElement(struct)) {
|
|
2213
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
2213
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
2214
2214
|
}
|
|
2215
2215
|
const attrs = {
|
|
2216
2216
|
date: {
|
|
@@ -2289,7 +2289,7 @@ export interface DeeplyNestedBlockTypesLifecycleRule {
|
|
|
2289
2289
|
export function deeplyNestedBlockTypesLifecycleRuleToTerraform(struct?: DeeplyNestedBlockTypesLifecycleRule | cdktn.IResolvable): any {
|
|
2290
2290
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
2291
2291
|
if (cdktn.isComplexElement(struct)) {
|
|
2292
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
2292
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
2293
2293
|
}
|
|
2294
2294
|
return {
|
|
2295
2295
|
abort_incomplete_multipart_upload_days: cdktn.numberToTerraform(struct!.abortIncompleteMultipartUploadDays),
|
|
@@ -2301,7 +2301,7 @@ export function deeplyNestedBlockTypesLifecycleRuleToTerraform(struct?: DeeplyNe
|
|
|
2301
2301
|
export function deeplyNestedBlockTypesLifecycleRuleToHclTerraform(struct?: DeeplyNestedBlockTypesLifecycleRule | cdktn.IResolvable): any {
|
|
2302
2302
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
2303
2303
|
if (cdktn.isComplexElement(struct)) {
|
|
2304
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
2304
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
2305
2305
|
}
|
|
2306
2306
|
const attrs = {
|
|
2307
2307
|
abort_incomplete_multipart_upload_days: {
|
|
@@ -3710,7 +3710,7 @@ export interface ComplexLl {
|
|
|
3710
3710
|
export function complexLlToTerraform(struct?: ComplexLl): any {
|
|
3711
3711
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
3712
3712
|
if (cdktn.isComplexElement(struct)) {
|
|
3713
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
3713
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
3714
3714
|
}
|
|
3715
3715
|
return {
|
|
3716
3716
|
}
|
|
@@ -3720,7 +3720,7 @@ export function complexLlToTerraform(struct?: ComplexLl): any {
|
|
|
3720
3720
|
export function complexLlToHclTerraform(struct?: ComplexLl): any {
|
|
3721
3721
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
3722
3722
|
if (cdktn.isComplexElement(struct)) {
|
|
3723
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
3723
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
3724
3724
|
}
|
|
3725
3725
|
const attrs = {
|
|
3726
3726
|
};
|
|
@@ -3809,7 +3809,7 @@ export interface ComplexLs {
|
|
|
3809
3809
|
export function complexLsToTerraform(struct?: ComplexLs): any {
|
|
3810
3810
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
3811
3811
|
if (cdktn.isComplexElement(struct)) {
|
|
3812
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
3812
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
3813
3813
|
}
|
|
3814
3814
|
return {
|
|
3815
3815
|
}
|
|
@@ -3819,7 +3819,7 @@ export function complexLsToTerraform(struct?: ComplexLs): any {
|
|
|
3819
3819
|
export function complexLsToHclTerraform(struct?: ComplexLs): any {
|
|
3820
3820
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
3821
3821
|
if (cdktn.isComplexElement(struct)) {
|
|
3822
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
3822
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
3823
3823
|
}
|
|
3824
3824
|
const attrs = {
|
|
3825
3825
|
};
|
|
@@ -3908,7 +3908,7 @@ export interface ComplexSl {
|
|
|
3908
3908
|
export function complexSlToTerraform(struct?: ComplexSl): any {
|
|
3909
3909
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
3910
3910
|
if (cdktn.isComplexElement(struct)) {
|
|
3911
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
3911
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
3912
3912
|
}
|
|
3913
3913
|
return {
|
|
3914
3914
|
}
|
|
@@ -3918,7 +3918,7 @@ export function complexSlToTerraform(struct?: ComplexSl): any {
|
|
|
3918
3918
|
export function complexSlToHclTerraform(struct?: ComplexSl): any {
|
|
3919
3919
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
3920
3920
|
if (cdktn.isComplexElement(struct)) {
|
|
3921
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
3921
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
3922
3922
|
}
|
|
3923
3923
|
const attrs = {
|
|
3924
3924
|
};
|
|
@@ -4007,7 +4007,7 @@ export interface ComplexSs {
|
|
|
4007
4007
|
export function complexSsToTerraform(struct?: ComplexSs): any {
|
|
4008
4008
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
4009
4009
|
if (cdktn.isComplexElement(struct)) {
|
|
4010
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
4010
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
4011
4011
|
}
|
|
4012
4012
|
return {
|
|
4013
4013
|
}
|
|
@@ -4017,7 +4017,7 @@ export function complexSsToTerraform(struct?: ComplexSs): any {
|
|
|
4017
4017
|
export function complexSsToHclTerraform(struct?: ComplexSs): any {
|
|
4018
4018
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
4019
4019
|
if (cdktn.isComplexElement(struct)) {
|
|
4020
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
4020
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
4021
4021
|
}
|
|
4022
4022
|
const attrs = {
|
|
4023
4023
|
};
|
|
@@ -4221,7 +4221,7 @@ export interface DataAirbyteSourceSchemaCatalogSyncCatalogSourceSchema {
|
|
|
4221
4221
|
export function dataAirbyteSourceSchemaCatalogSyncCatalogSourceSchemaToTerraform(struct?: DataAirbyteSourceSchemaCatalogSyncCatalogSourceSchema): any {
|
|
4222
4222
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
4223
4223
|
if (cdktn.isComplexElement(struct)) {
|
|
4224
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
4224
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
4225
4225
|
}
|
|
4226
4226
|
return {
|
|
4227
4227
|
}
|
|
@@ -4231,7 +4231,7 @@ export function dataAirbyteSourceSchemaCatalogSyncCatalogSourceSchemaToTerraform
|
|
|
4231
4231
|
export function dataAirbyteSourceSchemaCatalogSyncCatalogSourceSchemaToHclTerraform(struct?: DataAirbyteSourceSchemaCatalogSyncCatalogSourceSchema): any {
|
|
4232
4232
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
4233
4233
|
if (cdktn.isComplexElement(struct)) {
|
|
4234
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
4234
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
4235
4235
|
}
|
|
4236
4236
|
const attrs = {
|
|
4237
4237
|
};
|
|
@@ -4276,7 +4276,7 @@ export interface DataAirbyteSourceSchemaCatalogSyncCatalog {
|
|
|
4276
4276
|
export function dataAirbyteSourceSchemaCatalogSyncCatalogToTerraform(struct?: DataAirbyteSourceSchemaCatalogSyncCatalog): any {
|
|
4277
4277
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
4278
4278
|
if (cdktn.isComplexElement(struct)) {
|
|
4279
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
4279
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
4280
4280
|
}
|
|
4281
4281
|
return {
|
|
4282
4282
|
}
|
|
@@ -4286,7 +4286,7 @@ export function dataAirbyteSourceSchemaCatalogSyncCatalogToTerraform(struct?: Da
|
|
|
4286
4286
|
export function dataAirbyteSourceSchemaCatalogSyncCatalogToHclTerraform(struct?: DataAirbyteSourceSchemaCatalogSyncCatalog): any {
|
|
4287
4287
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
4288
4288
|
if (cdktn.isComplexElement(struct)) {
|
|
4289
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
4289
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
4290
4290
|
}
|
|
4291
4291
|
const attrs = {
|
|
4292
4292
|
};
|
|
@@ -6003,7 +6003,7 @@ export interface BlockTypeSetListTimeoutsSet {
|
|
|
6003
6003
|
export function blockTypeSetListTimeoutsSetToTerraform(struct?: BlockTypeSetListTimeoutsSet | cdktn.IResolvable): any {
|
|
6004
6004
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
6005
6005
|
if (cdktn.isComplexElement(struct)) {
|
|
6006
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
6006
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
6007
6007
|
}
|
|
6008
6008
|
return {
|
|
6009
6009
|
create: cdktn.stringToTerraform(struct!.create),
|
|
@@ -6014,7 +6014,7 @@ export function blockTypeSetListTimeoutsSetToTerraform(struct?: BlockTypeSetList
|
|
|
6014
6014
|
export function blockTypeSetListTimeoutsSetToHclTerraform(struct?: BlockTypeSetListTimeoutsSet | cdktn.IResolvable): any {
|
|
6015
6015
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
6016
6016
|
if (cdktn.isComplexElement(struct)) {
|
|
6017
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
6017
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
6018
6018
|
}
|
|
6019
6019
|
const attrs = {
|
|
6020
6020
|
create: {
|
|
@@ -6119,7 +6119,7 @@ export interface BlockTypeSetListTimeoutsListStruct {
|
|
|
6119
6119
|
export function blockTypeSetListTimeoutsListStructToTerraform(struct?: BlockTypeSetListTimeoutsListStruct | cdktn.IResolvable): any {
|
|
6120
6120
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
6121
6121
|
if (cdktn.isComplexElement(struct)) {
|
|
6122
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
6122
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
6123
6123
|
}
|
|
6124
6124
|
return {
|
|
6125
6125
|
create: cdktn.stringToTerraform(struct!.create),
|
|
@@ -6130,7 +6130,7 @@ export function blockTypeSetListTimeoutsListStructToTerraform(struct?: BlockType
|
|
|
6130
6130
|
export function blockTypeSetListTimeoutsListStructToHclTerraform(struct?: BlockTypeSetListTimeoutsListStruct | cdktn.IResolvable): any {
|
|
6131
6131
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
6132
6132
|
if (cdktn.isComplexElement(struct)) {
|
|
6133
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
6133
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
6134
6134
|
}
|
|
6135
6135
|
const attrs = {
|
|
6136
6136
|
create: {
|
|
@@ -6376,7 +6376,7 @@ export interface SingleBlockTypeTimeouts {
|
|
|
6376
6376
|
export function singleBlockTypeTimeoutsToTerraform(struct?: SingleBlockTypeTimeouts | cdktn.IResolvable): any {
|
|
6377
6377
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
6378
6378
|
if (cdktn.isComplexElement(struct)) {
|
|
6379
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
6379
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
6380
6380
|
}
|
|
6381
6381
|
return {
|
|
6382
6382
|
create: cdktn.stringToTerraform(struct!.create),
|
|
@@ -6387,7 +6387,7 @@ export function singleBlockTypeTimeoutsToTerraform(struct?: SingleBlockTypeTimeo
|
|
|
6387
6387
|
export function singleBlockTypeTimeoutsToHclTerraform(struct?: SingleBlockTypeTimeouts | cdktn.IResolvable): any {
|
|
6388
6388
|
if (!cdktn.canInspect(struct) || cdktn.Tokenization.isResolvable(struct)) { return struct; }
|
|
6389
6389
|
if (cdktn.isComplexElement(struct)) {
|
|
6390
|
-
throw new Error("A complex element was used as configuration, this is not supported: https://
|
|
6390
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdktn.io/docs/concepts/resources#references");
|
|
6391
6391
|
}
|
|
6392
6392
|
const attrs = {
|
|
6393
6393
|
create: {
|