-
Notifications
You must be signed in to change notification settings - Fork 113
/
zz_endpoint_types.go
executable file
·1491 lines (1060 loc) · 93.7 KB
/
zz_endpoint_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
//
// SPDX-License-Identifier: Apache-2.0
// Code generated by upjet. DO NOT EDIT.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
)
type ElasticsearchSettingsInitParameters struct {
// Endpoint for the OpenSearch cluster.
EndpointURI *string `json:"endpointUri,omitempty" tf:"endpoint_uri,omitempty"`
// Maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster. Default is 300.
ErrorRetryDuration *float64 `json:"errorRetryDuration,omitempty" tf:"error_retry_duration,omitempty"`
// Maximum percentage of records that can fail to be written before a full load operation stops. Default is 10.
FullLoadErrorPercentage *float64 `json:"fullLoadErrorPercentage,omitempty" tf:"full_load_error_percentage,omitempty"`
// ARN of the IAM Role with permissions to write to the OpenSearch cluster.
ServiceAccessRoleArn *string `json:"serviceAccessRoleArn,omitempty" tf:"service_access_role_arn,omitempty"`
// Enable to migrate documentation using the documentation type _doc. OpenSearch and an Elasticsearch clusters only support the _doc documentation type in versions 7.x and later. The default value is false.
UseNewMappingType *bool `json:"useNewMappingType,omitempty" tf:"use_new_mapping_type,omitempty"`
}
type ElasticsearchSettingsObservation struct {
// Endpoint for the OpenSearch cluster.
EndpointURI *string `json:"endpointUri,omitempty" tf:"endpoint_uri,omitempty"`
// Maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster. Default is 300.
ErrorRetryDuration *float64 `json:"errorRetryDuration,omitempty" tf:"error_retry_duration,omitempty"`
// Maximum percentage of records that can fail to be written before a full load operation stops. Default is 10.
FullLoadErrorPercentage *float64 `json:"fullLoadErrorPercentage,omitempty" tf:"full_load_error_percentage,omitempty"`
// ARN of the IAM Role with permissions to write to the OpenSearch cluster.
ServiceAccessRoleArn *string `json:"serviceAccessRoleArn,omitempty" tf:"service_access_role_arn,omitempty"`
// Enable to migrate documentation using the documentation type _doc. OpenSearch and an Elasticsearch clusters only support the _doc documentation type in versions 7.x and later. The default value is false.
UseNewMappingType *bool `json:"useNewMappingType,omitempty" tf:"use_new_mapping_type,omitempty"`
}
type ElasticsearchSettingsParameters struct {
// Endpoint for the OpenSearch cluster.
// +kubebuilder:validation:Optional
EndpointURI *string `json:"endpointUri" tf:"endpoint_uri,omitempty"`
// Maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster. Default is 300.
// +kubebuilder:validation:Optional
ErrorRetryDuration *float64 `json:"errorRetryDuration,omitempty" tf:"error_retry_duration,omitempty"`
// Maximum percentage of records that can fail to be written before a full load operation stops. Default is 10.
// +kubebuilder:validation:Optional
FullLoadErrorPercentage *float64 `json:"fullLoadErrorPercentage,omitempty" tf:"full_load_error_percentage,omitempty"`
// ARN of the IAM Role with permissions to write to the OpenSearch cluster.
// +kubebuilder:validation:Optional
ServiceAccessRoleArn *string `json:"serviceAccessRoleArn" tf:"service_access_role_arn,omitempty"`
// Enable to migrate documentation using the documentation type _doc. OpenSearch and an Elasticsearch clusters only support the _doc documentation type in versions 7.x and later. The default value is false.
// +kubebuilder:validation:Optional
UseNewMappingType *bool `json:"useNewMappingType,omitempty" tf:"use_new_mapping_type,omitempty"`
}
type EndpointInitParameters struct {
// ARN for the certificate.
CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"`
// Name of the endpoint database.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// Configuration block for OpenSearch settings. See below.
ElasticsearchSettings []ElasticsearchSettingsInitParameters `json:"elasticsearchSettings,omitempty" tf:"elasticsearch_settings,omitempty"`
// Type of endpoint. Valid values are source, target.
EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"`
// Type of engine for the endpoint. Valid values are aurora, aurora-postgresql, azuredb, azure-sql-managed-instance, babelfish, db2, db2-zos, docdb, dynamodb, elasticsearch, kafka, kinesis, mariadb, mongodb, mysql, opensearch, oracle, postgres, redshift, s3, sqlserver, sybase. Please note that some of engine names are available only for target endpoint type (e.g. redshift).
EngineName *string `json:"engineName,omitempty" tf:"engine_name,omitempty"`
// Additional attributes associated with the connection. For available attributes for a source Endpoint, see Sources for data migration. For available attributes for a target Endpoint, see Targets for data migration.
ExtraConnectionAttributes *string `json:"extraConnectionAttributes,omitempty" tf:"extra_connection_attributes,omitempty"`
// ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kms_key_arn, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. To encrypt an S3 target with a KMS Key, use the parameter s3_settings.server_side_encryption_kms_key_id. When engine_name is redshift, kms_key_arn is the KMS Key for the Redshift target and the parameter redshift_settings.server_side_encryption_kms_key_id encrypts the S3 intermediate storage.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
// Reference to a Key in kms to populate kmsKeyArn.
// +kubebuilder:validation:Optional
KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"`
// Selector for a Key in kms to populate kmsKeyArn.
// +kubebuilder:validation:Optional
KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"`
// Configuration block for Kafka settings. See below.
KafkaSettings []KafkaSettingsInitParameters `json:"kafkaSettings,omitempty" tf:"kafka_settings,omitempty"`
// Configuration block for Kinesis settings. See below.
KinesisSettings []KinesisSettingsInitParameters `json:"kinesisSettings,omitempty" tf:"kinesis_settings,omitempty"`
// Configuration block for MongoDB settings. See below.
MongodbSettings []MongodbSettingsInitParameters `json:"mongodbSettings,omitempty" tf:"mongodb_settings,omitempty"`
// Only tasks paused by the resource will be restarted after the modification completes. Default is false.
PauseReplicationTasks *bool `json:"pauseReplicationTasks,omitempty" tf:"pause_replication_tasks,omitempty"`
// Port used by the endpoint database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Configuration block for Postgres settings. See below.
PostgresSettings []PostgresSettingsInitParameters `json:"postgresSettings,omitempty" tf:"postgres_settings,omitempty"`
RedisSettings []RedisSettingsInitParameters `json:"redisSettings,omitempty" tf:"redis_settings,omitempty"`
// Configuration block for Redshift settings. See below.
RedshiftSettings []RedshiftSettingsInitParameters `json:"redshiftSettings,omitempty" tf:"redshift_settings,omitempty"`
// (Deprecated, use the aws_dms_s3_endpoint resource instead) Configuration block for S3 settings. See below.
// This argument is deprecated and will be removed in a future version; use aws_dms_s3_endpoint instead
S3Settings []S3SettingsInitParameters `json:"s3Settings,omitempty" tf:"s3_settings,omitempty"`
// SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full
SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"`
// ARN of the IAM role that specifies AWS DMS as the trusted entity and has the required permissions to access the value in SecretsManagerSecret.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn,omitempty" tf:"secrets_manager_access_role_arn,omitempty"`
// Reference to a Role in iam to populate secretsManagerAccessRoleArn.
// +kubebuilder:validation:Optional
SecretsManagerAccessRoleArnRef *v1.Reference `json:"secretsManagerAccessRoleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate secretsManagerAccessRoleArn.
// +kubebuilder:validation:Optional
SecretsManagerAccessRoleArnSelector *v1.Selector `json:"secretsManagerAccessRoleArnSelector,omitempty" tf:"-"`
// Full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the endpoint connection details. Supported only when engine_name is aurora, aurora-postgresql, mariadb, mongodb, mysql, oracle, postgres, redshift, or sqlserver.
SecretsManagerArn *string `json:"secretsManagerArn,omitempty" tf:"secrets_manager_arn,omitempty"`
// Host name of the server.
ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
// ARN used by the service access IAM role for dynamodb endpoints.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
ServiceAccessRole *string `json:"serviceAccessRole,omitempty" tf:"service_access_role,omitempty"`
// Reference to a Role in iam to populate serviceAccessRole.
// +kubebuilder:validation:Optional
ServiceAccessRoleRef *v1.Reference `json:"serviceAccessRoleRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate serviceAccessRole.
// +kubebuilder:validation:Optional
ServiceAccessRoleSelector *v1.Selector `json:"serviceAccessRoleSelector,omitempty" tf:"-"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// User name to be used to login to the endpoint database.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type EndpointObservation struct {
// ARN for the certificate.
CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"`
// Name of the endpoint database.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// Configuration block for OpenSearch settings. See below.
ElasticsearchSettings []ElasticsearchSettingsObservation `json:"elasticsearchSettings,omitempty" tf:"elasticsearch_settings,omitempty"`
// ARN for the endpoint.
EndpointArn *string `json:"endpointArn,omitempty" tf:"endpoint_arn,omitempty"`
// Type of endpoint. Valid values are source, target.
EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"`
// Type of engine for the endpoint. Valid values are aurora, aurora-postgresql, azuredb, azure-sql-managed-instance, babelfish, db2, db2-zos, docdb, dynamodb, elasticsearch, kafka, kinesis, mariadb, mongodb, mysql, opensearch, oracle, postgres, redshift, s3, sqlserver, sybase. Please note that some of engine names are available only for target endpoint type (e.g. redshift).
EngineName *string `json:"engineName,omitempty" tf:"engine_name,omitempty"`
// Additional attributes associated with the connection. For available attributes for a source Endpoint, see Sources for data migration. For available attributes for a target Endpoint, see Targets for data migration.
ExtraConnectionAttributes *string `json:"extraConnectionAttributes,omitempty" tf:"extra_connection_attributes,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kms_key_arn, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. To encrypt an S3 target with a KMS Key, use the parameter s3_settings.server_side_encryption_kms_key_id. When engine_name is redshift, kms_key_arn is the KMS Key for the Redshift target and the parameter redshift_settings.server_side_encryption_kms_key_id encrypts the S3 intermediate storage.
KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
// Configuration block for Kafka settings. See below.
KafkaSettings []KafkaSettingsObservation `json:"kafkaSettings,omitempty" tf:"kafka_settings,omitempty"`
// Configuration block for Kinesis settings. See below.
KinesisSettings []KinesisSettingsObservation `json:"kinesisSettings,omitempty" tf:"kinesis_settings,omitempty"`
// Configuration block for MongoDB settings. See below.
MongodbSettings []MongodbSettingsObservation `json:"mongodbSettings,omitempty" tf:"mongodb_settings,omitempty"`
// Only tasks paused by the resource will be restarted after the modification completes. Default is false.
PauseReplicationTasks *bool `json:"pauseReplicationTasks,omitempty" tf:"pause_replication_tasks,omitempty"`
// Port used by the endpoint database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Configuration block for Postgres settings. See below.
PostgresSettings []PostgresSettingsObservation `json:"postgresSettings,omitempty" tf:"postgres_settings,omitempty"`
RedisSettings []RedisSettingsObservation `json:"redisSettings,omitempty" tf:"redis_settings,omitempty"`
// Configuration block for Redshift settings. See below.
RedshiftSettings []RedshiftSettingsObservation `json:"redshiftSettings,omitempty" tf:"redshift_settings,omitempty"`
// (Deprecated, use the aws_dms_s3_endpoint resource instead) Configuration block for S3 settings. See below.
// This argument is deprecated and will be removed in a future version; use aws_dms_s3_endpoint instead
S3Settings []S3SettingsObservation `json:"s3Settings,omitempty" tf:"s3_settings,omitempty"`
// SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full
SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"`
// ARN of the IAM role that specifies AWS DMS as the trusted entity and has the required permissions to access the value in SecretsManagerSecret.
SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn,omitempty" tf:"secrets_manager_access_role_arn,omitempty"`
// Full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the endpoint connection details. Supported only when engine_name is aurora, aurora-postgresql, mariadb, mongodb, mysql, oracle, postgres, redshift, or sqlserver.
SecretsManagerArn *string `json:"secretsManagerArn,omitempty" tf:"secrets_manager_arn,omitempty"`
// Host name of the server.
ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
// ARN used by the service access IAM role for dynamodb endpoints.
ServiceAccessRole *string `json:"serviceAccessRole,omitempty" tf:"service_access_role,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
// +mapType=granular
TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
// User name to be used to login to the endpoint database.
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type EndpointParameters struct {
// ARN for the certificate.
// +kubebuilder:validation:Optional
CertificateArn *string `json:"certificateArn,omitempty" tf:"certificate_arn,omitempty"`
// Name of the endpoint database.
// +kubebuilder:validation:Optional
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// Configuration block for OpenSearch settings. See below.
// +kubebuilder:validation:Optional
ElasticsearchSettings []ElasticsearchSettingsParameters `json:"elasticsearchSettings,omitempty" tf:"elasticsearch_settings,omitempty"`
// Type of endpoint. Valid values are source, target.
// +kubebuilder:validation:Optional
EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"`
// Type of engine for the endpoint. Valid values are aurora, aurora-postgresql, azuredb, azure-sql-managed-instance, babelfish, db2, db2-zos, docdb, dynamodb, elasticsearch, kafka, kinesis, mariadb, mongodb, mysql, opensearch, oracle, postgres, redshift, s3, sqlserver, sybase. Please note that some of engine names are available only for target endpoint type (e.g. redshift).
// +kubebuilder:validation:Optional
EngineName *string `json:"engineName,omitempty" tf:"engine_name,omitempty"`
// Additional attributes associated with the connection. For available attributes for a source Endpoint, see Sources for data migration. For available attributes for a target Endpoint, see Targets for data migration.
// +kubebuilder:validation:Optional
ExtraConnectionAttributes *string `json:"extraConnectionAttributes,omitempty" tf:"extra_connection_attributes,omitempty"`
// ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kms_key_arn, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region. To encrypt an S3 target with a KMS Key, use the parameter s3_settings.server_side_encryption_kms_key_id. When engine_name is redshift, kms_key_arn is the KMS Key for the Redshift target and the parameter redshift_settings.server_side_encryption_kms_key_id encrypts the S3 intermediate storage.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
// +kubebuilder:validation:Optional
KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
// Reference to a Key in kms to populate kmsKeyArn.
// +kubebuilder:validation:Optional
KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"`
// Selector for a Key in kms to populate kmsKeyArn.
// +kubebuilder:validation:Optional
KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"`
// Configuration block for Kafka settings. See below.
// +kubebuilder:validation:Optional
KafkaSettings []KafkaSettingsParameters `json:"kafkaSettings,omitempty" tf:"kafka_settings,omitempty"`
// Configuration block for Kinesis settings. See below.
// +kubebuilder:validation:Optional
KinesisSettings []KinesisSettingsParameters `json:"kinesisSettings,omitempty" tf:"kinesis_settings,omitempty"`
// Configuration block for MongoDB settings. See below.
// +kubebuilder:validation:Optional
MongodbSettings []MongodbSettingsParameters `json:"mongodbSettings,omitempty" tf:"mongodb_settings,omitempty"`
// Password to be used to login to the endpoint database.
// +kubebuilder:validation:Optional
PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`
// Only tasks paused by the resource will be restarted after the modification completes. Default is false.
// +kubebuilder:validation:Optional
PauseReplicationTasks *bool `json:"pauseReplicationTasks,omitempty" tf:"pause_replication_tasks,omitempty"`
// Port used by the endpoint database.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// Configuration block for Postgres settings. See below.
// +kubebuilder:validation:Optional
PostgresSettings []PostgresSettingsParameters `json:"postgresSettings,omitempty" tf:"postgres_settings,omitempty"`
// +kubebuilder:validation:Optional
RedisSettings []RedisSettingsParameters `json:"redisSettings,omitempty" tf:"redis_settings,omitempty"`
// Configuration block for Redshift settings. See below.
// +kubebuilder:validation:Optional
RedshiftSettings []RedshiftSettingsParameters `json:"redshiftSettings,omitempty" tf:"redshift_settings,omitempty"`
// Region is the region you'd like your resource to be created in.
// +upjet:crd:field:TFTag=-
// +kubebuilder:validation:Required
Region *string `json:"region" tf:"-"`
// (Deprecated, use the aws_dms_s3_endpoint resource instead) Configuration block for S3 settings. See below.
// This argument is deprecated and will be removed in a future version; use aws_dms_s3_endpoint instead
// +kubebuilder:validation:Optional
S3Settings []S3SettingsParameters `json:"s3Settings,omitempty" tf:"s3_settings,omitempty"`
// SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full
// +kubebuilder:validation:Optional
SSLMode *string `json:"sslMode,omitempty" tf:"ssl_mode,omitempty"`
// ARN of the IAM role that specifies AWS DMS as the trusted entity and has the required permissions to access the value in SecretsManagerSecret.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
// +kubebuilder:validation:Optional
SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn,omitempty" tf:"secrets_manager_access_role_arn,omitempty"`
// Reference to a Role in iam to populate secretsManagerAccessRoleArn.
// +kubebuilder:validation:Optional
SecretsManagerAccessRoleArnRef *v1.Reference `json:"secretsManagerAccessRoleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate secretsManagerAccessRoleArn.
// +kubebuilder:validation:Optional
SecretsManagerAccessRoleArnSelector *v1.Selector `json:"secretsManagerAccessRoleArnSelector,omitempty" tf:"-"`
// Full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the endpoint connection details. Supported only when engine_name is aurora, aurora-postgresql, mariadb, mongodb, mysql, oracle, postgres, redshift, or sqlserver.
// +kubebuilder:validation:Optional
SecretsManagerArn *string `json:"secretsManagerArn,omitempty" tf:"secrets_manager_arn,omitempty"`
// Host name of the server.
// +kubebuilder:validation:Optional
ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
// ARN used by the service access IAM role for dynamodb endpoints.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
// +kubebuilder:validation:Optional
ServiceAccessRole *string `json:"serviceAccessRole,omitempty" tf:"service_access_role,omitempty"`
// Reference to a Role in iam to populate serviceAccessRole.
// +kubebuilder:validation:Optional
ServiceAccessRoleRef *v1.Reference `json:"serviceAccessRoleRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate serviceAccessRole.
// +kubebuilder:validation:Optional
ServiceAccessRoleSelector *v1.Selector `json:"serviceAccessRoleSelector,omitempty" tf:"-"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// User name to be used to login to the endpoint database.
// +kubebuilder:validation:Optional
Username *string `json:"username,omitempty" tf:"username,omitempty"`
}
type KafkaSettingsInitParameters struct {
// Kafka broker location. Specify in the form broker-hostname-or-ip:port.
Broker *string `json:"broker,omitempty" tf:"broker,omitempty"`
// Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. Default is false.
IncludeControlDetails *bool `json:"includeControlDetails,omitempty" tf:"include_control_details,omitempty"`
// Include NULL and empty columns for records migrated to the endpoint. Default is false.
IncludeNullAndEmpty *bool `json:"includeNullAndEmpty,omitempty" tf:"include_null_and_empty,omitempty"`
// Shows the partition value within the Kafka message output unless the partition type is schema-table-type. Default is false.
IncludePartitionValue *bool `json:"includePartitionValue,omitempty" tf:"include_partition_value,omitempty"`
// Includes any data definition language (DDL) operations that change the table in the control data, such as rename-table, drop-table, add-column, drop-column, and rename-column. Default is false.
IncludeTableAlterOperations *bool `json:"includeTableAlterOperations,omitempty" tf:"include_table_alter_operations,omitempty"`
// Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). Default is false.
IncludeTransactionDetails *bool `json:"includeTransactionDetails,omitempty" tf:"include_transaction_details,omitempty"`
// Output format for the records created on the endpoint. Message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).
MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"`
// Maximum size in bytes for records created on the endpoint Default is 1,000,000.
MessageMaxBytes *float64 `json:"messageMaxBytes,omitempty" tf:"message_max_bytes,omitempty"`
// Set this optional parameter to true to avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, AWS DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to a Kafka target. Use the no_hex_prefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.
NoHexPrefix *bool `json:"noHexPrefix,omitempty" tf:"no_hex_prefix,omitempty"`
// Prefixes schema and table names to partition values, when the partition type is primary-key-type. Doing this increases data distribution among Kafka partitions. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same partition, which causes throttling. Default is false.
PartitionIncludeSchemaTable *bool `json:"partitionIncludeSchemaTable,omitempty" tf:"partition_include_schema_table,omitempty"`
// ARN for the private certificate authority (CA) cert that AWS DMS uses to securely connect to your Kafka target endpoint.
SSLCACertificateArn *string `json:"sslCaCertificateArn,omitempty" tf:"ssl_ca_certificate_arn,omitempty"`
// ARN of the client certificate used to securely connect to a Kafka target endpoint.
SSLClientCertificateArn *string `json:"sslClientCertificateArn,omitempty" tf:"ssl_client_certificate_arn,omitempty"`
// ARN for the client private key used to securely connect to a Kafka target endpoint.
SSLClientKeyArn *string `json:"sslClientKeyArn,omitempty" tf:"ssl_client_key_arn,omitempty"`
// Secure user name you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.
SaslUsername *string `json:"saslUsername,omitempty" tf:"sasl_username,omitempty"`
// Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires sasl_username and sasl_password.
SecurityProtocol *string `json:"securityProtocol,omitempty" tf:"security_protocol,omitempty"`
// Kafka topic for migration. Default is kafka-default-topic.
Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}
type KafkaSettingsObservation struct {
// Kafka broker location. Specify in the form broker-hostname-or-ip:port.
Broker *string `json:"broker,omitempty" tf:"broker,omitempty"`
// Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. Default is false.
IncludeControlDetails *bool `json:"includeControlDetails,omitempty" tf:"include_control_details,omitempty"`
// Include NULL and empty columns for records migrated to the endpoint. Default is false.
IncludeNullAndEmpty *bool `json:"includeNullAndEmpty,omitempty" tf:"include_null_and_empty,omitempty"`
// Shows the partition value within the Kafka message output unless the partition type is schema-table-type. Default is false.
IncludePartitionValue *bool `json:"includePartitionValue,omitempty" tf:"include_partition_value,omitempty"`
// Includes any data definition language (DDL) operations that change the table in the control data, such as rename-table, drop-table, add-column, drop-column, and rename-column. Default is false.
IncludeTableAlterOperations *bool `json:"includeTableAlterOperations,omitempty" tf:"include_table_alter_operations,omitempty"`
// Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). Default is false.
IncludeTransactionDetails *bool `json:"includeTransactionDetails,omitempty" tf:"include_transaction_details,omitempty"`
// Output format for the records created on the endpoint. Message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).
MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"`
// Maximum size in bytes for records created on the endpoint Default is 1,000,000.
MessageMaxBytes *float64 `json:"messageMaxBytes,omitempty" tf:"message_max_bytes,omitempty"`
// Set this optional parameter to true to avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, AWS DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to a Kafka target. Use the no_hex_prefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.
NoHexPrefix *bool `json:"noHexPrefix,omitempty" tf:"no_hex_prefix,omitempty"`
// Prefixes schema and table names to partition values, when the partition type is primary-key-type. Doing this increases data distribution among Kafka partitions. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same partition, which causes throttling. Default is false.
PartitionIncludeSchemaTable *bool `json:"partitionIncludeSchemaTable,omitempty" tf:"partition_include_schema_table,omitempty"`
// ARN for the private certificate authority (CA) cert that AWS DMS uses to securely connect to your Kafka target endpoint.
SSLCACertificateArn *string `json:"sslCaCertificateArn,omitempty" tf:"ssl_ca_certificate_arn,omitempty"`
// ARN of the client certificate used to securely connect to a Kafka target endpoint.
SSLClientCertificateArn *string `json:"sslClientCertificateArn,omitempty" tf:"ssl_client_certificate_arn,omitempty"`
// ARN for the client private key used to securely connect to a Kafka target endpoint.
SSLClientKeyArn *string `json:"sslClientKeyArn,omitempty" tf:"ssl_client_key_arn,omitempty"`
// Secure user name you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.
SaslUsername *string `json:"saslUsername,omitempty" tf:"sasl_username,omitempty"`
// Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires sasl_username and sasl_password.
SecurityProtocol *string `json:"securityProtocol,omitempty" tf:"security_protocol,omitempty"`
// Kafka topic for migration. Default is kafka-default-topic.
Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}
type KafkaSettingsParameters struct {
// Kafka broker location. Specify in the form broker-hostname-or-ip:port.
// +kubebuilder:validation:Optional
Broker *string `json:"broker" tf:"broker,omitempty"`
// Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. Default is false.
// +kubebuilder:validation:Optional
IncludeControlDetails *bool `json:"includeControlDetails,omitempty" tf:"include_control_details,omitempty"`
// Include NULL and empty columns for records migrated to the endpoint. Default is false.
// +kubebuilder:validation:Optional
IncludeNullAndEmpty *bool `json:"includeNullAndEmpty,omitempty" tf:"include_null_and_empty,omitempty"`
// Shows the partition value within the Kafka message output unless the partition type is schema-table-type. Default is false.
// +kubebuilder:validation:Optional
IncludePartitionValue *bool `json:"includePartitionValue,omitempty" tf:"include_partition_value,omitempty"`
// Includes any data definition language (DDL) operations that change the table in the control data, such as rename-table, drop-table, add-column, drop-column, and rename-column. Default is false.
// +kubebuilder:validation:Optional
IncludeTableAlterOperations *bool `json:"includeTableAlterOperations,omitempty" tf:"include_table_alter_operations,omitempty"`
// Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). Default is false.
// +kubebuilder:validation:Optional
IncludeTransactionDetails *bool `json:"includeTransactionDetails,omitempty" tf:"include_transaction_details,omitempty"`
// Output format for the records created on the endpoint. Message format is JSON (default) or JSON_UNFORMATTED (a single line with no tab).
// +kubebuilder:validation:Optional
MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"`
// Maximum size in bytes for records created on the endpoint Default is 1,000,000.
// +kubebuilder:validation:Optional
MessageMaxBytes *float64 `json:"messageMaxBytes,omitempty" tf:"message_max_bytes,omitempty"`
// Set this optional parameter to true to avoid adding a '0x' prefix to raw data in hexadecimal format. For example, by default, AWS DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to a Kafka target. Use the no_hex_prefix endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix.
// +kubebuilder:validation:Optional
NoHexPrefix *bool `json:"noHexPrefix,omitempty" tf:"no_hex_prefix,omitempty"`
// Prefixes schema and table names to partition values, when the partition type is primary-key-type. Doing this increases data distribution among Kafka partitions. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same partition, which causes throttling. Default is false.
// +kubebuilder:validation:Optional
PartitionIncludeSchemaTable *bool `json:"partitionIncludeSchemaTable,omitempty" tf:"partition_include_schema_table,omitempty"`
// ARN for the private certificate authority (CA) cert that AWS DMS uses to securely connect to your Kafka target endpoint.
// +kubebuilder:validation:Optional
SSLCACertificateArn *string `json:"sslCaCertificateArn,omitempty" tf:"ssl_ca_certificate_arn,omitempty"`
// ARN of the client certificate used to securely connect to a Kafka target endpoint.
// +kubebuilder:validation:Optional
SSLClientCertificateArn *string `json:"sslClientCertificateArn,omitempty" tf:"ssl_client_certificate_arn,omitempty"`
// ARN for the client private key used to securely connect to a Kafka target endpoint.
// +kubebuilder:validation:Optional
SSLClientKeyArn *string `json:"sslClientKeyArn,omitempty" tf:"ssl_client_key_arn,omitempty"`
// Password for the client private key used to securely connect to a Kafka target endpoint.
// +kubebuilder:validation:Optional
SSLClientKeyPasswordSecretRef *v1.SecretKeySelector `json:"sslClientKeyPasswordSecretRef,omitempty" tf:"-"`
// Secure password you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.
// +kubebuilder:validation:Optional
SaslPasswordSecretRef *v1.SecretKeySelector `json:"saslPasswordSecretRef,omitempty" tf:"-"`
// Secure user name you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication.
// +kubebuilder:validation:Optional
SaslUsername *string `json:"saslUsername,omitempty" tf:"sasl_username,omitempty"`
// Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). Options include ssl-encryption, ssl-authentication, and sasl-ssl. sasl-ssl requires sasl_username and sasl_password.
// +kubebuilder:validation:Optional
SecurityProtocol *string `json:"securityProtocol,omitempty" tf:"security_protocol,omitempty"`
// Kafka topic for migration. Default is kafka-default-topic.
// +kubebuilder:validation:Optional
Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}
type KinesisSettingsInitParameters struct {
// Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. Default is false.
IncludeControlDetails *bool `json:"includeControlDetails,omitempty" tf:"include_control_details,omitempty"`
// Include NULL and empty columns in the target. Default is false.
IncludeNullAndEmpty *bool `json:"includeNullAndEmpty,omitempty" tf:"include_null_and_empty,omitempty"`
// Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. Default is false.
IncludePartitionValue *bool `json:"includePartitionValue,omitempty" tf:"include_partition_value,omitempty"`
// Includes any data definition language (DDL) operations that change the table in the control data. Default is false.
IncludeTableAlterOperations *bool `json:"includeTableAlterOperations,omitempty" tf:"include_table_alter_operations,omitempty"`
// Provides detailed transaction information from the source database. Default is false.
IncludeTransactionDetails *bool `json:"includeTransactionDetails,omitempty" tf:"include_transaction_details,omitempty"`
// Output format for the records created. Default is json. Valid values are json and json-unformatted (a single line with no tab).
MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"`
// Prefixes schema and table names to partition values, when the partition type is primary-key-type. Default is false.
PartitionIncludeSchemaTable *bool `json:"partitionIncludeSchemaTable,omitempty" tf:"partition_include_schema_table,omitempty"`
// ARN of the IAM Role with permissions to write to the Kinesis data stream.
ServiceAccessRoleArn *string `json:"serviceAccessRoleArn,omitempty" tf:"service_access_role_arn,omitempty"`
// ARN of the Kinesis data stream.
StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"`
}
type KinesisSettingsObservation struct {
// Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. Default is false.
IncludeControlDetails *bool `json:"includeControlDetails,omitempty" tf:"include_control_details,omitempty"`
// Include NULL and empty columns in the target. Default is false.
IncludeNullAndEmpty *bool `json:"includeNullAndEmpty,omitempty" tf:"include_null_and_empty,omitempty"`
// Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. Default is false.
IncludePartitionValue *bool `json:"includePartitionValue,omitempty" tf:"include_partition_value,omitempty"`
// Includes any data definition language (DDL) operations that change the table in the control data. Default is false.
IncludeTableAlterOperations *bool `json:"includeTableAlterOperations,omitempty" tf:"include_table_alter_operations,omitempty"`
// Provides detailed transaction information from the source database. Default is false.
IncludeTransactionDetails *bool `json:"includeTransactionDetails,omitempty" tf:"include_transaction_details,omitempty"`
// Output format for the records created. Default is json. Valid values are json and json-unformatted (a single line with no tab).
MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"`
// Prefixes schema and table names to partition values, when the partition type is primary-key-type. Default is false.
PartitionIncludeSchemaTable *bool `json:"partitionIncludeSchemaTable,omitempty" tf:"partition_include_schema_table,omitempty"`
// ARN of the IAM Role with permissions to write to the Kinesis data stream.
ServiceAccessRoleArn *string `json:"serviceAccessRoleArn,omitempty" tf:"service_access_role_arn,omitempty"`
// ARN of the Kinesis data stream.
StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"`
}
type KinesisSettingsParameters struct {
// Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. Default is false.
// +kubebuilder:validation:Optional
IncludeControlDetails *bool `json:"includeControlDetails,omitempty" tf:"include_control_details,omitempty"`
// Include NULL and empty columns in the target. Default is false.
// +kubebuilder:validation:Optional
IncludeNullAndEmpty *bool `json:"includeNullAndEmpty,omitempty" tf:"include_null_and_empty,omitempty"`
// Shows the partition value within the Kinesis message output, unless the partition type is schema-table-type. Default is false.
// +kubebuilder:validation:Optional
IncludePartitionValue *bool `json:"includePartitionValue,omitempty" tf:"include_partition_value,omitempty"`
// Includes any data definition language (DDL) operations that change the table in the control data. Default is false.
// +kubebuilder:validation:Optional
IncludeTableAlterOperations *bool `json:"includeTableAlterOperations,omitempty" tf:"include_table_alter_operations,omitempty"`
// Provides detailed transaction information from the source database. Default is false.
// +kubebuilder:validation:Optional
IncludeTransactionDetails *bool `json:"includeTransactionDetails,omitempty" tf:"include_transaction_details,omitempty"`
// Output format for the records created. Default is json. Valid values are json and json-unformatted (a single line with no tab).
// +kubebuilder:validation:Optional
MessageFormat *string `json:"messageFormat,omitempty" tf:"message_format,omitempty"`
// Prefixes schema and table names to partition values, when the partition type is primary-key-type. Default is false.
// +kubebuilder:validation:Optional
PartitionIncludeSchemaTable *bool `json:"partitionIncludeSchemaTable,omitempty" tf:"partition_include_schema_table,omitempty"`
// ARN of the IAM Role with permissions to write to the Kinesis data stream.
// +kubebuilder:validation:Optional
ServiceAccessRoleArn *string `json:"serviceAccessRoleArn,omitempty" tf:"service_access_role_arn,omitempty"`
// ARN of the Kinesis data stream.
// +kubebuilder:validation:Optional
StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"`
}
type MongodbSettingsInitParameters struct {
// Authentication mechanism to access the MongoDB source endpoint. Default is default.
AuthMechanism *string `json:"authMechanism,omitempty" tf:"auth_mechanism,omitempty"`
// Authentication database name. Not used when auth_type is no. Default is admin.
AuthSource *string `json:"authSource,omitempty" tf:"auth_source,omitempty"`
// Authentication type to access the MongoDB source endpoint. Default is password.
AuthType *string `json:"authType,omitempty" tf:"auth_type,omitempty"`
// Number of documents to preview to determine the document organization. Use this setting when nesting_level is set to one. Default is 1000.
DocsToInvestigate *string `json:"docsToInvestigate,omitempty" tf:"docs_to_investigate,omitempty"`
// Document ID. Use this setting when nesting_level is set to none. Default is false.
ExtractDocID *string `json:"extractDocId,omitempty" tf:"extract_doc_id,omitempty"`
// Specifies either document or table mode. Default is none. Valid values are one (table mode) and none (document mode).
NestingLevel *string `json:"nestingLevel,omitempty" tf:"nesting_level,omitempty"`
}
type MongodbSettingsObservation struct {
// Authentication mechanism to access the MongoDB source endpoint. Default is default.
AuthMechanism *string `json:"authMechanism,omitempty" tf:"auth_mechanism,omitempty"`
// Authentication database name. Not used when auth_type is no. Default is admin.
AuthSource *string `json:"authSource,omitempty" tf:"auth_source,omitempty"`
// Authentication type to access the MongoDB source endpoint. Default is password.
AuthType *string `json:"authType,omitempty" tf:"auth_type,omitempty"`
// Number of documents to preview to determine the document organization. Use this setting when nesting_level is set to one. Default is 1000.
DocsToInvestigate *string `json:"docsToInvestigate,omitempty" tf:"docs_to_investigate,omitempty"`
// Document ID. Use this setting when nesting_level is set to none. Default is false.
ExtractDocID *string `json:"extractDocId,omitempty" tf:"extract_doc_id,omitempty"`
// Specifies either document or table mode. Default is none. Valid values are one (table mode) and none (document mode).
NestingLevel *string `json:"nestingLevel,omitempty" tf:"nesting_level,omitempty"`
}
type MongodbSettingsParameters struct {
// Authentication mechanism to access the MongoDB source endpoint. Default is default.
// +kubebuilder:validation:Optional
AuthMechanism *string `json:"authMechanism,omitempty" tf:"auth_mechanism,omitempty"`
// Authentication database name. Not used when auth_type is no. Default is admin.
// +kubebuilder:validation:Optional
AuthSource *string `json:"authSource,omitempty" tf:"auth_source,omitempty"`
// Authentication type to access the MongoDB source endpoint. Default is password.
// +kubebuilder:validation:Optional
AuthType *string `json:"authType,omitempty" tf:"auth_type,omitempty"`
// Number of documents to preview to determine the document organization. Use this setting when nesting_level is set to one. Default is 1000.
// +kubebuilder:validation:Optional
DocsToInvestigate *string `json:"docsToInvestigate,omitempty" tf:"docs_to_investigate,omitempty"`
// Document ID. Use this setting when nesting_level is set to none. Default is false.
// +kubebuilder:validation:Optional
ExtractDocID *string `json:"extractDocId,omitempty" tf:"extract_doc_id,omitempty"`
// Specifies either document or table mode. Default is none. Valid values are one (table mode) and none (document mode).
// +kubebuilder:validation:Optional
NestingLevel *string `json:"nestingLevel,omitempty" tf:"nesting_level,omitempty"`
}
type PostgresSettingsInitParameters struct {
// For use with change data capture (CDC) only, this attribute has AWS DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data.
AfterConnectScript *string `json:"afterConnectScript,omitempty" tf:"after_connect_script,omitempty"`
// The Babelfish for Aurora PostgreSQL database name for the endpoint.
BabelfishDatabaseName *string `json:"babelfishDatabaseName,omitempty" tf:"babelfish_database_name,omitempty"`
// To capture DDL events, AWS DMS creates various artifacts in the PostgreSQL database when the task starts.
CaptureDdls *bool `json:"captureDdls,omitempty" tf:"capture_ddls,omitempty"`
// Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.
DatabaseMode *string `json:"databaseMode,omitempty" tf:"database_mode,omitempty"`
// Sets the schema in which the operational DDL database artifacts are created. Default is public.
DdlArtifactsSchema *string `json:"ddlArtifactsSchema,omitempty" tf:"ddl_artifacts_schema,omitempty"`
// Sets the client statement timeout for the PostgreSQL instance, in seconds. Default value is 60.
ExecuteTimeout *float64 `json:"executeTimeout,omitempty" tf:"execute_timeout,omitempty"`
// When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize. Default is false.
FailTasksOnLobTruncation *bool `json:"failTasksOnLobTruncation,omitempty" tf:"fail_tasks_on_lob_truncation,omitempty"`
// The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source.
HeartbeatEnable *bool `json:"heartbeatEnable,omitempty" tf:"heartbeat_enable,omitempty"`
// Sets the WAL heartbeat frequency (in minutes). Default value is 5.
HeartbeatFrequency *float64 `json:"heartbeatFrequency,omitempty" tf:"heartbeat_frequency,omitempty"`
// Sets the schema in which the heartbeat artifacts are created. Default value is public.
HeartbeatSchema *string `json:"heartbeatSchema,omitempty" tf:"heartbeat_schema,omitempty"`
// You can use PostgreSQL endpoint settings to map a boolean as a boolean from your PostgreSQL source to a Amazon Redshift target. Default value is false.
MapBooleanAsBoolean *bool `json:"mapBooleanAsBoolean,omitempty" tf:"map_boolean_as_boolean,omitempty"`
// Optional When true, DMS migrates JSONB values as CLOB.
MapJsonbAsClob *bool `json:"mapJsonbAsClob,omitempty" tf:"map_jsonb_as_clob,omitempty"`
// Optional When true, DMS migrates LONG values as VARCHAR.
MapLongVarcharAs *string `json:"mapLongVarcharAs,omitempty" tf:"map_long_varchar_as,omitempty"`
// Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL. Default is 32,768 KB.
MaxFileSize *float64 `json:"maxFileSize,omitempty" tf:"max_file_size,omitempty"`
// Specifies the plugin to use to create a replication slot. Valid values: pglogical, test_decoding.
PluginName *string `json:"pluginName,omitempty" tf:"plugin_name,omitempty"`
// Sets the name of a previously created logical replication slot for a CDC load of the PostgreSQL source instance.
SlotName *string `json:"slotName,omitempty" tf:"slot_name,omitempty"`
}
type PostgresSettingsObservation struct {
// For use with change data capture (CDC) only, this attribute has AWS DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data.
AfterConnectScript *string `json:"afterConnectScript,omitempty" tf:"after_connect_script,omitempty"`
// The Babelfish for Aurora PostgreSQL database name for the endpoint.
BabelfishDatabaseName *string `json:"babelfishDatabaseName,omitempty" tf:"babelfish_database_name,omitempty"`
// To capture DDL events, AWS DMS creates various artifacts in the PostgreSQL database when the task starts.
CaptureDdls *bool `json:"captureDdls,omitempty" tf:"capture_ddls,omitempty"`
// Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.
DatabaseMode *string `json:"databaseMode,omitempty" tf:"database_mode,omitempty"`
// Sets the schema in which the operational DDL database artifacts are created. Default is public.
DdlArtifactsSchema *string `json:"ddlArtifactsSchema,omitempty" tf:"ddl_artifacts_schema,omitempty"`
// Sets the client statement timeout for the PostgreSQL instance, in seconds. Default value is 60.
ExecuteTimeout *float64 `json:"executeTimeout,omitempty" tf:"execute_timeout,omitempty"`
// When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize. Default is false.
FailTasksOnLobTruncation *bool `json:"failTasksOnLobTruncation,omitempty" tf:"fail_tasks_on_lob_truncation,omitempty"`
// The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source.
HeartbeatEnable *bool `json:"heartbeatEnable,omitempty" tf:"heartbeat_enable,omitempty"`
// Sets the WAL heartbeat frequency (in minutes). Default value is 5.
HeartbeatFrequency *float64 `json:"heartbeatFrequency,omitempty" tf:"heartbeat_frequency,omitempty"`
// Sets the schema in which the heartbeat artifacts are created. Default value is public.
HeartbeatSchema *string `json:"heartbeatSchema,omitempty" tf:"heartbeat_schema,omitempty"`
// You can use PostgreSQL endpoint settings to map a boolean as a boolean from your PostgreSQL source to a Amazon Redshift target. Default value is false.
MapBooleanAsBoolean *bool `json:"mapBooleanAsBoolean,omitempty" tf:"map_boolean_as_boolean,omitempty"`
// Optional When true, DMS migrates JSONB values as CLOB.
MapJsonbAsClob *bool `json:"mapJsonbAsClob,omitempty" tf:"map_jsonb_as_clob,omitempty"`
// Optional When true, DMS migrates LONG values as VARCHAR.
MapLongVarcharAs *string `json:"mapLongVarcharAs,omitempty" tf:"map_long_varchar_as,omitempty"`
// Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL. Default is 32,768 KB.
MaxFileSize *float64 `json:"maxFileSize,omitempty" tf:"max_file_size,omitempty"`
// Specifies the plugin to use to create a replication slot. Valid values: pglogical, test_decoding.
PluginName *string `json:"pluginName,omitempty" tf:"plugin_name,omitempty"`
// Sets the name of a previously created logical replication slot for a CDC load of the PostgreSQL source instance.
SlotName *string `json:"slotName,omitempty" tf:"slot_name,omitempty"`
}
type PostgresSettingsParameters struct {
// For use with change data capture (CDC) only, this attribute has AWS DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data.
// +kubebuilder:validation:Optional
AfterConnectScript *string `json:"afterConnectScript,omitempty" tf:"after_connect_script,omitempty"`
// The Babelfish for Aurora PostgreSQL database name for the endpoint.
// +kubebuilder:validation:Optional
BabelfishDatabaseName *string `json:"babelfishDatabaseName,omitempty" tf:"babelfish_database_name,omitempty"`
// To capture DDL events, AWS DMS creates various artifacts in the PostgreSQL database when the task starts.
// +kubebuilder:validation:Optional
CaptureDdls *bool `json:"captureDdls,omitempty" tf:"capture_ddls,omitempty"`
// Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.
// +kubebuilder:validation:Optional
DatabaseMode *string `json:"databaseMode,omitempty" tf:"database_mode,omitempty"`
// Sets the schema in which the operational DDL database artifacts are created. Default is public.
// +kubebuilder:validation:Optional
DdlArtifactsSchema *string `json:"ddlArtifactsSchema,omitempty" tf:"ddl_artifacts_schema,omitempty"`
// Sets the client statement timeout for the PostgreSQL instance, in seconds. Default value is 60.
// +kubebuilder:validation:Optional
ExecuteTimeout *float64 `json:"executeTimeout,omitempty" tf:"execute_timeout,omitempty"`
// When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize. Default is false.
// +kubebuilder:validation:Optional
FailTasksOnLobTruncation *bool `json:"failTasksOnLobTruncation,omitempty" tf:"fail_tasks_on_lob_truncation,omitempty"`
// The write-ahead log (WAL) heartbeat feature mimics a dummy transaction. By doing this, it prevents idle logical replication slots from holding onto old WAL logs, which can result in storage full situations on the source.
// +kubebuilder:validation:Optional
HeartbeatEnable *bool `json:"heartbeatEnable,omitempty" tf:"heartbeat_enable,omitempty"`
// Sets the WAL heartbeat frequency (in minutes). Default value is 5.
// +kubebuilder:validation:Optional
HeartbeatFrequency *float64 `json:"heartbeatFrequency,omitempty" tf:"heartbeat_frequency,omitempty"`
// Sets the schema in which the heartbeat artifacts are created. Default value is public.
// +kubebuilder:validation:Optional
HeartbeatSchema *string `json:"heartbeatSchema,omitempty" tf:"heartbeat_schema,omitempty"`
// You can use PostgreSQL endpoint settings to map a boolean as a boolean from your PostgreSQL source to a Amazon Redshift target. Default value is false.
// +kubebuilder:validation:Optional
MapBooleanAsBoolean *bool `json:"mapBooleanAsBoolean,omitempty" tf:"map_boolean_as_boolean,omitempty"`
// Optional When true, DMS migrates JSONB values as CLOB.
// +kubebuilder:validation:Optional
MapJsonbAsClob *bool `json:"mapJsonbAsClob,omitempty" tf:"map_jsonb_as_clob,omitempty"`
// Optional When true, DMS migrates LONG values as VARCHAR.
// +kubebuilder:validation:Optional
MapLongVarcharAs *string `json:"mapLongVarcharAs,omitempty" tf:"map_long_varchar_as,omitempty"`
// Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL. Default is 32,768 KB.
// +kubebuilder:validation:Optional
MaxFileSize *float64 `json:"maxFileSize,omitempty" tf:"max_file_size,omitempty"`
// Specifies the plugin to use to create a replication slot. Valid values: pglogical, test_decoding.
// +kubebuilder:validation:Optional
PluginName *string `json:"pluginName,omitempty" tf:"plugin_name,omitempty"`
// Sets the name of a previously created logical replication slot for a CDC load of the PostgreSQL source instance.
// +kubebuilder:validation:Optional
SlotName *string `json:"slotName,omitempty" tf:"slot_name,omitempty"`
}
type RedisSettingsInitParameters struct {
// Authentication type to access the MongoDB source endpoint. Default is password.
AuthType *string `json:"authType,omitempty" tf:"auth_type,omitempty"`
// The username provided with the auth-role option of the AuthType setting for a Redis target endpoint.
AuthUserName *string `json:"authUserName,omitempty" tf:"auth_user_name,omitempty"`
// Port used by the endpoint database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
SSLCACertificateArn *string `json:"sslCaCertificateArn,omitempty" tf:"ssl_ca_certificate_arn,omitempty"`
// The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database. Options include plaintext, ssl-encryption. The default is ssl-encryption.
SSLSecurityProtocol *string `json:"sslSecurityProtocol,omitempty" tf:"ssl_security_protocol,omitempty"`
// Host name of the server.
ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
}
type RedisSettingsObservation struct {
// Authentication type to access the MongoDB source endpoint. Default is password.
AuthType *string `json:"authType,omitempty" tf:"auth_type,omitempty"`
// The username provided with the auth-role option of the AuthType setting for a Redis target endpoint.
AuthUserName *string `json:"authUserName,omitempty" tf:"auth_user_name,omitempty"`
// Port used by the endpoint database.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
SSLCACertificateArn *string `json:"sslCaCertificateArn,omitempty" tf:"ssl_ca_certificate_arn,omitempty"`
// The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database. Options include plaintext, ssl-encryption. The default is ssl-encryption.
SSLSecurityProtocol *string `json:"sslSecurityProtocol,omitempty" tf:"ssl_security_protocol,omitempty"`
// Host name of the server.
ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
}
type RedisSettingsParameters struct {
// The password provided with the auth-role and auth-token options of the AuthType setting for a Redis target endpoint.
// +kubebuilder:validation:Optional
AuthPasswordSecretRef *v1.SecretKeySelector `json:"authPasswordSecretRef,omitempty" tf:"-"`
// Authentication type to access the MongoDB source endpoint. Default is password.
// +kubebuilder:validation:Optional
AuthType *string `json:"authType" tf:"auth_type,omitempty"`
// The username provided with the auth-role option of the AuthType setting for a Redis target endpoint.
// +kubebuilder:validation:Optional
AuthUserName *string `json:"authUserName,omitempty" tf:"auth_user_name,omitempty"`
// Port used by the endpoint database.
// +kubebuilder:validation:Optional
Port *float64 `json:"port" tf:"port,omitempty"`
// The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
// +kubebuilder:validation:Optional
SSLCACertificateArn *string `json:"sslCaCertificateArn,omitempty" tf:"ssl_ca_certificate_arn,omitempty"`
// The plaintext option doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database. Options include plaintext, ssl-encryption. The default is ssl-encryption.
// +kubebuilder:validation:Optional
SSLSecurityProtocol *string `json:"sslSecurityProtocol,omitempty" tf:"ssl_security_protocol,omitempty"`
// Host name of the server.
// +kubebuilder:validation:Optional
ServerName *string `json:"serverName" tf:"server_name,omitempty"`
}
type RedshiftSettingsInitParameters struct {
// Custom S3 Bucket Object prefix for intermediate storage.
BucketFolder *string `json:"bucketFolder,omitempty" tf:"bucket_folder,omitempty"`
// Custom S3 Bucket name for intermediate storage.
BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`
// The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to SSE_S3. Valid values are SSE_S3 and SSE_KMS.
EncryptionMode *string `json:"encryptionMode,omitempty" tf:"encryption_mode,omitempty"`
// ARN or Id of KMS Key to use when encryption_mode is SSE_KMS.
ServerSideEncryptionKMSKeyID *string `json:"serverSideEncryptionKmsKeyId,omitempty" tf:"server_side_encryption_kms_key_id,omitempty"`
// Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
ServiceAccessRoleArn *string `json:"serviceAccessRoleArn,omitempty" tf:"service_access_role_arn,omitempty"`
}
type RedshiftSettingsObservation struct {