-
Notifications
You must be signed in to change notification settings - Fork 119
/
zz_deliverystream_types.go
executable file
·5197 lines (3701 loc) · 313 KB
/
zz_deliverystream_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 AuthenticationConfigurationInitParameters struct {
// The type of connectivity used to access the Amazon MSK cluster. Valid values: PUBLIC, PRIVATE.
Connectivity *string `json:"connectivity,omitempty" tf:"connectivity,omitempty"`
// The ARN of the role used to access the Amazon MSK cluster.
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
}
type AuthenticationConfigurationObservation struct {
// The type of connectivity used to access the Amazon MSK cluster. Valid values: PUBLIC, PRIVATE.
Connectivity *string `json:"connectivity,omitempty" tf:"connectivity,omitempty"`
// The ARN of the role used to access the Amazon MSK cluster.
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
}
type AuthenticationConfigurationParameters struct {
// The type of connectivity used to access the Amazon MSK cluster. Valid values: PUBLIC, PRIVATE.
// +kubebuilder:validation:Optional
Connectivity *string `json:"connectivity" tf:"connectivity,omitempty"`
// The ARN of the role used to access the Amazon MSK cluster.
// +kubebuilder:validation:Optional
RoleArn *string `json:"roleArn" tf:"role_arn,omitempty"`
}
type CloudwatchLoggingOptionsInitParameters struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type CloudwatchLoggingOptionsObservation struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type CloudwatchLoggingOptionsParameters struct {
// Enables or disables the logging. Defaults to false.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
// +kubebuilder:validation:Optional
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
// +kubebuilder:validation:Optional
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type CommonAttributesInitParameters struct {
// The name of the HTTP endpoint common attribute.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The value of the HTTP endpoint common attribute.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type CommonAttributesObservation struct {
// The name of the HTTP endpoint common attribute.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The value of the HTTP endpoint common attribute.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
}
type CommonAttributesParameters struct {
// The name of the HTTP endpoint common attribute.
// +kubebuilder:validation:Optional
Name *string `json:"name" tf:"name,omitempty"`
// The value of the HTTP endpoint common attribute.
// +kubebuilder:validation:Optional
Value *string `json:"value" tf:"value,omitempty"`
}
type DataFormatConversionConfigurationInitParameters struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON. See input_format_configuration block below for details.
InputFormatConfiguration []InputFormatConfigurationInitParameters `json:"inputFormatConfiguration,omitempty" tf:"input_format_configuration,omitempty"`
// Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format. See output_format_configuration block below for details.
OutputFormatConfiguration []OutputFormatConfigurationInitParameters `json:"outputFormatConfiguration,omitempty" tf:"output_format_configuration,omitempty"`
// Specifies the AWS Glue Data Catalog table that contains the column information. See schema_configuration block below for details.
SchemaConfiguration []SchemaConfigurationInitParameters `json:"schemaConfiguration,omitempty" tf:"schema_configuration,omitempty"`
}
type DataFormatConversionConfigurationObservation struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON. See input_format_configuration block below for details.
InputFormatConfiguration []InputFormatConfigurationObservation `json:"inputFormatConfiguration,omitempty" tf:"input_format_configuration,omitempty"`
// Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format. See output_format_configuration block below for details.
OutputFormatConfiguration []OutputFormatConfigurationObservation `json:"outputFormatConfiguration,omitempty" tf:"output_format_configuration,omitempty"`
// Specifies the AWS Glue Data Catalog table that contains the column information. See schema_configuration block below for details.
SchemaConfiguration []SchemaConfigurationObservation `json:"schemaConfiguration,omitempty" tf:"schema_configuration,omitempty"`
}
type DataFormatConversionConfigurationParameters struct {
// Enables or disables the logging. Defaults to false.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON. See input_format_configuration block below for details.
// +kubebuilder:validation:Optional
InputFormatConfiguration []InputFormatConfigurationParameters `json:"inputFormatConfiguration" tf:"input_format_configuration,omitempty"`
// Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format. See output_format_configuration block below for details.
// +kubebuilder:validation:Optional
OutputFormatConfiguration []OutputFormatConfigurationParameters `json:"outputFormatConfiguration" tf:"output_format_configuration,omitempty"`
// Specifies the AWS Glue Data Catalog table that contains the column information. See schema_configuration block below for details.
// +kubebuilder:validation:Optional
SchemaConfiguration []SchemaConfigurationParameters `json:"schemaConfiguration" tf:"schema_configuration,omitempty"`
}
type DeliveryStreamInitParameters struct {
// – This is the destination to where the data is delivered. The only options are s3 (Deprecated, use extended_s3 instead), extended_s3, redshift, elasticsearch, splunk, http_endpoint, opensearch, opensearchserverless and snowflake.
Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"`
// Configuration options when destination is elasticsearch. See elasticsearch_configuration block below for details.
ElasticsearchConfiguration []ElasticsearchConfigurationInitParameters `json:"elasticsearchConfiguration,omitempty" tf:"elasticsearch_configuration,omitempty"`
// Enhanced configuration options for the s3 destination. See extended_s3_configuration block below for details.
ExtendedS3Configuration []ExtendedS3ConfigurationInitParameters `json:"extendedS3Configuration,omitempty" tf:"extended_s3_configuration,omitempty"`
// Configuration options when destination is http_endpoint. Requires the user to also specify an s3_configuration block. See http_endpoint_configuration block below for details.
HTTPEndpointConfiguration []HTTPEndpointConfigurationInitParameters `json:"httpEndpointConfiguration,omitempty" tf:"http_endpoint_configuration,omitempty"`
// The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream used as the source for a delivery stream. See kinesis_source_configuration block below for details.
KinesisSourceConfiguration []KinesisSourceConfigurationInitParameters `json:"kinesisSourceConfiguration,omitempty" tf:"kinesis_source_configuration,omitempty"`
// The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. See msk_source_configuration block below for details.
MskSourceConfiguration []MskSourceConfigurationInitParameters `json:"mskSourceConfiguration,omitempty" tf:"msk_source_configuration,omitempty"`
// A name to identify the stream. This is unique to the AWS account and region the Stream is created in. When using for WAF logging, name must be prefixed with aws-waf-logs-. See AWS Documentation for more details.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Configuration options when destination is opensearch. See opensearch_configuration block below for details.
OpensearchConfiguration []OpensearchConfigurationInitParameters `json:"opensearchConfiguration,omitempty" tf:"opensearch_configuration,omitempty"`
// Configuration options when destination is opensearchserverless. See opensearchserverless_configuration block below for details.
OpensearchserverlessConfiguration []OpensearchserverlessConfigurationInitParameters `json:"opensearchserverlessConfiguration,omitempty" tf:"opensearchserverless_configuration,omitempty"`
// Configuration options when destination is redshift. Requires the user to also specify an s3_configuration block. See redshift_configuration block below for details.
RedshiftConfiguration []RedshiftConfigurationInitParameters `json:"redshiftConfiguration,omitempty" tf:"redshift_configuration,omitempty"`
// Encrypt at rest options. See server_side_encryption block below for details.
ServerSideEncryption []ServerSideEncryptionInitParameters `json:"serverSideEncryption,omitempty" tf:"server_side_encryption,omitempty"`
// Configuration options when destination is snowflake. See snowflake_configuration block below for details.
SnowflakeConfiguration []SnowflakeConfigurationInitParameters `json:"snowflakeConfiguration,omitempty" tf:"snowflake_configuration,omitempty"`
// Configuration options when destination is splunk. See splunk_configuration block below for details.
SplunkConfiguration []SplunkConfigurationInitParameters `json:"splunkConfiguration,omitempty" tf:"splunk_configuration,omitempty"`
// Key-value map of resource tags.
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the table version for the output data schema. Defaults to LATEST.
VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`
}
type DeliveryStreamObservation struct {
// The Amazon Resource Name (ARN) specifying the Stream
Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`
// – This is the destination to where the data is delivered. The only options are s3 (Deprecated, use extended_s3 instead), extended_s3, redshift, elasticsearch, splunk, http_endpoint, opensearch, opensearchserverless and snowflake.
Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"`
// Configuration options when destination is elasticsearch. See elasticsearch_configuration block below for details.
ElasticsearchConfiguration []ElasticsearchConfigurationObservation `json:"elasticsearchConfiguration,omitempty" tf:"elasticsearch_configuration,omitempty"`
// Enhanced configuration options for the s3 destination. See extended_s3_configuration block below for details.
ExtendedS3Configuration []ExtendedS3ConfigurationObservation `json:"extendedS3Configuration,omitempty" tf:"extended_s3_configuration,omitempty"`
// Configuration options when destination is http_endpoint. Requires the user to also specify an s3_configuration block. See http_endpoint_configuration block below for details.
HTTPEndpointConfiguration []HTTPEndpointConfigurationObservation `json:"httpEndpointConfiguration,omitempty" tf:"http_endpoint_configuration,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream used as the source for a delivery stream. See kinesis_source_configuration block below for details.
KinesisSourceConfiguration []KinesisSourceConfigurationObservation `json:"kinesisSourceConfiguration,omitempty" tf:"kinesis_source_configuration,omitempty"`
// The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. See msk_source_configuration block below for details.
MskSourceConfiguration []MskSourceConfigurationObservation `json:"mskSourceConfiguration,omitempty" tf:"msk_source_configuration,omitempty"`
// A name to identify the stream. This is unique to the AWS account and region the Stream is created in. When using for WAF logging, name must be prefixed with aws-waf-logs-. See AWS Documentation for more details.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Configuration options when destination is opensearch. See opensearch_configuration block below for details.
OpensearchConfiguration []OpensearchConfigurationObservation `json:"opensearchConfiguration,omitempty" tf:"opensearch_configuration,omitempty"`
// Configuration options when destination is opensearchserverless. See opensearchserverless_configuration block below for details.
OpensearchserverlessConfiguration []OpensearchserverlessConfigurationObservation `json:"opensearchserverlessConfiguration,omitempty" tf:"opensearchserverless_configuration,omitempty"`
// Configuration options when destination is redshift. Requires the user to also specify an s3_configuration block. See redshift_configuration block below for details.
RedshiftConfiguration []RedshiftConfigurationObservation `json:"redshiftConfiguration,omitempty" tf:"redshift_configuration,omitempty"`
// Encrypt at rest options. See server_side_encryption block below for details.
ServerSideEncryption []ServerSideEncryptionObservation `json:"serverSideEncryption,omitempty" tf:"server_side_encryption,omitempty"`
// Configuration options when destination is snowflake. See snowflake_configuration block below for details.
SnowflakeConfiguration []SnowflakeConfigurationObservation `json:"snowflakeConfiguration,omitempty" tf:"snowflake_configuration,omitempty"`
// Configuration options when destination is splunk. See splunk_configuration block below for details.
SplunkConfiguration []SplunkConfigurationObservation `json:"splunkConfiguration,omitempty" tf:"splunk_configuration,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"`
// Specifies the table version for the output data schema. Defaults to LATEST.
VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`
}
type DeliveryStreamParameters struct {
// – This is the destination to where the data is delivered. The only options are s3 (Deprecated, use extended_s3 instead), extended_s3, redshift, elasticsearch, splunk, http_endpoint, opensearch, opensearchserverless and snowflake.
// +kubebuilder:validation:Optional
Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
// +kubebuilder:validation:Optional
DestinationID *string `json:"destinationId,omitempty" tf:"destination_id,omitempty"`
// Configuration options when destination is elasticsearch. See elasticsearch_configuration block below for details.
// +kubebuilder:validation:Optional
ElasticsearchConfiguration []ElasticsearchConfigurationParameters `json:"elasticsearchConfiguration,omitempty" tf:"elasticsearch_configuration,omitempty"`
// Enhanced configuration options for the s3 destination. See extended_s3_configuration block below for details.
// +kubebuilder:validation:Optional
ExtendedS3Configuration []ExtendedS3ConfigurationParameters `json:"extendedS3Configuration,omitempty" tf:"extended_s3_configuration,omitempty"`
// Configuration options when destination is http_endpoint. Requires the user to also specify an s3_configuration block. See http_endpoint_configuration block below for details.
// +kubebuilder:validation:Optional
HTTPEndpointConfiguration []HTTPEndpointConfigurationParameters `json:"httpEndpointConfiguration,omitempty" tf:"http_endpoint_configuration,omitempty"`
// The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream used as the source for a delivery stream. See kinesis_source_configuration block below for details.
// +kubebuilder:validation:Optional
KinesisSourceConfiguration []KinesisSourceConfigurationParameters `json:"kinesisSourceConfiguration,omitempty" tf:"kinesis_source_configuration,omitempty"`
// The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. See msk_source_configuration block below for details.
// +kubebuilder:validation:Optional
MskSourceConfiguration []MskSourceConfigurationParameters `json:"mskSourceConfiguration,omitempty" tf:"msk_source_configuration,omitempty"`
// A name to identify the stream. This is unique to the AWS account and region the Stream is created in. When using for WAF logging, name must be prefixed with aws-waf-logs-. See AWS Documentation for more details.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Configuration options when destination is opensearch. See opensearch_configuration block below for details.
// +kubebuilder:validation:Optional
OpensearchConfiguration []OpensearchConfigurationParameters `json:"opensearchConfiguration,omitempty" tf:"opensearch_configuration,omitempty"`
// Configuration options when destination is opensearchserverless. See opensearchserverless_configuration block below for details.
// +kubebuilder:validation:Optional
OpensearchserverlessConfiguration []OpensearchserverlessConfigurationParameters `json:"opensearchserverlessConfiguration,omitempty" tf:"opensearchserverless_configuration,omitempty"`
// Configuration options when destination is redshift. Requires the user to also specify an s3_configuration block. See redshift_configuration block below for details.
// +kubebuilder:validation:Optional
RedshiftConfiguration []RedshiftConfigurationParameters `json:"redshiftConfiguration,omitempty" tf:"redshift_configuration,omitempty"`
// If you don't specify an AWS Region, the default is the current region.
// 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:"-"`
// Encrypt at rest options. See server_side_encryption block below for details.
// +kubebuilder:validation:Optional
ServerSideEncryption []ServerSideEncryptionParameters `json:"serverSideEncryption,omitempty" tf:"server_side_encryption,omitempty"`
// Configuration options when destination is snowflake. See snowflake_configuration block below for details.
// +kubebuilder:validation:Optional
SnowflakeConfiguration []SnowflakeConfigurationParameters `json:"snowflakeConfiguration,omitempty" tf:"snowflake_configuration,omitempty"`
// Configuration options when destination is splunk. See splunk_configuration block below for details.
// +kubebuilder:validation:Optional
SplunkConfiguration []SplunkConfigurationParameters `json:"splunkConfiguration,omitempty" tf:"splunk_configuration,omitempty"`
// Key-value map of resource tags.
// +kubebuilder:validation:Optional
// +mapType=granular
Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
// Specifies the table version for the output data schema. Defaults to LATEST.
// +kubebuilder:validation:Optional
VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`
}
type DeserializerInitParameters struct {
// Specifies the native Hive / HCatalog JsonSerDe. More details below. See hive_json_ser_de block below for details.
HiveJSONSerDe []HiveJSONSerDeInitParameters `json:"hiveJsonSerDe,omitempty" tf:"hive_json_ser_de,omitempty"`
// Specifies the OpenX SerDe. See open_x_json_ser_de block below for details.
OpenXJSONSerDe []OpenXJSONSerDeInitParameters `json:"openXJsonSerDe,omitempty" tf:"open_x_json_ser_de,omitempty"`
}
type DeserializerObservation struct {
// Specifies the native Hive / HCatalog JsonSerDe. More details below. See hive_json_ser_de block below for details.
HiveJSONSerDe []HiveJSONSerDeObservation `json:"hiveJsonSerDe,omitempty" tf:"hive_json_ser_de,omitempty"`
// Specifies the OpenX SerDe. See open_x_json_ser_de block below for details.
OpenXJSONSerDe []OpenXJSONSerDeObservation `json:"openXJsonSerDe,omitempty" tf:"open_x_json_ser_de,omitempty"`
}
type DeserializerParameters struct {
// Specifies the native Hive / HCatalog JsonSerDe. More details below. See hive_json_ser_de block below for details.
// +kubebuilder:validation:Optional
HiveJSONSerDe []HiveJSONSerDeParameters `json:"hiveJsonSerDe,omitempty" tf:"hive_json_ser_de,omitempty"`
// Specifies the OpenX SerDe. See open_x_json_ser_de block below for details.
// +kubebuilder:validation:Optional
OpenXJSONSerDe []OpenXJSONSerDeParameters `json:"openXJsonSerDe,omitempty" tf:"open_x_json_ser_de,omitempty"`
}
type DocumentIDOptionsInitParameters struct {
// The method for setting up document ID. Valid values: FIREHOSE_DEFAULT, NO_DOCUMENT_ID.
DefaultDocumentIDFormat *string `json:"defaultDocumentIdFormat,omitempty" tf:"default_document_id_format,omitempty"`
}
type DocumentIDOptionsObservation struct {
// The method for setting up document ID. Valid values: FIREHOSE_DEFAULT, NO_DOCUMENT_ID.
DefaultDocumentIDFormat *string `json:"defaultDocumentIdFormat,omitempty" tf:"default_document_id_format,omitempty"`
}
type DocumentIDOptionsParameters struct {
// The method for setting up document ID. Valid values: FIREHOSE_DEFAULT, NO_DOCUMENT_ID.
// +kubebuilder:validation:Optional
DefaultDocumentIDFormat *string `json:"defaultDocumentIdFormat" tf:"default_document_id_format,omitempty"`
}
type DynamicPartitioningConfigurationInitParameters struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// After an initial failure to deliver to Splunk, the total amount of time, in seconds between 0 to 7200, during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0.
RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"`
}
type DynamicPartitioningConfigurationObservation struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// After an initial failure to deliver to Splunk, the total amount of time, in seconds between 0 to 7200, during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0.
RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"`
}
type DynamicPartitioningConfigurationParameters struct {
// Enables or disables the logging. Defaults to false.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// After an initial failure to deliver to Splunk, the total amount of time, in seconds between 0 to 7200, during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0.
// +kubebuilder:validation:Optional
RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"`
}
type ElasticsearchConfigurationInitParameters struct {
// Buffer incoming data for the specified period of time, in seconds between 0 to 900, before delivering it to the destination. The default value is 300s.
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs between 1 to 100, before delivering it to the destination. The default value is 5MB.
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
CloudwatchLoggingOptions []CloudwatchLoggingOptionsInitParameters `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The endpoint to use when communicating with the cluster. Conflicts with domain_arn.
ClusterEndpoint *string `json:"clusterEndpoint,omitempty" tf:"cluster_endpoint,omitempty"`
// The ARN of the Amazon ES domain. The pattern needs to be arn:.*. Conflicts with cluster_endpoint.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticsearch/v1beta1.Domain
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
DomainArn *string `json:"domainArn,omitempty" tf:"domain_arn,omitempty"`
// Reference to a Domain in elasticsearch to populate domainArn.
// +kubebuilder:validation:Optional
DomainArnRef *v1.Reference `json:"domainArnRef,omitempty" tf:"-"`
// Selector for a Domain in elasticsearch to populate domainArn.
// +kubebuilder:validation:Optional
DomainArnSelector *v1.Selector `json:"domainArnSelector,omitempty" tf:"-"`
// The Elasticsearch index name.
IndexName *string `json:"indexName,omitempty" tf:"index_name,omitempty"`
// The Elasticsearch index rotation period. Index rotation appends a timestamp to the IndexName to facilitate expiration of old data. Valid values are NoRotation, OneHour, OneDay, OneWeek, and OneMonth. The default value is OneDay.
IndexRotationPeriod *string `json:"indexRotationPeriod,omitempty" tf:"index_rotation_period,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
ProcessingConfiguration []ProcessingConfigurationInitParameters `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// After an initial failure to deliver to Amazon Elasticsearch, the total amount of time, in seconds between 0 to 7200, during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0.
RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"`
// The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. The IAM role must have permission for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig. The pattern needs to be arn:.*.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Reference to a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
// Defines how documents should be delivered to Amazon S3. Valid values are FailedDocumentsOnly and AllDocuments. Default value is FailedDocumentsOnly.
S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"`
// The S3 Configuration. See s3_configuration block below for details.
S3Configuration []S3ConfigurationInitParameters `json:"s3Configuration,omitempty" tf:"s3_configuration,omitempty"`
// The Elasticsearch type name with maximum length of 100 characters.
TypeName *string `json:"typeName,omitempty" tf:"type_name,omitempty"`
// The VPC configuration for the delivery stream to connect to Elastic Search associated with the VPC. See vpc_config block below for details.
VPCConfig []VPCConfigInitParameters `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`
}
type ElasticsearchConfigurationObservation struct {
// Buffer incoming data for the specified period of time, in seconds between 0 to 900, before delivering it to the destination. The default value is 300s.
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs between 1 to 100, before delivering it to the destination. The default value is 5MB.
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
CloudwatchLoggingOptions []CloudwatchLoggingOptionsObservation `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The endpoint to use when communicating with the cluster. Conflicts with domain_arn.
ClusterEndpoint *string `json:"clusterEndpoint,omitempty" tf:"cluster_endpoint,omitempty"`
// The ARN of the Amazon ES domain. The pattern needs to be arn:.*. Conflicts with cluster_endpoint.
DomainArn *string `json:"domainArn,omitempty" tf:"domain_arn,omitempty"`
// The Elasticsearch index name.
IndexName *string `json:"indexName,omitempty" tf:"index_name,omitempty"`
// The Elasticsearch index rotation period. Index rotation appends a timestamp to the IndexName to facilitate expiration of old data. Valid values are NoRotation, OneHour, OneDay, OneWeek, and OneMonth. The default value is OneDay.
IndexRotationPeriod *string `json:"indexRotationPeriod,omitempty" tf:"index_rotation_period,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
ProcessingConfiguration []ProcessingConfigurationObservation `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// After an initial failure to deliver to Amazon Elasticsearch, the total amount of time, in seconds between 0 to 7200, during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0.
RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"`
// The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. The IAM role must have permission for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig. The pattern needs to be arn:.*.
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Defines how documents should be delivered to Amazon S3. Valid values are FailedDocumentsOnly and AllDocuments. Default value is FailedDocumentsOnly.
S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"`
// The S3 Configuration. See s3_configuration block below for details.
S3Configuration []S3ConfigurationObservation `json:"s3Configuration,omitempty" tf:"s3_configuration,omitempty"`
// The Elasticsearch type name with maximum length of 100 characters.
TypeName *string `json:"typeName,omitempty" tf:"type_name,omitempty"`
// The VPC configuration for the delivery stream to connect to Elastic Search associated with the VPC. See vpc_config block below for details.
VPCConfig []VPCConfigObservation `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`
}
type ElasticsearchConfigurationParameters struct {
// Buffer incoming data for the specified period of time, in seconds between 0 to 900, before delivering it to the destination. The default value is 300s.
// +kubebuilder:validation:Optional
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs between 1 to 100, before delivering it to the destination. The default value is 5MB.
// +kubebuilder:validation:Optional
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
// +kubebuilder:validation:Optional
CloudwatchLoggingOptions []CloudwatchLoggingOptionsParameters `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The endpoint to use when communicating with the cluster. Conflicts with domain_arn.
// +kubebuilder:validation:Optional
ClusterEndpoint *string `json:"clusterEndpoint,omitempty" tf:"cluster_endpoint,omitempty"`
// The ARN of the Amazon ES domain. The pattern needs to be arn:.*. Conflicts with cluster_endpoint.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/elasticsearch/v1beta1.Domain
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
// +kubebuilder:validation:Optional
DomainArn *string `json:"domainArn,omitempty" tf:"domain_arn,omitempty"`
// Reference to a Domain in elasticsearch to populate domainArn.
// +kubebuilder:validation:Optional
DomainArnRef *v1.Reference `json:"domainArnRef,omitempty" tf:"-"`
// Selector for a Domain in elasticsearch to populate domainArn.
// +kubebuilder:validation:Optional
DomainArnSelector *v1.Selector `json:"domainArnSelector,omitempty" tf:"-"`
// The Elasticsearch index name.
// +kubebuilder:validation:Optional
IndexName *string `json:"indexName" tf:"index_name,omitempty"`
// The Elasticsearch index rotation period. Index rotation appends a timestamp to the IndexName to facilitate expiration of old data. Valid values are NoRotation, OneHour, OneDay, OneWeek, and OneMonth. The default value is OneDay.
// +kubebuilder:validation:Optional
IndexRotationPeriod *string `json:"indexRotationPeriod,omitempty" tf:"index_rotation_period,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
// +kubebuilder:validation:Optional
ProcessingConfiguration []ProcessingConfigurationParameters `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// After an initial failure to deliver to Amazon Elasticsearch, the total amount of time, in seconds between 0 to 7200, during which Firehose re-attempts delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. The default value is 300s. There will be no retry if the value is 0.
// +kubebuilder:validation:Optional
RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"`
// The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. The IAM role must have permission for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig. The pattern needs to be arn:.*.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
// +kubebuilder:validation:Optional
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Reference to a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
// Defines how documents should be delivered to Amazon S3. Valid values are FailedDocumentsOnly and AllDocuments. Default value is FailedDocumentsOnly.
// +kubebuilder:validation:Optional
S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"`
// The S3 Configuration. See s3_configuration block below for details.
// +kubebuilder:validation:Optional
S3Configuration []S3ConfigurationParameters `json:"s3Configuration" tf:"s3_configuration,omitempty"`
// The Elasticsearch type name with maximum length of 100 characters.
// +kubebuilder:validation:Optional
TypeName *string `json:"typeName,omitempty" tf:"type_name,omitempty"`
// The VPC configuration for the delivery stream to connect to Elastic Search associated with the VPC. See vpc_config block below for details.
// +kubebuilder:validation:Optional
VPCConfig []VPCConfigParameters `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`
}
type ExtendedS3ConfigurationCloudwatchLoggingOptionsInitParameters struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type ExtendedS3ConfigurationCloudwatchLoggingOptionsObservation struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type ExtendedS3ConfigurationCloudwatchLoggingOptionsParameters struct {
// Enables or disables the logging. Defaults to false.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
// +kubebuilder:validation:Optional
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
// +kubebuilder:validation:Optional
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type ExtendedS3ConfigurationInitParameters struct {
// The ARN of the S3 bucket
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"`
// Reference to a Bucket in s3 to populate bucketArn.
// +kubebuilder:validation:Optional
BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"`
// Selector for a Bucket in s3 to populate bucketArn.
// +kubebuilder:validation:Optional
BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"`
// Buffer incoming data for the specified period of time, in seconds between 0 to 60, before delivering it to the destination. The default value is 60s.
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs between 1 to 5, before delivering it to the destination. The default value is 5MB.
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
CloudwatchLoggingOptions []ExtendedS3ConfigurationCloudwatchLoggingOptionsInitParameters `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The compression format. If no value is specified, the default is UNCOMPRESSED. Other supported values are GZIP, ZIP, Snappy, & HADOOP_SNAPPY.
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// The time zone you prefer. Valid values are UTC or a non-3-letter IANA time zones (for example, America/Los_Angeles). Default value is UTC.
CustomTimeZone *string `json:"customTimeZone,omitempty" tf:"custom_time_zone,omitempty"`
// Nested argument for the serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3. See data_format_conversion_configuration block below for details.
DataFormatConversionConfiguration []DataFormatConversionConfigurationInitParameters `json:"dataFormatConversionConfiguration,omitempty" tf:"data_format_conversion_configuration,omitempty"`
// The configuration for dynamic partitioning. Required when using dynamic partitioning. See dynamic_partitioning_configuration block below for details.
DynamicPartitioningConfiguration []DynamicPartitioningConfigurationInitParameters `json:"dynamicPartitioningConfiguration,omitempty" tf:"dynamic_partitioning_configuration,omitempty"`
// Prefix added to failed records before writing them to S3. Not currently supported for redshift destination. This prefix appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 Objects.
ErrorOutputPrefix *string `json:"errorOutputPrefix,omitempty" tf:"error_output_prefix,omitempty"`
// The file extension to override the default file extension (for example, .json).
FileExtension *string `json:"fileExtension,omitempty" tf:"file_extension,omitempty"`
// Specifies the KMS key ARN the stream will use to encrypt data. If not set, no encryption will
// be used.
KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
// The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket
Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
ProcessingConfiguration []ExtendedS3ConfigurationProcessingConfigurationInitParameters `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// The ARN of the IAM role to be assumed by Firehose for calling the Amazon EC2 configuration API and for creating network interfaces. Make sure role has necessary IAM permissions
// +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()
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Reference to a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
// The configuration for backup in Amazon S3. Required if s3_backup_mode is Enabled. Supports the same fields as s3_configuration object.
S3BackupConfiguration []S3BackupConfigurationInitParameters `json:"s3BackupConfiguration,omitempty" tf:"s3_backup_configuration,omitempty"`
// The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled.
S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"`
}
type ExtendedS3ConfigurationObservation struct {
// The ARN of the S3 bucket
BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"`
// Buffer incoming data for the specified period of time, in seconds between 0 to 60, before delivering it to the destination. The default value is 60s.
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs between 1 to 5, before delivering it to the destination. The default value is 5MB.
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
CloudwatchLoggingOptions []ExtendedS3ConfigurationCloudwatchLoggingOptionsObservation `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The compression format. If no value is specified, the default is UNCOMPRESSED. Other supported values are GZIP, ZIP, Snappy, & HADOOP_SNAPPY.
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// The time zone you prefer. Valid values are UTC or a non-3-letter IANA time zones (for example, America/Los_Angeles). Default value is UTC.
CustomTimeZone *string `json:"customTimeZone,omitempty" tf:"custom_time_zone,omitempty"`
// Nested argument for the serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3. See data_format_conversion_configuration block below for details.
DataFormatConversionConfiguration []DataFormatConversionConfigurationObservation `json:"dataFormatConversionConfiguration,omitempty" tf:"data_format_conversion_configuration,omitempty"`
// The configuration for dynamic partitioning. Required when using dynamic partitioning. See dynamic_partitioning_configuration block below for details.
DynamicPartitioningConfiguration []DynamicPartitioningConfigurationObservation `json:"dynamicPartitioningConfiguration,omitempty" tf:"dynamic_partitioning_configuration,omitempty"`
// Prefix added to failed records before writing them to S3. Not currently supported for redshift destination. This prefix appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 Objects.
ErrorOutputPrefix *string `json:"errorOutputPrefix,omitempty" tf:"error_output_prefix,omitempty"`
// The file extension to override the default file extension (for example, .json).
FileExtension *string `json:"fileExtension,omitempty" tf:"file_extension,omitempty"`
// Specifies the KMS key ARN the stream will use to encrypt data. If not set, no encryption will
// be used.
KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
// The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket
Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
ProcessingConfiguration []ExtendedS3ConfigurationProcessingConfigurationObservation `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// The ARN of the IAM role to be assumed by Firehose for calling the Amazon EC2 configuration API and for creating network interfaces. Make sure role has necessary IAM permissions
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// The configuration for backup in Amazon S3. Required if s3_backup_mode is Enabled. Supports the same fields as s3_configuration object.
S3BackupConfiguration []S3BackupConfigurationObservation `json:"s3BackupConfiguration,omitempty" tf:"s3_backup_configuration,omitempty"`
// The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled.
S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"`
}
type ExtendedS3ConfigurationParameters struct {
// The ARN of the S3 bucket
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket
// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
// +kubebuilder:validation:Optional
BucketArn *string `json:"bucketArn,omitempty" tf:"bucket_arn,omitempty"`
// Reference to a Bucket in s3 to populate bucketArn.
// +kubebuilder:validation:Optional
BucketArnRef *v1.Reference `json:"bucketArnRef,omitempty" tf:"-"`
// Selector for a Bucket in s3 to populate bucketArn.
// +kubebuilder:validation:Optional
BucketArnSelector *v1.Selector `json:"bucketArnSelector,omitempty" tf:"-"`
// Buffer incoming data for the specified period of time, in seconds between 0 to 60, before delivering it to the destination. The default value is 60s.
// +kubebuilder:validation:Optional
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs between 1 to 5, before delivering it to the destination. The default value is 5MB.
// +kubebuilder:validation:Optional
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
// +kubebuilder:validation:Optional
CloudwatchLoggingOptions []ExtendedS3ConfigurationCloudwatchLoggingOptionsParameters `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The compression format. If no value is specified, the default is UNCOMPRESSED. Other supported values are GZIP, ZIP, Snappy, & HADOOP_SNAPPY.
// +kubebuilder:validation:Optional
CompressionFormat *string `json:"compressionFormat,omitempty" tf:"compression_format,omitempty"`
// The time zone you prefer. Valid values are UTC or a non-3-letter IANA time zones (for example, America/Los_Angeles). Default value is UTC.
// +kubebuilder:validation:Optional
CustomTimeZone *string `json:"customTimeZone,omitempty" tf:"custom_time_zone,omitempty"`
// Nested argument for the serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3. See data_format_conversion_configuration block below for details.
// +kubebuilder:validation:Optional
DataFormatConversionConfiguration []DataFormatConversionConfigurationParameters `json:"dataFormatConversionConfiguration,omitempty" tf:"data_format_conversion_configuration,omitempty"`
// The configuration for dynamic partitioning. Required when using dynamic partitioning. See dynamic_partitioning_configuration block below for details.
// +kubebuilder:validation:Optional
DynamicPartitioningConfiguration []DynamicPartitioningConfigurationParameters `json:"dynamicPartitioningConfiguration,omitempty" tf:"dynamic_partitioning_configuration,omitempty"`
// Prefix added to failed records before writing them to S3. Not currently supported for redshift destination. This prefix appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 Objects.
// +kubebuilder:validation:Optional
ErrorOutputPrefix *string `json:"errorOutputPrefix,omitempty" tf:"error_output_prefix,omitempty"`
// The file extension to override the default file extension (for example, .json).
// +kubebuilder:validation:Optional
FileExtension *string `json:"fileExtension,omitempty" tf:"file_extension,omitempty"`
// Specifies the KMS key ARN the stream will use to encrypt data. If not set, no encryption will
// be used.
// +kubebuilder:validation:Optional
KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
// The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket
// +kubebuilder:validation:Optional
Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
// +kubebuilder:validation:Optional
ProcessingConfiguration []ExtendedS3ConfigurationProcessingConfigurationParameters `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// The ARN of the IAM role to be assumed by Firehose for calling the Amazon EC2 configuration API and for creating network interfaces. Make sure role has necessary IAM permissions
// +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
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Reference to a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
// The configuration for backup in Amazon S3. Required if s3_backup_mode is Enabled. Supports the same fields as s3_configuration object.
// +kubebuilder:validation:Optional
S3BackupConfiguration []S3BackupConfigurationParameters `json:"s3BackupConfiguration,omitempty" tf:"s3_backup_configuration,omitempty"`
// The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled.
// +kubebuilder:validation:Optional
S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"`
}
type ExtendedS3ConfigurationProcessingConfigurationInitParameters struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Specifies the data processors as multiple blocks. See processors block below for details.
Processors []ProcessingConfigurationProcessorsInitParameters `json:"processors,omitempty" tf:"processors,omitempty"`
}
type ExtendedS3ConfigurationProcessingConfigurationObservation struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Specifies the data processors as multiple blocks. See processors block below for details.
Processors []ProcessingConfigurationProcessorsObservation `json:"processors,omitempty" tf:"processors,omitempty"`
}
type ExtendedS3ConfigurationProcessingConfigurationParameters struct {
// Enables or disables the logging. Defaults to false.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// Specifies the data processors as multiple blocks. See processors block below for details.
// +kubebuilder:validation:Optional
Processors []ProcessingConfigurationProcessorsParameters `json:"processors,omitempty" tf:"processors,omitempty"`
}
type HTTPEndpointConfigurationCloudwatchLoggingOptionsInitParameters struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type HTTPEndpointConfigurationCloudwatchLoggingOptionsObservation struct {
// Enables or disables the logging. Defaults to false.
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type HTTPEndpointConfigurationCloudwatchLoggingOptionsParameters struct {
// Enables or disables the logging. Defaults to false.
// +kubebuilder:validation:Optional
Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
// The CloudWatch group name for logging. This value is required if enabled is true.
// +kubebuilder:validation:Optional
LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name,omitempty"`
// The CloudWatch log stream name for logging. This value is required if enabled is true.
// +kubebuilder:validation:Optional
LogStreamName *string `json:"logStreamName,omitempty" tf:"log_stream_name,omitempty"`
}
type HTTPEndpointConfigurationInitParameters struct {
// The access key required for Kinesis Firehose to authenticate with the HTTP endpoint selected as the destination.
AccessKeySecretRef *v1.SecretKeySelector `json:"accessKeySecretRef,omitempty" tf:"-"`
// Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
CloudwatchLoggingOptions []HTTPEndpointConfigurationCloudwatchLoggingOptionsInitParameters `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The HTTP endpoint name.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
ProcessingConfiguration []HTTPEndpointConfigurationProcessingConfigurationInitParameters `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// The request configuration. See request_configuration block below for details.
RequestConfiguration []RequestConfigurationInitParameters `json:"requestConfiguration,omitempty" tf:"request_configuration,omitempty"`
// Total amount of seconds Firehose spends on retries. This duration starts after the initial attempt fails, It does not include the time periods during which Firehose waits for acknowledgment from the specified destination after each attempt. Valid values between 0 and 7200. Default is 300.
RetryDuration *float64 `json:"retryDuration,omitempty" tf:"retry_duration,omitempty"`
// Kinesis Data Firehose uses this IAM role for all the permissions that the delivery stream needs. The pattern needs to be arn:.*.
// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`
// Reference to a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`
// Selector for a Role in iam to populate roleArn.
// +kubebuilder:validation:Optional
RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
// Defines how documents should be delivered to Amazon S3. Valid values are FailedDataOnly and AllData. Default value is FailedDataOnly.
S3BackupMode *string `json:"s3BackupMode,omitempty" tf:"s3_backup_mode,omitempty"`
// The S3 Configuration. See s3_configuration block below for details.
S3Configuration []HTTPEndpointConfigurationS3ConfigurationInitParameters `json:"s3Configuration,omitempty" tf:"s3_configuration,omitempty"`
// The HTTP endpoint URL to which Kinesis Firehose sends your data.
URL *string `json:"url,omitempty" tf:"url,omitempty"`
}
type HTTPEndpointConfigurationObservation struct {
// Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).
BufferingInterval *float64 `json:"bufferingInterval,omitempty" tf:"buffering_interval,omitempty"`
// Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.
BufferingSize *float64 `json:"bufferingSize,omitempty" tf:"buffering_size,omitempty"`
// The CloudWatch Logging Options for the delivery stream. See cloudwatch_logging_options block below for details.
CloudwatchLoggingOptions []HTTPEndpointConfigurationCloudwatchLoggingOptionsObservation `json:"cloudwatchLoggingOptions,omitempty" tf:"cloudwatch_logging_options,omitempty"`
// The HTTP endpoint name.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The data processing configuration. See processing_configuration block below for details.
ProcessingConfiguration []HTTPEndpointConfigurationProcessingConfigurationObservation `json:"processingConfiguration,omitempty" tf:"processing_configuration,omitempty"`
// The request configuration. See request_configuration block below for details.
RequestConfiguration []RequestConfigurationObservation `json:"requestConfiguration,omitempty" tf:"request_configuration,omitempty"`
// Total amount of seconds Firehose spends on retries. This duration starts after the initial attempt fails, It does not include the time periods during which Firehose waits for acknowledgment from the specified destination after each attempt. Valid values between 0 and 7200. Default is 300.