-
Notifications
You must be signed in to change notification settings - Fork 117
/
zz_domain_types.go
executable file
·1071 lines (758 loc) · 53.3 KB
/
zz_domain_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 AdvancedSecurityOptionsInitParameters struct {
// Whether Anonymous auth is enabled. Enables fine-grained access control on an existing domain. Ignored unless advanced_security_options are enabled. Can only be enabled on an existing domain.
AnonymousAuthEnabled *bool `json:"anonymousAuthEnabled,omitempty" tf:"anonymous_auth_enabled,omitempty"`
// Whether advanced security is enabled.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Whether the internal user database is enabled. Default is false.
InternalUserDatabaseEnabled *bool `json:"internalUserDatabaseEnabled,omitempty" tf:"internal_user_database_enabled,omitempty"`
// Configuration block for the main user. Detailed below.
MasterUserOptions []MasterUserOptionsInitParameters `json:"masterUserOptions,omitempty" tf:"master_user_options,omitempty"`
}
type AdvancedSecurityOptionsObservation struct {
// Whether Anonymous auth is enabled. Enables fine-grained access control on an existing domain. Ignored unless advanced_security_options are enabled. Can only be enabled on an existing domain.
AnonymousAuthEnabled *bool `json:"anonymousAuthEnabled,omitempty" tf:"anonymous_auth_enabled,omitempty"`
// Whether advanced security is enabled.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Whether the internal user database is enabled. Default is false.
InternalUserDatabaseEnabled *bool `json:"internalUserDatabaseEnabled,omitempty" tf:"internal_user_database_enabled,omitempty"`
// Configuration block for the main user. Detailed below.
MasterUserOptions []MasterUserOptionsObservation `json:"masterUserOptions,omitempty" tf:"master_user_options,omitempty"`
}
type AdvancedSecurityOptionsParameters struct {
// Whether Anonymous auth is enabled. Enables fine-grained access control on an existing domain. Ignored unless advanced_security_options are enabled. Can only be enabled on an existing domain.
// +kubebuilder:validation:Optional
AnonymousAuthEnabled *bool `json:"anonymousAuthEnabled,omitempty" tf:"anonymous_auth_enabled,omitempty"`
// Whether advanced security is enabled.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
// Whether the internal user database is enabled. Default is false.
// +kubebuilder:validation:Optional
InternalUserDatabaseEnabled *bool `json:"internalUserDatabaseEnabled,omitempty" tf:"internal_user_database_enabled,omitempty"`
// Configuration block for the main user. Detailed below.
// +kubebuilder:validation:Optional
MasterUserOptions []MasterUserOptionsParameters `json:"masterUserOptions,omitempty" tf:"master_user_options,omitempty"`
}
type AutoTuneOptionsInitParameters struct {
// Auto-Tune desired state for the domain. Valid values: ENABLED or DISABLED.
DesiredState *string `json:"desiredState,omitempty" tf:"desired_state,omitempty"`
// Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below.
MaintenanceSchedule []MaintenanceScheduleInitParameters `json:"maintenanceSchedule,omitempty" tf:"maintenance_schedule,omitempty"`
// Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: DEFAULT_ROLLBACK or NO_ROLLBACK.
RollbackOnDisable *string `json:"rollbackOnDisable,omitempty" tf:"rollback_on_disable,omitempty"`
}
type AutoTuneOptionsObservation struct {
// Auto-Tune desired state for the domain. Valid values: ENABLED or DISABLED.
DesiredState *string `json:"desiredState,omitempty" tf:"desired_state,omitempty"`
// Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below.
MaintenanceSchedule []MaintenanceScheduleObservation `json:"maintenanceSchedule,omitempty" tf:"maintenance_schedule,omitempty"`
// Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: DEFAULT_ROLLBACK or NO_ROLLBACK.
RollbackOnDisable *string `json:"rollbackOnDisable,omitempty" tf:"rollback_on_disable,omitempty"`
}
type AutoTuneOptionsParameters struct {
// Auto-Tune desired state for the domain. Valid values: ENABLED or DISABLED.
// +kubebuilder:validation:Optional
DesiredState *string `json:"desiredState" tf:"desired_state,omitempty"`
// Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below.
// +kubebuilder:validation:Optional
MaintenanceSchedule []MaintenanceScheduleParameters `json:"maintenanceSchedule,omitempty" tf:"maintenance_schedule,omitempty"`
// Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: DEFAULT_ROLLBACK or NO_ROLLBACK.
// +kubebuilder:validation:Optional
RollbackOnDisable *string `json:"rollbackOnDisable,omitempty" tf:"rollback_on_disable,omitempty"`
}
type ClusterConfigInitParameters struct {
// Configuration block containing cold storage configuration. Detailed below.
ColdStorageOptions []ColdStorageOptionsInitParameters `json:"coldStorageOptions,omitempty" tf:"cold_storage_options,omitempty"`
// Number of dedicated main nodes in the cluster.
DedicatedMasterCount *float64 `json:"dedicatedMasterCount,omitempty" tf:"dedicated_master_count,omitempty"`
// Whether dedicated main nodes are enabled for the cluster.
DedicatedMasterEnabled *bool `json:"dedicatedMasterEnabled,omitempty" tf:"dedicated_master_enabled,omitempty"`
// Instance type of the dedicated main nodes in the cluster.
DedicatedMasterType *string `json:"dedicatedMasterType,omitempty" tf:"dedicated_master_type,omitempty"`
// Number of instances in the cluster.
InstanceCount *float64 `json:"instanceCount,omitempty" tf:"instance_count,omitempty"`
// Instance type of data nodes in the cluster.
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
MultiAzWithStandbyEnabled *bool `json:"multiAzWithStandbyEnabled,omitempty" tf:"multi_az_with_standby_enabled,omitempty"`
// Number of warm nodes in the cluster. Valid values are between 2 and 150. warm_count can be only and must be set when warm_enabled is set to true.
WarmCount *float64 `json:"warmCount,omitempty" tf:"warm_count,omitempty"`
// Whether to enable warm storage.
WarmEnabled *bool `json:"warmEnabled,omitempty" tf:"warm_enabled,omitempty"`
// Instance type for the OpenSearch cluster's warm nodes. Valid values are ultrawarm1.medium.search, ultrawarm1.large.search and ultrawarm1.xlarge.search. warm_type can be only and must be set when warm_enabled is set to true.
WarmType *string `json:"warmType,omitempty" tf:"warm_type,omitempty"`
// Configuration block containing zone awareness settings. Detailed below.
ZoneAwarenessConfig []ZoneAwarenessConfigInitParameters `json:"zoneAwarenessConfig,omitempty" tf:"zone_awareness_config,omitempty"`
// Whether zone awareness is enabled, set to true for multi-az deployment. To enable awareness with three Availability Zones, the availability_zone_count within the zone_awareness_config must be set to 3.
ZoneAwarenessEnabled *bool `json:"zoneAwarenessEnabled,omitempty" tf:"zone_awareness_enabled,omitempty"`
}
type ClusterConfigObservation struct {
// Configuration block containing cold storage configuration. Detailed below.
ColdStorageOptions []ColdStorageOptionsObservation `json:"coldStorageOptions,omitempty" tf:"cold_storage_options,omitempty"`
// Number of dedicated main nodes in the cluster.
DedicatedMasterCount *float64 `json:"dedicatedMasterCount,omitempty" tf:"dedicated_master_count,omitempty"`
// Whether dedicated main nodes are enabled for the cluster.
DedicatedMasterEnabled *bool `json:"dedicatedMasterEnabled,omitempty" tf:"dedicated_master_enabled,omitempty"`
// Instance type of the dedicated main nodes in the cluster.
DedicatedMasterType *string `json:"dedicatedMasterType,omitempty" tf:"dedicated_master_type,omitempty"`
// Number of instances in the cluster.
InstanceCount *float64 `json:"instanceCount,omitempty" tf:"instance_count,omitempty"`
// Instance type of data nodes in the cluster.
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
MultiAzWithStandbyEnabled *bool `json:"multiAzWithStandbyEnabled,omitempty" tf:"multi_az_with_standby_enabled,omitempty"`
// Number of warm nodes in the cluster. Valid values are between 2 and 150. warm_count can be only and must be set when warm_enabled is set to true.
WarmCount *float64 `json:"warmCount,omitempty" tf:"warm_count,omitempty"`
// Whether to enable warm storage.
WarmEnabled *bool `json:"warmEnabled,omitempty" tf:"warm_enabled,omitempty"`
// Instance type for the OpenSearch cluster's warm nodes. Valid values are ultrawarm1.medium.search, ultrawarm1.large.search and ultrawarm1.xlarge.search. warm_type can be only and must be set when warm_enabled is set to true.
WarmType *string `json:"warmType,omitempty" tf:"warm_type,omitempty"`
// Configuration block containing zone awareness settings. Detailed below.
ZoneAwarenessConfig []ZoneAwarenessConfigObservation `json:"zoneAwarenessConfig,omitempty" tf:"zone_awareness_config,omitempty"`
// Whether zone awareness is enabled, set to true for multi-az deployment. To enable awareness with three Availability Zones, the availability_zone_count within the zone_awareness_config must be set to 3.
ZoneAwarenessEnabled *bool `json:"zoneAwarenessEnabled,omitempty" tf:"zone_awareness_enabled,omitempty"`
}
type ClusterConfigParameters struct {
// Configuration block containing cold storage configuration. Detailed below.
// +kubebuilder:validation:Optional
ColdStorageOptions []ColdStorageOptionsParameters `json:"coldStorageOptions,omitempty" tf:"cold_storage_options,omitempty"`
// Number of dedicated main nodes in the cluster.
// +kubebuilder:validation:Optional
DedicatedMasterCount *float64 `json:"dedicatedMasterCount,omitempty" tf:"dedicated_master_count,omitempty"`
// Whether dedicated main nodes are enabled for the cluster.
// +kubebuilder:validation:Optional
DedicatedMasterEnabled *bool `json:"dedicatedMasterEnabled,omitempty" tf:"dedicated_master_enabled,omitempty"`
// Instance type of the dedicated main nodes in the cluster.
// +kubebuilder:validation:Optional
DedicatedMasterType *string `json:"dedicatedMasterType,omitempty" tf:"dedicated_master_type,omitempty"`
// Number of instances in the cluster.
// +kubebuilder:validation:Optional
InstanceCount *float64 `json:"instanceCount,omitempty" tf:"instance_count,omitempty"`
// Instance type of data nodes in the cluster.
// +kubebuilder:validation:Optional
InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`
// +kubebuilder:validation:Optional
MultiAzWithStandbyEnabled *bool `json:"multiAzWithStandbyEnabled,omitempty" tf:"multi_az_with_standby_enabled,omitempty"`
// Number of warm nodes in the cluster. Valid values are between 2 and 150. warm_count can be only and must be set when warm_enabled is set to true.
// +kubebuilder:validation:Optional
WarmCount *float64 `json:"warmCount,omitempty" tf:"warm_count,omitempty"`
// Whether to enable warm storage.
// +kubebuilder:validation:Optional
WarmEnabled *bool `json:"warmEnabled,omitempty" tf:"warm_enabled,omitempty"`
// Instance type for the OpenSearch cluster's warm nodes. Valid values are ultrawarm1.medium.search, ultrawarm1.large.search and ultrawarm1.xlarge.search. warm_type can be only and must be set when warm_enabled is set to true.
// +kubebuilder:validation:Optional
WarmType *string `json:"warmType,omitempty" tf:"warm_type,omitempty"`
// Configuration block containing zone awareness settings. Detailed below.
// +kubebuilder:validation:Optional
ZoneAwarenessConfig []ZoneAwarenessConfigParameters `json:"zoneAwarenessConfig,omitempty" tf:"zone_awareness_config,omitempty"`
// Whether zone awareness is enabled, set to true for multi-az deployment. To enable awareness with three Availability Zones, the availability_zone_count within the zone_awareness_config must be set to 3.
// +kubebuilder:validation:Optional
ZoneAwarenessEnabled *bool `json:"zoneAwarenessEnabled,omitempty" tf:"zone_awareness_enabled,omitempty"`
}
type CognitoOptionsInitParameters struct {
// Whether Amazon Cognito authentication with Dashboard is enabled or not. Default is false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// ID of the Cognito Identity Pool to use.
IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`
// ARN of the IAM role that has the AmazonOpenSearchServiceCognitoAccess policy attached.
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// ID of the Cognito User Pool to use.
UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"`
}
type CognitoOptionsObservation struct {
// Whether Amazon Cognito authentication with Dashboard is enabled or not. Default is false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// ID of the Cognito Identity Pool to use.
IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`
// ARN of the IAM role that has the AmazonOpenSearchServiceCognitoAccess policy attached.
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// ID of the Cognito User Pool to use.
UserPoolID *string `json:"userPoolId,omitempty" tf:"user_pool_id,omitempty"`
}
type CognitoOptionsParameters struct {
// Whether Amazon Cognito authentication with Dashboard is enabled or not. Default is false.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// ID of the Cognito Identity Pool to use.
// +kubebuilder:validation:Optional
IdentityPoolID *string `json:"identityPoolId" tf:"identity_pool_id,omitempty"`
// ARN of the IAM role that has the AmazonOpenSearchServiceCognitoAccess policy attached.
// +kubebuilder:validation:Optional
RoleArn *string `json:"roleArn" tf:"role_arn,omitempty"`
// ID of the Cognito User Pool to use.
// +kubebuilder:validation:Optional
UserPoolID *string `json:"userPoolId" tf:"user_pool_id,omitempty"`
}
type ColdStorageOptionsInitParameters struct {
// Boolean to enable cold storage for an OpenSearch domain. Defaults to false. Master and ultrawarm nodes must be enabled for cold storage.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type ColdStorageOptionsObservation struct {
// Boolean to enable cold storage for an OpenSearch domain. Defaults to false. Master and ultrawarm nodes must be enabled for cold storage.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type ColdStorageOptionsParameters struct {
// Boolean to enable cold storage for an OpenSearch domain. Defaults to false. Master and ultrawarm nodes must be enabled for cold storage.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type DomainEndpointOptionsInitParameters struct {
// Fully qualified domain for your custom endpoint.
CustomEndpoint *string `json:"customEndpoint,omitempty" tf:"custom_endpoint,omitempty"`
// ACM certificate ARN for your custom endpoint.
CustomEndpointCertificateArn *string `json:"customEndpointCertificateArn,omitempty" tf:"custom_endpoint_certificate_arn,omitempty"`
// Whether to enable custom endpoint for the OpenSearch domain.
CustomEndpointEnabled *bool `json:"customEndpointEnabled,omitempty" tf:"custom_endpoint_enabled,omitempty"`
// Whether or not to require HTTPS. Defaults to true.
EnforceHTTPS *bool `json:"enforceHttps,omitempty" tf:"enforce_https,omitempty"`
// Name of the TLS security policy that needs to be applied to the HTTPS endpoint. Valid values: Policy-Min-TLS-1-0-2019-07 and Policy-Min-TLS-1-2-2019-07.
TLSSecurityPolicy *string `json:"tlsSecurityPolicy,omitempty" tf:"tls_security_policy,omitempty"`
}
type DomainEndpointOptionsObservation struct {
// Fully qualified domain for your custom endpoint.
CustomEndpoint *string `json:"customEndpoint,omitempty" tf:"custom_endpoint,omitempty"`
// ACM certificate ARN for your custom endpoint.
CustomEndpointCertificateArn *string `json:"customEndpointCertificateArn,omitempty" tf:"custom_endpoint_certificate_arn,omitempty"`
// Whether to enable custom endpoint for the OpenSearch domain.
CustomEndpointEnabled *bool `json:"customEndpointEnabled,omitempty" tf:"custom_endpoint_enabled,omitempty"`
// Whether or not to require HTTPS. Defaults to true.
EnforceHTTPS *bool `json:"enforceHttps,omitempty" tf:"enforce_https,omitempty"`
// Name of the TLS security policy that needs to be applied to the HTTPS endpoint. Valid values: Policy-Min-TLS-1-0-2019-07 and Policy-Min-TLS-1-2-2019-07.
TLSSecurityPolicy *string `json:"tlsSecurityPolicy,omitempty" tf:"tls_security_policy,omitempty"`
}
type DomainEndpointOptionsParameters struct {
// Fully qualified domain for your custom endpoint.
// +kubebuilder:validation:Optional
CustomEndpoint *string `json:"customEndpoint,omitempty" tf:"custom_endpoint,omitempty"`
// ACM certificate ARN for your custom endpoint.
// +kubebuilder:validation:Optional
CustomEndpointCertificateArn *string `json:"customEndpointCertificateArn,omitempty" tf:"custom_endpoint_certificate_arn,omitempty"`
// Whether to enable custom endpoint for the OpenSearch domain.
// +kubebuilder:validation:Optional
CustomEndpointEnabled *bool `json:"customEndpointEnabled,omitempty" tf:"custom_endpoint_enabled,omitempty"`
// Whether or not to require HTTPS. Defaults to true.
// +kubebuilder:validation:Optional
EnforceHTTPS *bool `json:"enforceHttps,omitempty" tf:"enforce_https,omitempty"`
// Name of the TLS security policy that needs to be applied to the HTTPS endpoint. Valid values: Policy-Min-TLS-1-0-2019-07 and Policy-Min-TLS-1-2-2019-07.
// +kubebuilder:validation:Optional
TLSSecurityPolicy *string `json:"tlsSecurityPolicy,omitempty" tf:"tls_security_policy,omitempty"`
}
type DomainInitParameters struct {
// Key-value string pairs to specify advanced configuration options.
// +mapType=granular
AdvancedOptions map[string]*string `json:"advancedOptions,omitempty" tf:"advanced_options,omitempty"`
// Configuration block for fine-grained access control. Detailed below.
AdvancedSecurityOptions []AdvancedSecurityOptionsInitParameters `json:"advancedSecurityOptions,omitempty" tf:"advanced_security_options,omitempty"`
// Configuration block for the Auto-Tune options of the domain. Detailed below.
AutoTuneOptions []AutoTuneOptionsInitParameters `json:"autoTuneOptions,omitempty" tf:"auto_tune_options,omitempty"`
// Configuration block for the cluster of the domain. Detailed below.
ClusterConfig []ClusterConfigInitParameters `json:"clusterConfig,omitempty" tf:"cluster_config,omitempty"`
// Configuration block for authenticating dashboard with Cognito. Detailed below.
CognitoOptions []CognitoOptionsInitParameters `json:"cognitoOptions,omitempty" tf:"cognito_options,omitempty"`
// Configuration block for domain endpoint HTTP(S) related options. Detailed below.
DomainEndpointOptions []DomainEndpointOptionsInitParameters `json:"domainEndpointOptions,omitempty" tf:"domain_endpoint_options,omitempty"`
// Name of the domain.
DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`
// Configuration block for EBS related options, may be required based on chosen instance size. Detailed below.
EBSOptions []EBSOptionsInitParameters `json:"ebsOptions,omitempty" tf:"ebs_options,omitempty"`
// Configuration block for encrypt at rest options. Only available for certain instance types. Detailed below.
EncryptAtRest []EncryptAtRestInitParameters `json:"encryptAtRest,omitempty" tf:"encrypt_at_rest,omitempty"`
// while Elasticsearch has elasticsearch_version
EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`
// Configuration block for publishing slow and application logs to CloudWatch Logs. This block can be declared multiple times, for each log_type, within the same resource. Detailed below.
LogPublishingOptions []LogPublishingOptionsInitParameters `json:"logPublishingOptions,omitempty" tf:"log_publishing_options,omitempty"`
// Configuration block for node-to-node encryption options. Detailed below.
NodeToNodeEncryption []NodeToNodeEncryptionInitParameters `json:"nodeToNodeEncryption,omitempty" tf:"node_to_node_encryption,omitempty"`
// Configuration to add Off Peak update options. (documentation). Detailed below.
OffPeakWindowOptions []OffPeakWindowOptionsInitParameters `json:"offPeakWindowOptions,omitempty" tf:"off_peak_window_options,omitempty"`
// Configuration block for snapshot related options. Detailed below. DEPRECATED. For domains running OpenSearch 5.3 and later, Amazon OpenSearch takes hourly automated snapshots, making this setting irrelevant. For domains running earlier versions, OpenSearch takes daily automated snapshots.
SnapshotOptions []SnapshotOptionsInitParameters `json:"snapshotOptions,omitempty" tf:"snapshot_options,omitempty"`
// Software update options for the domain. Detailed below.
SoftwareUpdateOptions []SoftwareUpdateOptionsInitParameters `json:"softwareUpdateOptions,omitempty" tf:"software_update_options,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Configuration block for VPC related options. Adding or removing this configuration forces a new resource (documentation). Detailed below.
VPCOptions []VPCOptionsInitParameters `json:"vpcOptions,omitempty" tf:"vpc_options,omitempty"`
}
type DomainObservation struct {
// , are prefaced with es: for both.
AccessPolicies *string `json:"accessPolicies,omitempty" tf:"access_policies,omitempty"`
// Key-value string pairs to specify advanced configuration options.
// +mapType=granular
AdvancedOptions map[string]*string `json:"advancedOptions,omitempty" tf:"advanced_options,omitempty"`
// Configuration block for fine-grained access control. Detailed below.
AdvancedSecurityOptions []AdvancedSecurityOptionsObservation `json:"advancedSecurityOptions,omitempty" tf:"advanced_security_options,omitempty"`
// ARN of the domain.
Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`
// Configuration block for the Auto-Tune options of the domain. Detailed below.
AutoTuneOptions []AutoTuneOptionsObservation `json:"autoTuneOptions,omitempty" tf:"auto_tune_options,omitempty"`
// Configuration block for the cluster of the domain. Detailed below.
ClusterConfig []ClusterConfigObservation `json:"clusterConfig,omitempty" tf:"cluster_config,omitempty"`
// Configuration block for authenticating dashboard with Cognito. Detailed below.
CognitoOptions []CognitoOptionsObservation `json:"cognitoOptions,omitempty" tf:"cognito_options,omitempty"`
// Domain-specific endpoint for Dashboard without https scheme.
DashboardEndpoint *string `json:"dashboardEndpoint,omitempty" tf:"dashboard_endpoint,omitempty"`
// Configuration block for domain endpoint HTTP(S) related options. Detailed below.
DomainEndpointOptions []DomainEndpointOptionsObservation `json:"domainEndpointOptions,omitempty" tf:"domain_endpoint_options,omitempty"`
// Unique identifier for the domain.
DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`
// Name of the domain.
DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`
// Configuration block for EBS related options, may be required based on chosen instance size. Detailed below.
EBSOptions []EBSOptionsObservation `json:"ebsOptions,omitempty" tf:"ebs_options,omitempty"`
// Configuration block for encrypt at rest options. Only available for certain instance types. Detailed below.
EncryptAtRest []EncryptAtRestObservation `json:"encryptAtRest,omitempty" tf:"encrypt_at_rest,omitempty"`
// Domain-specific endpoint used to submit index, search, and data upload requests.
Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// while Elasticsearch has elasticsearch_version
EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// (Deprecated) Domain-specific endpoint for kibana without https scheme. Use the dashboard_endpoint attribute instead.
KibanaEndpoint *string `json:"kibanaEndpoint,omitempty" tf:"kibana_endpoint,omitempty"`
// Configuration block for publishing slow and application logs to CloudWatch Logs. This block can be declared multiple times, for each log_type, within the same resource. Detailed below.
LogPublishingOptions []LogPublishingOptionsObservation `json:"logPublishingOptions,omitempty" tf:"log_publishing_options,omitempty"`
// Configuration block for node-to-node encryption options. Detailed below.
NodeToNodeEncryption []NodeToNodeEncryptionObservation `json:"nodeToNodeEncryption,omitempty" tf:"node_to_node_encryption,omitempty"`
// Configuration to add Off Peak update options. (documentation). Detailed below.
OffPeakWindowOptions []OffPeakWindowOptionsObservation `json:"offPeakWindowOptions,omitempty" tf:"off_peak_window_options,omitempty"`
// Configuration block for snapshot related options. Detailed below. DEPRECATED. For domains running OpenSearch 5.3 and later, Amazon OpenSearch takes hourly automated snapshots, making this setting irrelevant. For domains running earlier versions, OpenSearch takes daily automated snapshots.
SnapshotOptions []SnapshotOptionsObservation `json:"snapshotOptions,omitempty" tf:"snapshot_options,omitempty"`
// Software update options for the domain. Detailed below.
SoftwareUpdateOptions []SoftwareUpdateOptionsObservation `json:"softwareUpdateOptions,omitempty" tf:"software_update_options,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"`
// Configuration block for VPC related options. Adding or removing this configuration forces a new resource (documentation). Detailed below.
VPCOptions []VPCOptionsObservation `json:"vpcOptions,omitempty" tf:"vpc_options,omitempty"`
}
type DomainParameters struct {
// Key-value string pairs to specify advanced configuration options.
// +kubebuilder:validation:Optional
// +mapType=granular
AdvancedOptions map[string]*string `json:"advancedOptions,omitempty" tf:"advanced_options,omitempty"`
// Configuration block for fine-grained access control. Detailed below.
// +kubebuilder:validation:Optional
AdvancedSecurityOptions []AdvancedSecurityOptionsParameters `json:"advancedSecurityOptions,omitempty" tf:"advanced_security_options,omitempty"`
// Configuration block for the Auto-Tune options of the domain. Detailed below.
// +kubebuilder:validation:Optional
AutoTuneOptions []AutoTuneOptionsParameters `json:"autoTuneOptions,omitempty" tf:"auto_tune_options,omitempty"`
// Configuration block for the cluster of the domain. Detailed below.
// +kubebuilder:validation:Optional
ClusterConfig []ClusterConfigParameters `json:"clusterConfig,omitempty" tf:"cluster_config,omitempty"`
// Configuration block for authenticating dashboard with Cognito. Detailed below.
// +kubebuilder:validation:Optional
CognitoOptions []CognitoOptionsParameters `json:"cognitoOptions,omitempty" tf:"cognito_options,omitempty"`
// Configuration block for domain endpoint HTTP(S) related options. Detailed below.
// +kubebuilder:validation:Optional
DomainEndpointOptions []DomainEndpointOptionsParameters `json:"domainEndpointOptions,omitempty" tf:"domain_endpoint_options,omitempty"`
// Name of the domain.
// +kubebuilder:validation:Optional
DomainName *string `json:"domainName,omitempty" tf:"domain_name,omitempty"`
// Configuration block for EBS related options, may be required based on chosen instance size. Detailed below.
// +kubebuilder:validation:Optional
EBSOptions []EBSOptionsParameters `json:"ebsOptions,omitempty" tf:"ebs_options,omitempty"`
// Configuration block for encrypt at rest options. Only available for certain instance types. Detailed below.
// +kubebuilder:validation:Optional
EncryptAtRest []EncryptAtRestParameters `json:"encryptAtRest,omitempty" tf:"encrypt_at_rest,omitempty"`
// while Elasticsearch has elasticsearch_version
// +kubebuilder:validation:Optional
EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`
// Configuration block for publishing slow and application logs to CloudWatch Logs. This block can be declared multiple times, for each log_type, within the same resource. Detailed below.
// +kubebuilder:validation:Optional
LogPublishingOptions []LogPublishingOptionsParameters `json:"logPublishingOptions,omitempty" tf:"log_publishing_options,omitempty"`
// Configuration block for node-to-node encryption options. Detailed below.
// +kubebuilder:validation:Optional
NodeToNodeEncryption []NodeToNodeEncryptionParameters `json:"nodeToNodeEncryption,omitempty" tf:"node_to_node_encryption,omitempty"`
// Configuration to add Off Peak update options. (documentation). Detailed below.
// +kubebuilder:validation:Optional
OffPeakWindowOptions []OffPeakWindowOptionsParameters `json:"offPeakWindowOptions,omitempty" tf:"off_peak_window_options,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:"-"`
// Configuration block for snapshot related options. Detailed below. DEPRECATED. For domains running OpenSearch 5.3 and later, Amazon OpenSearch takes hourly automated snapshots, making this setting irrelevant. For domains running earlier versions, OpenSearch takes daily automated snapshots.
// +kubebuilder:validation:Optional
SnapshotOptions []SnapshotOptionsParameters `json:"snapshotOptions,omitempty" tf:"snapshot_options,omitempty"`
// Software update options for the domain. Detailed below.
// +kubebuilder:validation:Optional
SoftwareUpdateOptions []SoftwareUpdateOptionsParameters `json:"softwareUpdateOptions,omitempty" tf:"software_update_options,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Configuration block for VPC related options. Adding or removing this configuration forces a new resource (documentation). Detailed below.
// +kubebuilder:validation:Optional
VPCOptions []VPCOptionsParameters `json:"vpcOptions,omitempty" tf:"vpc_options,omitempty"`
}
type DurationInitParameters struct {
// Unit of time specifying the duration of an Auto-Tune maintenance window. Valid values: HOURS.
Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
// An integer specifying the value of the duration of an Auto-Tune maintenance window.
Value *float64 `json:"value,omitempty" tf:"value,omitempty"`
}
type DurationObservation struct {
// Unit of time specifying the duration of an Auto-Tune maintenance window. Valid values: HOURS.
Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`
// An integer specifying the value of the duration of an Auto-Tune maintenance window.
Value *float64 `json:"value,omitempty" tf:"value,omitempty"`
}
type DurationParameters struct {
// Unit of time specifying the duration of an Auto-Tune maintenance window. Valid values: HOURS.
// +kubebuilder:validation:Optional
Unit *string `json:"unit" tf:"unit,omitempty"`
// An integer specifying the value of the duration of an Auto-Tune maintenance window.
// +kubebuilder:validation:Optional
Value *float64 `json:"value" tf:"value,omitempty"`
}
type EBSOptionsInitParameters struct {
// Whether EBS volumes are attached to data nodes in the domain.
EBSEnabled *bool `json:"ebsEnabled,omitempty" tf:"ebs_enabled,omitempty"`
// Baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for the GP3 and Provisioned IOPS EBS volume types.
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3 volume type.
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
// Size of EBS volumes attached to data nodes (in GiB).
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
// Type of EBS volumes attached to data nodes.
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type EBSOptionsObservation struct {
// Whether EBS volumes are attached to data nodes in the domain.
EBSEnabled *bool `json:"ebsEnabled,omitempty" tf:"ebs_enabled,omitempty"`
// Baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for the GP3 and Provisioned IOPS EBS volume types.
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3 volume type.
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
// Size of EBS volumes attached to data nodes (in GiB).
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
// Type of EBS volumes attached to data nodes.
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type EBSOptionsParameters struct {
// Whether EBS volumes are attached to data nodes in the domain.
// +kubebuilder:validation:Optional
EBSEnabled *bool `json:"ebsEnabled" tf:"ebs_enabled,omitempty"`
// Baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for the GP3 and Provisioned IOPS EBS volume types.
// +kubebuilder:validation:Optional
Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`
// Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3 volume type.
// +kubebuilder:validation:Optional
Throughput *float64 `json:"throughput,omitempty" tf:"throughput,omitempty"`
// Size of EBS volumes attached to data nodes (in GiB).
// +kubebuilder:validation:Optional
VolumeSize *float64 `json:"volumeSize,omitempty" tf:"volume_size,omitempty"`
// Type of EBS volumes attached to data nodes.
// +kubebuilder:validation:Optional
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
type EncryptAtRestInitParameters struct {
// Whether to enable encryption at rest. If the encrypt_at_rest block is not provided then this defaults to false. Enabling encryption on new domains requires an engine_version of OpenSearch_X.Y or Elasticsearch_5.1 or greater.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// KMS key ARN to encrypt the Elasticsearch domain with. If not specified then it defaults to using the aws/es service KMS key. Note that KMS will accept a KMS key ID but will return the key ARN.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
}
type EncryptAtRestObservation struct {
// Whether to enable encryption at rest. If the encrypt_at_rest block is not provided then this defaults to false. Enabling encryption on new domains requires an engine_version of OpenSearch_X.Y or Elasticsearch_5.1 or greater.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// KMS key ARN to encrypt the Elasticsearch domain with. If not specified then it defaults to using the aws/es service KMS key. Note that KMS will accept a KMS key ID but will return the key ARN.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
}
type EncryptAtRestParameters struct {
// Whether to enable encryption at rest. If the encrypt_at_rest block is not provided then this defaults to false. Enabling encryption on new domains requires an engine_version of OpenSearch_X.Y or Elasticsearch_5.1 or greater.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
// KMS key ARN to encrypt the Elasticsearch domain with. If not specified then it defaults to using the aws/es service KMS key. Note that KMS will accept a KMS key ID but will return the key ARN.
// +kubebuilder:validation:Optional
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
}
type LogPublishingOptionsInitParameters struct {
// ARN of the Cloudwatch log group to which log needs to be published.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
CloudwatchLogGroupArn *string `json:"cloudwatchLogGroupArn,omitempty" tf:"cloudwatch_log_group_arn,omitempty"`
// Reference to a Group in cloudwatchlogs to populate cloudwatchLogGroupArn.
// +kubebuilder:validation:Optional
CloudwatchLogGroupArnRef *v1.Reference `json:"cloudwatchLogGroupArnRef,omitempty" tf:"-"`
// Selector for a Group in cloudwatchlogs to populate cloudwatchLogGroupArn.
// +kubebuilder:validation:Optional
CloudwatchLogGroupArnSelector *v1.Selector `json:"cloudwatchLogGroupArnSelector,omitempty" tf:"-"`
// Whether given log publishing option is enabled or not.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Type of OpenSearch log. Valid values: INDEX_SLOW_LOGS, SEARCH_SLOW_LOGS, ES_APPLICATION_LOGS, AUDIT_LOGS.
LogType *string `json:"logType,omitempty" tf:"log_type,omitempty"`
}
type LogPublishingOptionsObservation struct {
// ARN of the Cloudwatch log group to which log needs to be published.
CloudwatchLogGroupArn *string `json:"cloudwatchLogGroupArn,omitempty" tf:"cloudwatch_log_group_arn,omitempty"`
// Whether given log publishing option is enabled or not.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Type of OpenSearch log. Valid values: INDEX_SLOW_LOGS, SEARCH_SLOW_LOGS, ES_APPLICATION_LOGS, AUDIT_LOGS.
LogType *string `json:"logType,omitempty" tf:"log_type,omitempty"`
}
type LogPublishingOptionsParameters struct {
// ARN of the Cloudwatch log group to which log needs to be published.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1.Group
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
// +kubebuilder:validation:Optional
CloudwatchLogGroupArn *string `json:"cloudwatchLogGroupArn,omitempty" tf:"cloudwatch_log_group_arn,omitempty"`
// Reference to a Group in cloudwatchlogs to populate cloudwatchLogGroupArn.
// +kubebuilder:validation:Optional
CloudwatchLogGroupArnRef *v1.Reference `json:"cloudwatchLogGroupArnRef,omitempty" tf:"-"`
// Selector for a Group in cloudwatchlogs to populate cloudwatchLogGroupArn.
// +kubebuilder:validation:Optional
CloudwatchLogGroupArnSelector *v1.Selector `json:"cloudwatchLogGroupArnSelector,omitempty" tf:"-"`
// Whether given log publishing option is enabled or not.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Type of OpenSearch log. Valid values: INDEX_SLOW_LOGS, SEARCH_SLOW_LOGS, ES_APPLICATION_LOGS, AUDIT_LOGS.
// +kubebuilder:validation:Optional
LogType *string `json:"logType" tf:"log_type,omitempty"`
}
type MaintenanceScheduleInitParameters struct {
// A cron expression specifying the recurrence pattern for an Auto-Tune maintenance schedule.
CronExpressionForRecurrence *string `json:"cronExpressionForRecurrence,omitempty" tf:"cron_expression_for_recurrence,omitempty"`
// Configuration block for the duration of the Auto-Tune maintenance window. Detailed below.
Duration []DurationInitParameters `json:"duration,omitempty" tf:"duration,omitempty"`
// Date and time at which to start the Auto-Tune maintenance schedule in RFC3339 format.
StartAt *string `json:"startAt,omitempty" tf:"start_at,omitempty"`
}
type MaintenanceScheduleObservation struct {
// A cron expression specifying the recurrence pattern for an Auto-Tune maintenance schedule.
CronExpressionForRecurrence *string `json:"cronExpressionForRecurrence,omitempty" tf:"cron_expression_for_recurrence,omitempty"`
// Configuration block for the duration of the Auto-Tune maintenance window. Detailed below.
Duration []DurationObservation `json:"duration,omitempty" tf:"duration,omitempty"`
// Date and time at which to start the Auto-Tune maintenance schedule in RFC3339 format.
StartAt *string `json:"startAt,omitempty" tf:"start_at,omitempty"`
}
type MaintenanceScheduleParameters struct {
// A cron expression specifying the recurrence pattern for an Auto-Tune maintenance schedule.
// +kubebuilder:validation:Optional
CronExpressionForRecurrence *string `json:"cronExpressionForRecurrence" tf:"cron_expression_for_recurrence,omitempty"`
// Configuration block for the duration of the Auto-Tune maintenance window. Detailed below.
// +kubebuilder:validation:Optional
Duration []DurationParameters `json:"duration" tf:"duration,omitempty"`
// Date and time at which to start the Auto-Tune maintenance schedule in RFC3339 format.
// +kubebuilder:validation:Optional
StartAt *string `json:"startAt" tf:"start_at,omitempty"`
}
type MasterUserOptionsInitParameters struct {
// ARN for the main user. Only specify if internal_user_database_enabled is not set or set to false.
MasterUserArn *string `json:"masterUserArn,omitempty" tf:"master_user_arn,omitempty"`
// Main user's username, which is stored in the Amazon OpenSearch Service domain's internal database. Only specify if internal_user_database_enabled is set to true.
MasterUserName *string `json:"masterUserName,omitempty" tf:"master_user_name,omitempty"`
}
type MasterUserOptionsObservation struct {
// ARN for the main user. Only specify if internal_user_database_enabled is not set or set to false.
MasterUserArn *string `json:"masterUserArn,omitempty" tf:"master_user_arn,omitempty"`
// Main user's username, which is stored in the Amazon OpenSearch Service domain's internal database. Only specify if internal_user_database_enabled is set to true.
MasterUserName *string `json:"masterUserName,omitempty" tf:"master_user_name,omitempty"`
}
type MasterUserOptionsParameters struct {
// ARN for the main user. Only specify if internal_user_database_enabled is not set or set to false.
// +kubebuilder:validation:Optional
MasterUserArn *string `json:"masterUserArn,omitempty" tf:"master_user_arn,omitempty"`
// Main user's username, which is stored in the Amazon OpenSearch Service domain's internal database. Only specify if internal_user_database_enabled is set to true.
// +kubebuilder:validation:Optional
MasterUserName *string `json:"masterUserName,omitempty" tf:"master_user_name,omitempty"`
// Main user's password, which is stored in the Amazon OpenSearch Service domain's internal database. Only specify if internal_user_database_enabled is set to true.
// +kubebuilder:validation:Optional
MasterUserPasswordSecretRef *v1.SecretKeySelector `json:"masterUserPasswordSecretRef,omitempty" tf:"-"`
}
type NodeToNodeEncryptionInitParameters struct {
// Whether to enable node-to-node encryption. If the node_to_node_encryption block is not provided then this defaults to false. Enabling node-to-node encryption of a new domain requires an engine_version of OpenSearch_X.Y or Elasticsearch_6.0 or greater.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodeToNodeEncryptionObservation struct {
// Whether to enable node-to-node encryption. If the node_to_node_encryption block is not provided then this defaults to false. Enabling node-to-node encryption of a new domain requires an engine_version of OpenSearch_X.Y or Elasticsearch_6.0 or greater.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}
type NodeToNodeEncryptionParameters struct {
// Whether to enable node-to-node encryption. If the node_to_node_encryption block is not provided then this defaults to false. Enabling node-to-node encryption of a new domain requires an engine_version of OpenSearch_X.Y or Elasticsearch_6.0 or greater.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
}
type OffPeakWindowInitParameters struct {
// 10h window for updates
WindowStartTime []WindowStartTimeInitParameters `json:"windowStartTime,omitempty" tf:"window_start_time,omitempty"`
}
type OffPeakWindowObservation struct {
// 10h window for updates
WindowStartTime []WindowStartTimeObservation `json:"windowStartTime,omitempty" tf:"window_start_time,omitempty"`
}
type OffPeakWindowOptionsInitParameters struct {
// Enabled disabled toggle for off-peak update window.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
OffPeakWindow []OffPeakWindowInitParameters `json:"offPeakWindow,omitempty" tf:"off_peak_window,omitempty"`
}
type OffPeakWindowOptionsObservation struct {
// Enabled disabled toggle for off-peak update window.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
OffPeakWindow []OffPeakWindowObservation `json:"offPeakWindow,omitempty" tf:"off_peak_window,omitempty"`
}
type OffPeakWindowOptionsParameters struct {
// Enabled disabled toggle for off-peak update window.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// +kubebuilder:validation:Optional
OffPeakWindow []OffPeakWindowParameters `json:"offPeakWindow,omitempty" tf:"off_peak_window,omitempty"`
}
type OffPeakWindowParameters struct {
// 10h window for updates
// +kubebuilder:validation:Optional
WindowStartTime []WindowStartTimeParameters `json:"windowStartTime,omitempty" tf:"window_start_time,omitempty"`
}
type SnapshotOptionsInitParameters struct {
// Hour during which the service takes an automated daily snapshot of the indices in the domain.
AutomatedSnapshotStartHour *float64 `json:"automatedSnapshotStartHour,omitempty" tf:"automated_snapshot_start_hour,omitempty"`
}
type SnapshotOptionsObservation struct {
// Hour during which the service takes an automated daily snapshot of the indices in the domain.
AutomatedSnapshotStartHour *float64 `json:"automatedSnapshotStartHour,omitempty" tf:"automated_snapshot_start_hour,omitempty"`
}
type SnapshotOptionsParameters struct {
// Hour during which the service takes an automated daily snapshot of the indices in the domain.
// +kubebuilder:validation:Optional
AutomatedSnapshotStartHour *float64 `json:"automatedSnapshotStartHour" tf:"automated_snapshot_start_hour,omitempty"`
}
type SoftwareUpdateOptionsInitParameters struct {
// Whether automatic service software updates are enabled for the domain. Defaults to false.
AutoSoftwareUpdateEnabled *bool `json:"autoSoftwareUpdateEnabled,omitempty" tf:"auto_software_update_enabled,omitempty"`
}
type SoftwareUpdateOptionsObservation struct {
// Whether automatic service software updates are enabled for the domain. Defaults to false.
AutoSoftwareUpdateEnabled *bool `json:"autoSoftwareUpdateEnabled,omitempty" tf:"auto_software_update_enabled,omitempty"`
}
type SoftwareUpdateOptionsParameters struct {
// Whether automatic service software updates are enabled for the domain. Defaults to false.
// +kubebuilder:validation:Optional
AutoSoftwareUpdateEnabled *bool `json:"autoSoftwareUpdateEnabled,omitempty" tf:"auto_software_update_enabled,omitempty"`
}
type VPCOptionsInitParameters struct {
// List of VPC Security Group IDs to be applied to the OpenSearch domain endpoints. If omitted, the default Security Group for the VPC will be used.
// +listType=set
SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`
// List of VPC Subnet IDs for the OpenSearch domain endpoints to be created in.
// +listType=set
SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
}
type VPCOptionsObservation struct {
// If the domain was created inside a VPC, the names of the availability zones the configured subnet_ids were created inside.
// +listType=set
AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`
// List of VPC Security Group IDs to be applied to the OpenSearch domain endpoints. If omitted, the default Security Group for the VPC will be used.
// +listType=set
SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`
// List of VPC Subnet IDs for the OpenSearch domain endpoints to be created in.
// +listType=set
SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
// If the domain was created inside a VPC, the ID of the VPC.
VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}
type VPCOptionsParameters struct {
// List of VPC Security Group IDs to be applied to the OpenSearch domain endpoints. If omitted, the default Security Group for the VPC will be used.
// +kubebuilder:validation:Optional
// +listType=set
SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`
// List of VPC Subnet IDs for the OpenSearch domain endpoints to be created in.
// +kubebuilder:validation:Optional
// +listType=set
SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
}
type WindowStartTimeInitParameters struct {
// Starting hour of the 10-hour window for updates
Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"`
// Starting minute of the 10-hour window for updates
Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"`
}
type WindowStartTimeObservation struct {
// Starting hour of the 10-hour window for updates
Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"`
// Starting minute of the 10-hour window for updates
Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"`
}
type WindowStartTimeParameters struct {
// Starting hour of the 10-hour window for updates
// +kubebuilder:validation:Optional
Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"`
// Starting minute of the 10-hour window for updates
// +kubebuilder:validation:Optional
Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"`
}
type ZoneAwarenessConfigInitParameters struct {
// Number of Availability Zones for the domain to use with zone_awareness_enabled. Defaults to 2. Valid values: 2 or 3.
AvailabilityZoneCount *float64 `json:"availabilityZoneCount,omitempty" tf:"availability_zone_count,omitempty"`
}
type ZoneAwarenessConfigObservation struct {
// Number of Availability Zones for the domain to use with zone_awareness_enabled. Defaults to 2. Valid values: 2 or 3.