-
Notifications
You must be signed in to change notification settings - Fork 112
/
zz_cluster_types.go
executable file
·780 lines (580 loc) · 45.7 KB
/
zz_cluster_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
// 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 ClusterInitParameters struct {
// If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true.
AllowVersionUpgrade *bool `json:"allowVersionUpgrade,omitempty" tf:"allow_version_upgrade,omitempty"`
// Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is false.
ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`
// The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored.
// No longer supported by the AWS API.
// Always returns auto.
AquaConfigurationStatus *string `json:"aquaConfigurationStatus,omitempty" tf:"aqua_configuration_status,omitempty"`
// The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.
AutomatedSnapshotRetentionPeriod *float64 `json:"automatedSnapshotRetentionPeriod,omitempty" tf:"automated_snapshot_retention_period,omitempty"`
// The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. Can only be changed if availability_zone_relocation_enabled is true.
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// If true, the cluster can be relocated to another availabity zone, either automatically by AWS or when requested. Default is false. Available for use on clusters from the RA3 instance family.
AvailabilityZoneRelocationEnabled *bool `json:"availabilityZoneRelocationEnabled,omitempty" tf:"availability_zone_relocation_enabled,omitempty"`
// The name of the parameter group to be associated with this cluster.
ClusterParameterGroupName *string `json:"clusterParameterGroupName,omitempty" tf:"cluster_parameter_group_name,omitempty"`
// The public key for the cluster
ClusterPublicKey *string `json:"clusterPublicKey,omitempty" tf:"cluster_public_key,omitempty"`
// The specific revision number of the database in the cluster
ClusterRevisionNumber *string `json:"clusterRevisionNumber,omitempty" tf:"cluster_revision_number,omitempty"`
// The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
ClusterSubnetGroupName *string `json:"clusterSubnetGroupName,omitempty" tf:"cluster_subnet_group_name,omitempty"`
// The cluster type to use. Either single-node or multi-node.
ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type,omitempty"`
// The version of the Amazon Redshift engine software that you want to deploy on the cluster.
// The version selected runs on all the nodes in the cluster.
ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`
// The name of the first database to be created when the cluster is created.
// If you do not provide a name, Amazon Redshift will create a default database called dev.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created.
// +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()
DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"`
// Reference to a Role in iam to populate defaultIamRoleArn.
// +kubebuilder:validation:Optional
DefaultIAMRoleArnRef *v1.Reference `json:"defaultIamRoleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate defaultIamRoleArn.
// +kubebuilder:validation:Optional
DefaultIAMRoleArnSelector *v1.Selector `json:"defaultIamRoleArnSelector,omitempty" tf:"-"`
// The Elastic IP (EIP) address for the cluster.
ElasticIP *string `json:"elasticIp,omitempty" tf:"elastic_ip,omitempty"`
// If true , the data in the cluster is encrypted at rest.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The connection endpoint
Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// If true , enhanced VPC routing is enabled.
EnhancedVPCRouting *bool `json:"enhancedVpcRouting,omitempty" tf:"enhanced_vpc_routing,omitempty"`
// The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, skip_final_snapshot must be false.
FinalSnapshotIdentifier *string `json:"finalSnapshotIdentifier,omitempty" tf:"final_snapshot_identifier,omitempty"`
// References to Role in iam to populate iamRoles.
// +kubebuilder:validation:Optional
IAMRoleRefs []v1.Reference `json:"iamRoleRefs,omitempty" tf:"-"`
// Selector for a list of Role in iam to populate iamRoles.
// +kubebuilder:validation:Optional
IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"`
// A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:refFieldName=IAMRoleRefs
// +crossplane:generate:reference:selectorFieldName=IAMRoleSelector
// +listType=set
IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"`
// The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// Reference to a Key in kms to populate kmsKeyId.
// +kubebuilder:validation:Optional
KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`
// Selector for a Key in kms to populate kmsKeyId.
// +kubebuilder:validation:Optional
KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`
// Logging, documented below.
Logging []LoggingInitParameters `json:"logging,omitempty" tf:"logging,omitempty"`
// The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the MaintenanceTrack value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks. Default value is current.
MaintenanceTrackName *string `json:"maintenanceTrackName,omitempty" tf:"maintenance_track_name,omitempty"`
// Whether to use AWS SecretsManager to manage the cluster admin credentials.
// Conflicts with master_password.
// One of master_password or manage_master_password is required unless snapshot_identifier is provided.
ManageMasterPassword *bool `json:"manageMasterPassword,omitempty" tf:"manage_master_password,omitempty"`
// The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. Valid values are between -1 and 3653. Default value is -1.
ManualSnapshotRetentionPeriod *float64 `json:"manualSnapshotRetentionPeriod,omitempty" tf:"manual_snapshot_retention_period,omitempty"`
// ID of the KMS key used to encrypt the cluster admin credentials secret.
MasterPasswordSecretKMSKeyID *string `json:"masterPasswordSecretKmsKeyId,omitempty" tf:"master_password_secret_kms_key_id,omitempty"`
// Password for the master DB user.
// Conflicts with manage_master_password.
// One of master_password or manage_master_password is required unless snapshot_identifier is provided.
// Note that this may show up in logs, and it will be stored in the state file.
// Password must contain at least 8 characters and contain at least one uppercase letter, one lowercase letter, and one number.
MasterPasswordSecretRef *v1.SecretKeySelector `json:"masterPasswordSecretRef,omitempty" tf:"-"`
// Username for the master DB user.
MasterUsername *string `json:"masterUsername,omitempty" tf:"master_username,omitempty"`
// Specifies if the Redshift cluster is multi-AZ.
MultiAz *bool `json:"multiAz,omitempty" tf:"multi_az,omitempty"`
// The node type to be provisioned for the cluster.
NodeType *string `json:"nodeType,omitempty" tf:"node_type,omitempty"`
// The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.
NumberOfNodes *float64 `json:"numberOfNodes,omitempty" tf:"number_of_nodes,omitempty"`
// The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
OwnerAccount *string `json:"ownerAccount,omitempty" tf:"owner_account,omitempty"`
// The port number on which the cluster accepts incoming connections. Valid values are between 1115 and 65535.
// The cluster is accessible only via the JDBC and ODBC connection strings.
// Part of the connection string requires the port on which the cluster will listen for incoming connections.
// Default port is 5439.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The weekly time range (in UTC) during which automated cluster maintenance can occur.
// Format: ddd:hh24:mi-ddd:hh24:mi
PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"`
// If true, the cluster can be accessed from a public network. Default is true.
PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"`
// Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.
SkipFinalSnapshot *bool `json:"skipFinalSnapshot,omitempty" tf:"skip_final_snapshot,omitempty"`
// The ARN of the snapshot from which to create the new cluster. Conflicts with snapshot_identifier.
SnapshotArn *string `json:"snapshotArn,omitempty" tf:"snapshot_arn,omitempty"`
// The name of the cluster the source snapshot was created from.
SnapshotClusterIdentifier *string `json:"snapshotClusterIdentifier,omitempty" tf:"snapshot_cluster_identifier,omitempty"`
// Configuration of automatic copy of snapshots from one region to another. Documented below.
SnapshotCopy []SnapshotCopyInitParameters `json:"snapshotCopy,omitempty" tf:"snapshot_copy,omitempty"`
// The name of the snapshot from which to create the new cluster. Conflicts with snapshot_arn.
SnapshotIdentifier *string `json:"snapshotIdentifier,omitempty" tf:"snapshot_identifier,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"`
// Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"`
// A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
// +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs
// +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
}
type ClusterNodesInitParameters struct {
}
type ClusterNodesObservation struct {
// Whether the node is a leader node or a compute node
NodeRole *string `json:"nodeRole,omitempty" tf:"node_role,omitempty"`
// The private IP address of a node within a cluster
PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"`
// The public IP address of a node within a cluster
PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"`
}
type ClusterNodesParameters struct {
}
type ClusterObservation struct {
// If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true.
AllowVersionUpgrade *bool `json:"allowVersionUpgrade,omitempty" tf:"allow_version_upgrade,omitempty"`
// Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is false.
ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`
// The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored.
// No longer supported by the AWS API.
// Always returns auto.
AquaConfigurationStatus *string `json:"aquaConfigurationStatus,omitempty" tf:"aqua_configuration_status,omitempty"`
// Amazon Resource Name (ARN) of cluster
Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`
// The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.
AutomatedSnapshotRetentionPeriod *float64 `json:"automatedSnapshotRetentionPeriod,omitempty" tf:"automated_snapshot_retention_period,omitempty"`
// The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. Can only be changed if availability_zone_relocation_enabled is true.
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// If true, the cluster can be relocated to another availabity zone, either automatically by AWS or when requested. Default is false. Available for use on clusters from the RA3 instance family.
AvailabilityZoneRelocationEnabled *bool `json:"availabilityZoneRelocationEnabled,omitempty" tf:"availability_zone_relocation_enabled,omitempty"`
// The namespace Amazon Resource Name (ARN) of the cluster
ClusterNamespaceArn *string `json:"clusterNamespaceArn,omitempty" tf:"cluster_namespace_arn,omitempty"`
// The nodes in the cluster. Cluster node blocks are documented below
ClusterNodes []ClusterNodesObservation `json:"clusterNodes,omitempty" tf:"cluster_nodes,omitempty"`
// The name of the parameter group to be associated with this cluster.
ClusterParameterGroupName *string `json:"clusterParameterGroupName,omitempty" tf:"cluster_parameter_group_name,omitempty"`
// The public key for the cluster
ClusterPublicKey *string `json:"clusterPublicKey,omitempty" tf:"cluster_public_key,omitempty"`
// The specific revision number of the database in the cluster
ClusterRevisionNumber *string `json:"clusterRevisionNumber,omitempty" tf:"cluster_revision_number,omitempty"`
// The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
ClusterSubnetGroupName *string `json:"clusterSubnetGroupName,omitempty" tf:"cluster_subnet_group_name,omitempty"`
// The cluster type to use. Either single-node or multi-node.
ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type,omitempty"`
// The version of the Amazon Redshift engine software that you want to deploy on the cluster.
// The version selected runs on all the nodes in the cluster.
ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`
// The DNS name of the cluster
DNSName *string `json:"dnsName,omitempty" tf:"dns_name,omitempty"`
// The name of the first database to be created when the cluster is created.
// If you do not provide a name, Amazon Redshift will create a default database called dev.
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created.
DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"`
// The Elastic IP (EIP) address for the cluster.
ElasticIP *string `json:"elasticIp,omitempty" tf:"elastic_ip,omitempty"`
// If true , the data in the cluster is encrypted at rest.
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The connection endpoint
Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// If true , enhanced VPC routing is enabled.
EnhancedVPCRouting *bool `json:"enhancedVpcRouting,omitempty" tf:"enhanced_vpc_routing,omitempty"`
// The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, skip_final_snapshot must be false.
FinalSnapshotIdentifier *string `json:"finalSnapshotIdentifier,omitempty" tf:"final_snapshot_identifier,omitempty"`
// A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
// +listType=set
IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"`
// The Redshift Cluster ID.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// Logging, documented below.
Logging []LoggingObservation `json:"logging,omitempty" tf:"logging,omitempty"`
// The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the MaintenanceTrack value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks. Default value is current.
MaintenanceTrackName *string `json:"maintenanceTrackName,omitempty" tf:"maintenance_track_name,omitempty"`
// Whether to use AWS SecretsManager to manage the cluster admin credentials.
// Conflicts with master_password.
// One of master_password or manage_master_password is required unless snapshot_identifier is provided.
ManageMasterPassword *bool `json:"manageMasterPassword,omitempty" tf:"manage_master_password,omitempty"`
// The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. Valid values are between -1 and 3653. Default value is -1.
ManualSnapshotRetentionPeriod *float64 `json:"manualSnapshotRetentionPeriod,omitempty" tf:"manual_snapshot_retention_period,omitempty"`
// ARN of the cluster admin credentials secret
MasterPasswordSecretArn *string `json:"masterPasswordSecretArn,omitempty" tf:"master_password_secret_arn,omitempty"`
// ID of the KMS key used to encrypt the cluster admin credentials secret.
MasterPasswordSecretKMSKeyID *string `json:"masterPasswordSecretKmsKeyId,omitempty" tf:"master_password_secret_kms_key_id,omitempty"`
// Username for the master DB user.
MasterUsername *string `json:"masterUsername,omitempty" tf:"master_username,omitempty"`
// Specifies if the Redshift cluster is multi-AZ.
MultiAz *bool `json:"multiAz,omitempty" tf:"multi_az,omitempty"`
// The node type to be provisioned for the cluster.
NodeType *string `json:"nodeType,omitempty" tf:"node_type,omitempty"`
// The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.
NumberOfNodes *float64 `json:"numberOfNodes,omitempty" tf:"number_of_nodes,omitempty"`
// The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
OwnerAccount *string `json:"ownerAccount,omitempty" tf:"owner_account,omitempty"`
// The port number on which the cluster accepts incoming connections. Valid values are between 1115 and 65535.
// The cluster is accessible only via the JDBC and ODBC connection strings.
// Part of the connection string requires the port on which the cluster will listen for incoming connections.
// Default port is 5439.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The weekly time range (in UTC) during which automated cluster maintenance can occur.
// Format: ddd:hh24:mi-ddd:hh24:mi
PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"`
// If true, the cluster can be accessed from a public network. Default is true.
PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"`
// Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.
SkipFinalSnapshot *bool `json:"skipFinalSnapshot,omitempty" tf:"skip_final_snapshot,omitempty"`
// The ARN of the snapshot from which to create the new cluster. Conflicts with snapshot_identifier.
SnapshotArn *string `json:"snapshotArn,omitempty" tf:"snapshot_arn,omitempty"`
// The name of the cluster the source snapshot was created from.
SnapshotClusterIdentifier *string `json:"snapshotClusterIdentifier,omitempty" tf:"snapshot_cluster_identifier,omitempty"`
// Configuration of automatic copy of snapshots from one region to another. Documented below.
SnapshotCopy []SnapshotCopyObservation `json:"snapshotCopy,omitempty" tf:"snapshot_copy,omitempty"`
// The name of the snapshot from which to create the new cluster. Conflicts with snapshot_arn.
SnapshotIdentifier *string `json:"snapshotIdentifier,omitempty" tf:"snapshot_identifier,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// A 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"`
// A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
}
type ClusterParameters struct {
// If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true.
// +kubebuilder:validation:Optional
AllowVersionUpgrade *bool `json:"allowVersionUpgrade,omitempty" tf:"allow_version_upgrade,omitempty"`
// Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is false.
// +kubebuilder:validation:Optional
ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`
// The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored.
// No longer supported by the AWS API.
// Always returns auto.
// +kubebuilder:validation:Optional
AquaConfigurationStatus *string `json:"aquaConfigurationStatus,omitempty" tf:"aqua_configuration_status,omitempty"`
// The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.
// +kubebuilder:validation:Optional
AutomatedSnapshotRetentionPeriod *float64 `json:"automatedSnapshotRetentionPeriod,omitempty" tf:"automated_snapshot_retention_period,omitempty"`
// The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. Can only be changed if availability_zone_relocation_enabled is true.
// +kubebuilder:validation:Optional
AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
// If true, the cluster can be relocated to another availabity zone, either automatically by AWS or when requested. Default is false. Available for use on clusters from the RA3 instance family.
// +kubebuilder:validation:Optional
AvailabilityZoneRelocationEnabled *bool `json:"availabilityZoneRelocationEnabled,omitempty" tf:"availability_zone_relocation_enabled,omitempty"`
// The name of the parameter group to be associated with this cluster.
// +kubebuilder:validation:Optional
ClusterParameterGroupName *string `json:"clusterParameterGroupName,omitempty" tf:"cluster_parameter_group_name,omitempty"`
// The public key for the cluster
// +kubebuilder:validation:Optional
ClusterPublicKey *string `json:"clusterPublicKey,omitempty" tf:"cluster_public_key,omitempty"`
// The specific revision number of the database in the cluster
// +kubebuilder:validation:Optional
ClusterRevisionNumber *string `json:"clusterRevisionNumber,omitempty" tf:"cluster_revision_number,omitempty"`
// The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
// +kubebuilder:validation:Optional
ClusterSubnetGroupName *string `json:"clusterSubnetGroupName,omitempty" tf:"cluster_subnet_group_name,omitempty"`
// The cluster type to use. Either single-node or multi-node.
// +kubebuilder:validation:Optional
ClusterType *string `json:"clusterType,omitempty" tf:"cluster_type,omitempty"`
// The version of the Amazon Redshift engine software that you want to deploy on the cluster.
// The version selected runs on all the nodes in the cluster.
// +kubebuilder:validation:Optional
ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`
// The name of the first database to be created when the cluster is created.
// If you do not provide a name, Amazon Redshift will create a default database called dev.
// +kubebuilder:validation:Optional
DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
// The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created.
// +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
DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"`
// Reference to a Role in iam to populate defaultIamRoleArn.
// +kubebuilder:validation:Optional
DefaultIAMRoleArnRef *v1.Reference `json:"defaultIamRoleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate defaultIamRoleArn.
// +kubebuilder:validation:Optional
DefaultIAMRoleArnSelector *v1.Selector `json:"defaultIamRoleArnSelector,omitempty" tf:"-"`
// The Elastic IP (EIP) address for the cluster.
// +kubebuilder:validation:Optional
ElasticIP *string `json:"elasticIp,omitempty" tf:"elastic_ip,omitempty"`
// If true , the data in the cluster is encrypted at rest.
// +kubebuilder:validation:Optional
Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
// The connection endpoint
// +kubebuilder:validation:Optional
Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// If true , enhanced VPC routing is enabled.
// +kubebuilder:validation:Optional
EnhancedVPCRouting *bool `json:"enhancedVpcRouting,omitempty" tf:"enhanced_vpc_routing,omitempty"`
// The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, skip_final_snapshot must be false.
// +kubebuilder:validation:Optional
FinalSnapshotIdentifier *string `json:"finalSnapshotIdentifier,omitempty" tf:"final_snapshot_identifier,omitempty"`
// References to Role in iam to populate iamRoles.
// +kubebuilder:validation:Optional
IAMRoleRefs []v1.Reference `json:"iamRoleRefs,omitempty" tf:"-"`
// Selector for a list of Role in iam to populate iamRoles.
// +kubebuilder:validation:Optional
IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"`
// A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:refFieldName=IAMRoleRefs
// +crossplane:generate:reference:selectorFieldName=IAMRoleSelector
// +kubebuilder:validation:Optional
// +listType=set
IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"`
// The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
// +kubebuilder:validation:Optional
KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`
// Reference to a Key in kms to populate kmsKeyId.
// +kubebuilder:validation:Optional
KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`
// Selector for a Key in kms to populate kmsKeyId.
// +kubebuilder:validation:Optional
KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`
// Logging, documented below.
// +kubebuilder:validation:Optional
Logging []LoggingParameters `json:"logging,omitempty" tf:"logging,omitempty"`
// The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the MaintenanceTrack value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks. Default value is current.
// +kubebuilder:validation:Optional
MaintenanceTrackName *string `json:"maintenanceTrackName,omitempty" tf:"maintenance_track_name,omitempty"`
// Whether to use AWS SecretsManager to manage the cluster admin credentials.
// Conflicts with master_password.
// One of master_password or manage_master_password is required unless snapshot_identifier is provided.
// +kubebuilder:validation:Optional
ManageMasterPassword *bool `json:"manageMasterPassword,omitempty" tf:"manage_master_password,omitempty"`
// The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. Valid values are between -1 and 3653. Default value is -1.
// +kubebuilder:validation:Optional
ManualSnapshotRetentionPeriod *float64 `json:"manualSnapshotRetentionPeriod,omitempty" tf:"manual_snapshot_retention_period,omitempty"`
// ID of the KMS key used to encrypt the cluster admin credentials secret.
// +kubebuilder:validation:Optional
MasterPasswordSecretKMSKeyID *string `json:"masterPasswordSecretKmsKeyId,omitempty" tf:"master_password_secret_kms_key_id,omitempty"`
// Password for the master DB user.
// Conflicts with manage_master_password.
// One of master_password or manage_master_password is required unless snapshot_identifier is provided.
// Note that this may show up in logs, and it will be stored in the state file.
// Password must contain at least 8 characters and contain at least one uppercase letter, one lowercase letter, and one number.
// +kubebuilder:validation:Optional
MasterPasswordSecretRef *v1.SecretKeySelector `json:"masterPasswordSecretRef,omitempty" tf:"-"`
// Username for the master DB user.
// +kubebuilder:validation:Optional
MasterUsername *string `json:"masterUsername,omitempty" tf:"master_username,omitempty"`
// Specifies if the Redshift cluster is multi-AZ.
// +kubebuilder:validation:Optional
MultiAz *bool `json:"multiAz,omitempty" tf:"multi_az,omitempty"`
// The node type to be provisioned for the cluster.
// +kubebuilder:validation:Optional
NodeType *string `json:"nodeType,omitempty" tf:"node_type,omitempty"`
// The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.
// +kubebuilder:validation:Optional
NumberOfNodes *float64 `json:"numberOfNodes,omitempty" tf:"number_of_nodes,omitempty"`
// The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
// +kubebuilder:validation:Optional
OwnerAccount *string `json:"ownerAccount,omitempty" tf:"owner_account,omitempty"`
// The port number on which the cluster accepts incoming connections. Valid values are between 1115 and 65535.
// The cluster is accessible only via the JDBC and ODBC connection strings.
// Part of the connection string requires the port on which the cluster will listen for incoming connections.
// Default port is 5439.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// The weekly time range (in UTC) during which automated cluster maintenance can occur.
// Format: ddd:hh24:mi-ddd:hh24:mi
// +kubebuilder:validation:Optional
PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"`
// If true, the cluster can be accessed from a public network. Default is true.
// +kubebuilder:validation:Optional
PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,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:"-"`
// Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.
// +kubebuilder:validation:Optional
SkipFinalSnapshot *bool `json:"skipFinalSnapshot,omitempty" tf:"skip_final_snapshot,omitempty"`
// The ARN of the snapshot from which to create the new cluster. Conflicts with snapshot_identifier.
// +kubebuilder:validation:Optional
SnapshotArn *string `json:"snapshotArn,omitempty" tf:"snapshot_arn,omitempty"`
// The name of the cluster the source snapshot was created from.
// +kubebuilder:validation:Optional
SnapshotClusterIdentifier *string `json:"snapshotClusterIdentifier,omitempty" tf:"snapshot_cluster_identifier,omitempty"`
// Configuration of automatic copy of snapshots from one region to another. Documented below.
// +kubebuilder:validation:Optional
SnapshotCopy []SnapshotCopyParameters `json:"snapshotCopy,omitempty" tf:"snapshot_copy,omitempty"`
// The name of the snapshot from which to create the new cluster. Conflicts with snapshot_arn.
// +kubebuilder:validation:Optional
SnapshotIdentifier *string `json:"snapshotIdentifier,omitempty" tf:"snapshot_identifier,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"`
// Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.
// +kubebuilder:validation:Optional
VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"`
// A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
// +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs
// +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector
// +kubebuilder:validation:Optional
// +listType=set
VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
}
type LoggingInitParameters struct {
// The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions.
// For more information on the permissions required for the bucket, please read the AWS documentation
BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`
// Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster.
Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
// The log destination type. An enum with possible values of s3 and cloudwatch.
LogDestinationType *string `json:"logDestinationType,omitempty" tf:"log_destination_type,omitempty"`
// The collection of exported log types. Log types include the connection log, user log and user activity log. Required when log_destination_type is cloudwatch. Valid log types are connectionlog, userlog, and useractivitylog.
// +listType=set
LogExports []*string `json:"logExports,omitempty" tf:"log_exports,omitempty"`
// The prefix applied to the log file names.
S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"`
}
type LoggingObservation struct {
// The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions.
// For more information on the permissions required for the bucket, please read the AWS documentation
BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`
// Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster.
Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
// The log destination type. An enum with possible values of s3 and cloudwatch.
LogDestinationType *string `json:"logDestinationType,omitempty" tf:"log_destination_type,omitempty"`
// The collection of exported log types. Log types include the connection log, user log and user activity log. Required when log_destination_type is cloudwatch. Valid log types are connectionlog, userlog, and useractivitylog.
// +listType=set
LogExports []*string `json:"logExports,omitempty" tf:"log_exports,omitempty"`
// The prefix applied to the log file names.
S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"`
}
type LoggingParameters struct {
// The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions.
// For more information on the permissions required for the bucket, please read the AWS documentation
// +kubebuilder:validation:Optional
BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`
// Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster.
// +kubebuilder:validation:Optional
Enable *bool `json:"enable" tf:"enable,omitempty"`
// The log destination type. An enum with possible values of s3 and cloudwatch.
// +kubebuilder:validation:Optional
LogDestinationType *string `json:"logDestinationType,omitempty" tf:"log_destination_type,omitempty"`
// The collection of exported log types. Log types include the connection log, user log and user activity log. Required when log_destination_type is cloudwatch. Valid log types are connectionlog, userlog, and useractivitylog.
// +kubebuilder:validation:Optional
// +listType=set
LogExports []*string `json:"logExports,omitempty" tf:"log_exports,omitempty"`
// The prefix applied to the log file names.
// +kubebuilder:validation:Optional
S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"`
}
type SnapshotCopyInitParameters struct {
// The destination region that you want to copy snapshots to.
DestinationRegion *string `json:"destinationRegion,omitempty" tf:"destination_region,omitempty"`
// The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
GrantName *string `json:"grantName,omitempty" tf:"grant_name,omitempty"`
// The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to 7.
RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}
type SnapshotCopyObservation struct {
// The destination region that you want to copy snapshots to.
DestinationRegion *string `json:"destinationRegion,omitempty" tf:"destination_region,omitempty"`
// The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
GrantName *string `json:"grantName,omitempty" tf:"grant_name,omitempty"`
// The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to 7.
RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}
type SnapshotCopyParameters struct {
// The destination region that you want to copy snapshots to.
// +kubebuilder:validation:Optional
DestinationRegion *string `json:"destinationRegion" tf:"destination_region,omitempty"`
// The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
// +kubebuilder:validation:Optional
GrantName *string `json:"grantName,omitempty" tf:"grant_name,omitempty"`
// The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to 7.
// +kubebuilder:validation:Optional
RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}
// ClusterSpec defines the desired state of Cluster
type ClusterSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ClusterParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider ClusterInitParameters `json:"initProvider,omitempty"`
}
// ClusterStatus defines the observed state of Cluster.
type ClusterStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ClusterObservation `json:"atProvider,omitempty"`
}
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// Cluster is the Schema for the Clusters API. Provides a Redshift Cluster resource.
// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status"
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}
type Cluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeType) || (has(self.initProvider) && has(self.initProvider.nodeType))",message="spec.forProvider.nodeType is a required parameter"
Spec ClusterSpec `json:"spec"`
Status ClusterStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// ClusterList contains a list of Clusters
type ClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Cluster `json:"items"`
}
// Repository type metadata.
var (
Cluster_Kind = "Cluster"
Cluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String()
Cluster_KindAPIVersion = Cluster_Kind + "." + CRDGroupVersion.String()
Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind)
)
func init() {
SchemeBuilder.Register(&Cluster{}, &ClusterList{})
}