-
Notifications
You must be signed in to change notification settings - Fork 0
/
resources.go
1386 lines (1384 loc) · 73.5 KB
/
resources.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
package strictly
// Resources ASFF Section
type Resources []struct {
DataClassification struct {
DetailedResultsLocation string `json:"DetailedResultsLocation,omitempty"`
Result struct {
AdditionalOccurrences bool `json:"AdditionalOccurrences,omitempty"`
CustomDataIdentifiers struct {
Detections []struct {
ARN string `json:"Arn,omitempty"`
Count int `json:"Count,omitempty"`
Name string `json:"Name,omitempty"`
Occurrences struct {
Cells []struct {
CellReference string `json:"CellReference,omitempty"`
Column int `json:"Column,omitempty"`
ColumnName string `json:"ColumnName,omitempty"`
Row int `json:"Row,omitempty"`
} `json:"Cells,omitempty"`
LineRanges []struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"LineRanges,omitempty"`
OffsetRanges []struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"OffsetRanges,omitempty"`
Pages []struct {
LineRange struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"LineRange,omitempty"`
OffsetRange struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"OffsetRange,omitempty"`
Page1 int `json:"Page1,omitempty"`
} `json:"Pages,omitempty"`
Records []struct {
JSONPath string `json:"JsonPath,omitempty"`
RecordIndex int `json:"RecordIndex,omitempty"`
} `json:"Records,omitempty"`
} `json:"Occurrences,omitempty"`
} `json:"Detections,omitempty"`
TotalCount int `json:"TotalCount,omitempty"`
} `json:"CustomDataIdentifiers,omitempty"`
MimeType string `json:"MimeType,omitempty"`
SensitiveData []struct {
Category string `json:"Category,omitempty"`
Detections []struct {
Count int `json:"Count,omitempty"`
Occurrences struct {
Cells []struct {
CellReference string `json:"CellReference,omitempty"`
Column int `json:"Column,omitempty"`
ColumnName string `json:"ColumnName,omitempty"`
Row int `json:"Row,omitempty"`
} `json:"Cells,omitempty"`
LineRanges []struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"LineRanges,omitempty"`
OffsetRanges []struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"OffsetRanges,omitempty"`
Pages []struct {
LineRange struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"LineRange,omitempty"`
OffsetRange struct {
End int `json:"End,omitempty"`
Start int `json:"Start,omitempty"`
StartColumn int `json:"StartColumn,omitempty"`
} `json:"OffsetRange,omitempty"`
Page1 int `json:"Page1,omitempty"`
} `json:"Pages,omitempty"`
Records []struct {
JSONPath string `json:"JsonPath,omitempty"`
RecordIndex int `json:"RecordIndex,omitempty"`
} `json:"Records,omitempty"`
} `json:"Occurrences,omitempty"`
Type string `json:"Type,omitempty"`
} `json:"Detections,omitempty"`
TotalCount int `json:"TotalCount,omitempty"`
} `json:"SensitiveData,omitempty"`
SizeClassified int `json:"SizeClassified,omitempty"`
Status struct {
Code string `json:"Code,omitempty"`
Reason string `json:"Reason,omitempty"`
} `json:"Status,omitempty"`
} `json:"Result,omitempty"`
} `json:"DataClassification,omitempty"`
Details struct {
AWSAPIGatewayRestAPI `json:"AwsApiGatewayRestApi,omitempty"`
AWSAPIGatewayStage struct {
AccessLogSettings struct {
DestinationARN string `json:"DestinationArn,omitempty"`
Format string `json:"Format,omitempty"`
} `json:"AccessLogSettings,omitempty"`
CacheClusterEnabled bool `json:"CacheClusterEnabled,omitempty"`
CacheClusterSize string `json:"CacheClusterSize,omitempty"`
CacheClusterStatus string `json:"CacheClusterStatus,omitempty"`
CanarySettings struct {
DeploymentID string `json:"DeploymentId,omitempty"`
PercentTraffic int `json:"PercentTraffic,omitempty"`
StageVariableOverrides []struct {
String string `json:"string,omitempty"`
} `json:"StageVariableOverrides,omitempty"`
UseStageCache bool `json:"UseStageCache,omitempty"`
} `json:"CanarySettings,omitempty"`
ClientCertificateID string `json:"ClientCertificateId,omitempty"`
CreatedDate string `json:"CreatedDate,omitempty"`
DeploymentID string `json:"DeploymentId,omitempty"`
Description string `json:"Description,omitempty"`
DocumentationVersion string `json:"DocumentationVersion,omitempty"`
LastUpdatedDate string `json:"LastUpdatedDate,omitempty"`
MethodSettings []struct {
CacheDataEncrypted bool `json:"CacheDataEncrypted,omitempty"`
CachingEnabled bool `json:"CachingEnabled,omitempty"`
CacheTTLInSeconds int `json:"CacheTtlInSeconds,omitempty"`
DataTraceEnabled bool `json:"DataTraceEnabled,omitempty"`
HTTPMethod string `json:"HttpMethod,omitempty"`
LoggingLevel string `json:"LoggingLevel,omitempty"`
MetricsEnabled bool `json:"MetricsEnabled,omitempty"`
RequireAuthorizationForCacheControl bool `json:"RequireAuthorizationForCacheControl,omitempty"`
ResourcePath string `json:"ResourcePath,omitempty"`
ThrottlingBurstLimit int `json:"ThrottlingBurstLimit,omitempty"`
ThrottlingRateLimit int `json:"ThrottlingRateLimit,omitempty"`
UnauthorizedCacheControlHeaderStrategy string `json:"UnauthorizedCacheControlHeaderStrategy,omitempty"`
} `json:"MethodSettings,omitempty"`
StageName string `json:"StageName,omitempty"`
TracingEnabled bool `json:"TracingEnabled,omitempty"`
Variables struct {
String string `json:"string,omitempty"`
} `json:"Variables,omitempty"`
WebACLArn string `json:"WebAclArn,omitempty"`
} `json:"AwsApiGatewayStage,omitempty"`
AwsAPIGatewayV2Api struct {
APIEndpoint string `json:"ApiEndpoint,omitempty"`
APIID string `json:"ApiId,omitempty"`
APIKeySelectionExpression string `json:"ApiKeySelectionExpression,omitempty"`
CorsConfiguration struct {
AllowCredentials bool `json:"AllowCredentials,omitempty"`
AllowHeaders []string `json:"AllowHeaders,omitempty"`
AllowMethods []string `json:"AllowMethods,omitempty"`
AllowOrigins []string `json:"AllowOrigins,omitempty"`
ExposeHeaders []string `json:"ExposeHeaders,omitempty"`
MaxAge int `json:"MaxAge,omitempty"`
} `json:"CorsConfiguration,omitempty"`
CreatedDate string `json:"CreatedDate,omitempty"`
Description string `json:"Description,omitempty"`
Name string `json:"Name,omitempty"`
ProtocolType string `json:"ProtocolType,omitempty"`
RouteSelectionExpression string `json:"RouteSelectionExpression,omitempty"`
Version string `json:"Version,omitempty"`
} `json:"AwsApiGatewayV2Api,omitempty"`
AwsAPIGatewayV2Stage struct {
AccessLogSettings struct {
DestinationARN string `json:"DestinationArn,omitempty"`
Format string `json:"Format,omitempty"`
} `json:"AccessLogSettings,omitempty"`
APIGatewayManaged bool `json:"ApiGatewayManaged,omitempty"`
AutoDeploy bool `json:"AutoDeploy,omitempty"`
CreatedDate string `json:"CreatedDate,omitempty"`
DefaultRouteSettings struct {
DataTraceEnabled bool `json:"DataTraceEnabled,omitempty"`
DetailedMetricsEnabled bool `json:"DetailedMetricsEnabled,omitempty"`
LoggingLevel string `json:"LoggingLevel,omitempty"`
ThrottlingBurstLimit int `json:"ThrottlingBurstLimit,omitempty"`
ThrottlingRatelLimit int `json:"ThrottlingRateLimit,omitempty"`
} `json:"DefaultRouteSettings,omitempty"`
DeploymentID string `json:"DeploymentId,omitempty"`
Description string `json:"Description,omitempty"`
LastDeploymentStatusMessage string `json:"LastDeploymentStatusMessage,omitempty"`
LastUpdatedDate string `json:"LastUpdatedDate,omitempty"`
RouteSettings struct {
DetailedMetricsEnabled bool `json:"DetailedMetricsEnabled,omitempty"`
LoggingLevel string `json:"LoggingLevel,omitempty"`
DataTraceEnabled bool `json:"DataTraceEnabled,omitempty"`
ThrottlingBurstLimit int `json:"ThrottlingBurstLimit,omitempty"`
ThrottlingRateLimit int `json:"ThrottlingRateLimit,omitempty"`
} `json:"RouteSettings,omitempty"`
StageName string `json:"StageName,omitempty"`
StageVariables []struct {
String string `json:"string,omitempty"`
} `json:"StageVariables,omitempty"`
} `json:"AwsApiGatewayV2Stage,omitempty"`
Awsautoscalingautoscalinggroup struct {
Createdtime string `json:"CreatedTime,omitempty"`
Healthcheckgraceperiod int `json:"HealthCheckGracePeriod,omitempty"`
Healthchecktype string `json:"HealthCheckType,omitempty"`
Launchconfigurationname string `json:"LaunchConfigurationName,omitempty"`
Loadbalancernames []string `json:"LoadBalancerNames,omitempty"`
} `json:"AwsAutoScalingAutoScalingGroup,omitempty"`
Awscertificatemanagercertificate struct {
Certificateauthorityarn string `json:"CertificateAuthorityArn,omitempty"`
Createdat string `json:"CreatedAt,omitempty"`
Domainname string `json:"DomainName,omitempty"`
Domainvalidationoptions []struct {
Domainname string `json:"DomainName,omitempty"`
Resourcerecord struct {
Name string `json:"Name,omitempty"`
Type string `json:"Type,omitempty"`
Value string `json:"Value,omitempty"`
} `json:"ResourceRecord,omitempty"`
Validationdomain string `json:"ValidationDomain,omitempty"`
Validationemails []string `json:"ValidationEmails,omitempty"`
Validationmethod string `json:"ValidationMethod,omitempty"`
Validationstatus string `json:"ValidationStatus,omitempty"`
} `json:"DomainValidationOptions,omitempty"`
Extendedkeyusages []struct {
Name string `json:"Name,omitempty"`
Oid string `json:"OId,omitempty"`
} `json:"ExtendedKeyUsages,omitempty"`
Failurereason string `json:"FailureReason,omitempty"`
Importedat string `json:"ImportedAt,omitempty"`
Inuseby []string `json:"InUseBy,omitempty"`
Issuedat string `json:"IssuedAt,omitempty"`
Issuer string `json:"Issuer,omitempty"`
Keyalgorithm string `json:"KeyAlgorithm,omitempty"`
Keyusages []struct {
Name string `json:"Name,omitempty"`
} `json:"KeyUsages,omitempty"`
Notafter string `json:"NotAfter,omitempty"`
Notbefore string `json:"NotBefore,omitempty"`
Options struct {
Certificatetransparencyloggingpreference string `json:"CertificateTransparencyLoggingPreference,omitempty"`
} `json:"Options,omitempty"`
Renewaleligibility string `json:"RenewalEligibility,omitempty"`
Renewalsummary struct {
Domainvalidationoptions []struct {
Domainname string `json:"DomainName,omitempty"`
Resourcerecord struct {
Name string `json:"Name,omitempty"`
Type string `json:"Type,omitempty"`
Value string `json:"Value,omitempty"`
} `json:"ResourceRecord,omitempty"`
Validationdomain string `json:"ValidationDomain,omitempty"`
Validationemails []string `json:"ValidationEmails,omitempty"`
Validationmethod string `json:"ValidationMethod,omitempty"`
Validationstatus string `json:"ValidationStatus,omitempty"`
} `json:"DomainValidationOptions,omitempty"`
Renewalstatus string `json:"RenewalStatus,omitempty"`
Renewalstatusreason string `json:"RenewalStatusReason,omitempty"`
Updatedat string `json:"UpdatedAt,omitempty"`
} `json:"RenewalSummary,omitempty"`
Serial string `json:"Serial,omitempty"`
Signaturealgorithm string `json:"SignatureAlgorithm,omitempty"`
Status string `json:"Status,omitempty"`
Subject string `json:"Subject,omitempty"`
Subjectalternativenames []string `json:"SubjectAlternativeNames,omitempty"`
Type string `json:"Type,omitempty"`
} `json:"AwsCertificateManagerCertificate,omitempty"`
Awscloudfrontdistribution struct {
Cachebehaviors struct {
Items []struct {
Viewerprotocolpolicy string `json:"ViewerProtocolPolicy,omitempty"`
} `json:"Items,omitempty"`
} `json:"CacheBehaviors,omitempty"`
Defaultcachebehavior struct {
Viewerprotocolpolicy string `json:"ViewerProtocolPolicy,omitempty"`
} `json:"DefaultCacheBehavior,omitempty"`
Defaultrootobject string `json:"DefaultRootObject,omitempty"`
Domainname string `json:"DomainName,omitempty"`
Etag string `json:"Etag,omitempty"`
Lastmodifiedtime string `json:"LastModifiedTime,omitempty"`
Logging struct {
Bucket string `json:"Bucket,omitempty"`
Enabled bool `json:"Enabled,omitempty"`
Includecookies bool `json:"IncludeCookies,omitempty"`
Prefix string `json:"Prefix,omitempty"`
} `json:"Logging,omitempty"`
Origingroups struct {
Items []struct {
Failovercriteria struct {
Statuscodes struct {
Items []int `json:"Items,omitempty"`
Quantity int `json:"Quantity,omitempty"`
} `json:"StatusCodes,omitempty"`
} `json:"FailoverCriteria,omitempty"`
} `json:"Items,omitempty"`
} `json:"OriginGroups,omitempty"`
Origins struct {
Items []struct {
Domainname string `json:"DomainName,omitempty"`
ID string `json:"Id,omitempty"`
Originpath string `json:"OriginPath,omitempty"`
S3Originconfig struct {
Originaccessidentity string `json:"OriginAccessIdentity,omitempty"`
} `json:"S3OriginConfig,omitempty"`
} `json:"Items,omitempty"`
} `json:"Origins,omitempty"`
Status string `json:"Status,omitempty"`
Webaclid string `json:"WebAclId,omitempty"`
} `json:"AwsCloudFrontDistribution,omitempty"`
Awscloudtrailtrail struct {
Cloudwatchlogsloggrouparn string `json:"CloudWatchLogsLogGroupArn,omitempty"`
Cloudwatchlogsrolearn string `json:"CloudWatchLogsRoleArn,omitempty"`
Hascustomeventselectors bool `json:"HasCustomEventSelectors,omitempty"`
Homeregion string `json:"HomeRegion,omitempty"`
Includeglobalserviceevents bool `json:"IncludeGlobalServiceEvents,omitempty"`
Ismultiregiontrail bool `json:"IsMultiRegionTrail,omitempty"`
Isorganizationtrail bool `json:"IsOrganizationTrail,omitempty"`
Kmskeyid string `json:"KmsKeyId,omitempty"`
Logfilevalidationenabled bool `json:"LogFileValidationEnabled,omitempty"`
Name string `json:"Name,omitempty"`
S3Bucketname string `json:"S3BucketName,omitempty"`
S3Keyprefix string `json:"S3KeyPrefix,omitempty"`
Snstopicarn string `json:"SnsTopicArn,omitempty"`
Snstopicname string `json:"SnsTopicName,omitempty"`
Trailarn string `json:"TrailArn,omitempty"`
} `json:"AwsCloudTrailTrail,omitempty"`
Awscodebuildproject struct {
Encryptionkey string `json:"EncryptionKey,omitempty"`
Environment struct {
Type string `json:"Type,omitempty"`
Certificate string `json:"Certificate,omitempty"`
Imagepullcredentialstype string `json:"ImagePullCredentialsType,omitempty"`
Registrycredential struct {
Credential string `json:"Credential,omitempty"`
Credentialprovider string `json:"CredentialProvider,omitempty"`
} `json:"RegistryCredential,omitempty"`
} `json:"Environment,omitempty"`
Name string `json:"Name,omitempty"`
Servicerole string `json:"ServiceRole,omitempty"`
Source struct {
Type string `json:"Type,omitempty"`
Location string `json:"Location,omitempty"`
Gitclonedepth int `json:"GitCloneDepth,omitempty"`
} `json:"Source,omitempty"`
Vpcconfig struct {
Vpcid string `json:"VpcId,omitempty"`
Subnets []string `json:"Subnets,omitempty"`
Securitygroupids []string `json:"SecurityGroupIds,omitempty"`
} `json:"VpcConfig,omitempty"`
} `json:"AwsCodeBuildProject,omitempty"`
Awsdynamodbtable struct {
Attributedefinitions []struct {
Attributename string `json:"AttributeName,omitempty"`
Attributetype string `json:"AttributeType,omitempty"`
} `json:"AttributeDefinitions,omitempty"`
Billingmodesummary struct {
Billingmode string `json:"BillingMode,omitempty"`
Lastupdatetopayperrequestdatetime string `json:"LastUpdateToPayPerRequestDateTime,omitempty"`
} `json:"BillingModeSummary,omitempty"`
Creationdatetime string `json:"CreationDateTime,omitempty"`
Globalsecondaryindexes []struct {
Backfilling bool `json:"Backfilling,omitempty"`
Indexarn string `json:"IndexArn,omitempty"`
Indexname string `json:"IndexName,omitempty"`
Indexsizebytes int `json:"IndexSizeBytes,omitempty"`
Indexstatus string `json:"IndexStatus,omitempty"`
Itemcount int `json:"ItemCount,omitempty"`
Keyschema []struct {
Attributename string `json:"AttributeName,omitempty"`
Keytype string `json:"KeyType,omitempty"`
} `json:"KeySchema,omitempty"`
Projection struct {
Nonkeyattributes []string `json:"NonKeyAttributes,omitempty"`
Projectiontype string `json:"ProjectionType,omitempty"`
} `json:"Projection,omitempty"`
Provisionedthroughput struct {
Lastdecreasedatetime string `json:"LastDecreaseDateTime,omitempty"`
Lastincreasedatetime string `json:"LastIncreaseDateTime,omitempty"`
OneOfdecreasestoday int `json:"1OfDecreasesToday,omitempty"`
Readcapacityunits int `json:"ReadCapacityUnits,omitempty"`
Writecapacityunits int `json:"WriteCapacityUnits,omitempty"`
} `json:"ProvisionedThroughput,omitempty"`
} `json:"GlobalSecondaryIndexes,omitempty"`
Globaltableversion string `json:"GlobalTableVersion,omitempty"`
Itemcount int `json:"ItemCount,omitempty"`
Keyschema []struct {
Attributename string `json:"AttributeName,omitempty"`
Keytype string `json:"KeyType,omitempty"`
} `json:"KeySchema,omitempty"`
Lateststreamarn string `json:"LatestStreamArn,omitempty"`
Lateststreamlabel string `json:"LatestStreamLabel,omitempty"`
Localsecondaryindexes []struct {
Indexarn string `json:"IndexArn,omitempty"`
Indexname string `json:"IndexName,omitempty"`
Keyschema []struct {
Attributename string `json:"AttributeName,omitempty"`
Keytype string `json:"KeyType,omitempty"`
} `json:"KeySchema,omitempty"`
Projection struct {
Nonkeyattributes []string `json:"NonKeyAttributes,omitempty"`
Projectiontype string `json:"ProjectionType,omitempty"`
} `json:"Projection,omitempty"`
} `json:"LocalSecondaryIndexes,omitempty"`
Provisionedthroughput struct {
Lastdecreasedatetime string `json:"LastDecreaseDateTime,omitempty"`
Lastincreasedatetime string `json:"LastIncreaseDateTime,omitempty"`
OneOfdecreasestoday int `json:"1OfDecreasesToday,omitempty"`
Readcapacityunits int `json:"ReadCapacityUnits,omitempty"`
Writecapacityunits int `json:"WriteCapacityUnits,omitempty"`
} `json:"ProvisionedThroughput,omitempty"`
Replicas []struct {
Globalsecondaryindexes []struct {
Indexname string `json:"IndexName,omitempty"`
Provisionedthroughputoverride struct {
Readcapacityunits int `json:"ReadCapacityUnits,omitempty"`
} `json:"ProvisionedThroughputOverride,omitempty"`
} `json:"GlobalSecondaryIndexes,omitempty"`
Kmsmasterkeyid string `json:"KmsMasterKeyId,omitempty"`
Provisionedthroughputoverride struct {
Readcapacityunits int `json:"ReadCapacityUnits,omitempty"`
} `json:"ProvisionedThroughputOverride,omitempty"`
Regionname string `json:"RegionName,omitempty"`
Replicastatus string `json:"ReplicaStatus,omitempty"`
Replicastatusdescription string `json:"ReplicaStatusDescription,omitempty"`
} `json:"Replicas,omitempty"`
Restoresummary struct {
Restoredatetime string `json:"RestoreDateTime,omitempty"`
Restoreinprogress bool `json:"RestoreInProgress,omitempty"`
Sourcebackuparn string `json:"SourceBackupArn,omitempty"`
Sourcetablearn string `json:"SourceTableArn,omitempty"`
} `json:"RestoreSummary,omitempty"`
Ssedescription struct {
Inaccessibleencryptiondatetime string `json:"InaccessibleEncryptionDateTime,omitempty"`
Kmsmasterkeyarn string `json:"KmsMasterKeyArn,omitempty"`
Ssetype string `json:"SseType,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"SseDescription,omitempty"`
Streamspecification struct {
Streamenabled bool `json:"StreamEnabled,omitempty"`
Streamviewtype string `json:"StreamViewType,omitempty"`
} `json:"StreamSpecification,omitempty"`
Tableid string `json:"TableId,omitempty"`
Tablename string `json:"TableName,omitempty"`
Tablesizebytes int `json:"TableSizeBytes,omitempty"`
Tablestatus string `json:"TableStatus,omitempty"`
} `json:"AwsDynamoDbTable,omitempty"`
Awsec2Eip struct {
Allocationid string `json:"AllocationId,omitempty"`
Associationid string `json:"AssociationId,omitempty"`
Domain string `json:"Domain,omitempty"`
Instanceid string `json:"InstanceId,omitempty"`
Networkbordergroup string `json:"NetworkBorderGroup,omitempty"`
Networkinterfaceid string `json:"NetworkInterfaceId,omitempty"`
Networkinterfaceownerid string `json:"NetworkInterfaceOwnerId,omitempty"`
Privateipaddress string `json:"PrivateIpAddress,omitempty"`
Publicip string `json:"PublicIp,omitempty"`
Publicipv4Pool string `json:"PublicIpv4Pool,omitempty"`
} `json:"AwsEc2Eip,omitempty"`
Awsec2Instance struct {
Iaminstanceprofilearn string `json:"IamInstanceProfileArn,omitempty"`
Imageid string `json:"ImageId,omitempty"`
Ipv4Addresses []string `json:"IpV4Addresses,omitempty"`
Ipv6Addresses []string `json:"IpV6Addresses,omitempty"`
Keyname string `json:"KeyName,omitempty"`
Launchedat string `json:"LaunchedAt,omitempty"`
Subnetid string `json:"SubnetId,omitempty"`
Type string `json:"Type,omitempty"`
Vpcid string `json:"VpcId,omitempty"`
} `json:"AwsEc2Instance,omitempty"`
Awsec2Networkacl struct {
Associations []struct {
Networkaclassociationid string `json:"NetworkAclAssociationId,omitempty"`
Networkaclid string `json:"NetworkAclId,omitempty"`
Subnetid string `json:"SubnetId,omitempty"`
} `json:"Associations,omitempty"`
Entries []struct {
Cidrblock string `json:"CidrBlock,omitempty"`
Egress bool `json:"Egress,omitempty"`
Icmptypecode struct {
Code int `json:"Code,omitempty"`
Type int `json:"Type,omitempty"`
} `json:"IcmpTypeCode,omitempty"`
Ipv6Cidrblock string `json:"Ipv6CidrBlock,omitempty"`
Portrange struct {
From int `json:"From,omitempty"`
To int `json:"To,omitempty"`
} `json:"PortRange,omitempty"`
Protocol string `json:"Protocol,omitempty"`
Ruleaction string `json:"RuleAction,omitempty"`
Rule1 int `json:"Rule1,omitempty"`
} `json:"Entries,omitempty"`
Isdefault bool `json:"IsDefault,omitempty"`
Networkaclid string `json:"NetworkAclId,omitempty"`
Ownerid string `json:"OwnerId,omitempty"`
Vpcid string `json:"VpcId,omitempty"`
} `json:"AwsEc2NetworkAcl,omitempty"`
Awsec2Networkinterface struct {
Attachment struct {
Attachmentid string `json:"AttachmentId,omitempty"`
Attachtime string `json:"AttachTime,omitempty"`
Deleteontermination bool `json:"DeleteOnTermination,omitempty"`
Deviceindex int `json:"DeviceIndex,omitempty"`
Instanceid string `json:"InstanceId,omitempty"`
Instanceownerid string `json:"InstanceOwnerId,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"Attachment,omitempty"`
Ipv6Addresses []struct {
Ipv6Address string `json:"Ipv6Address,omitempty"`
} `json:"Ipv6Addresses,omitempty"`
Networkinterfaceid string `json:"NetworkInterfaceId,omitempty"`
Privateipaddresses []struct {
Privatednsname string `json:"PrivateDnsName,omitempty"`
Privateipaddress string `json:"PrivateIpAddress,omitempty"`
} `json:"PrivateIpAddresses,omitempty"`
Publicdnsname string `json:"PublicDnsName,omitempty"`
Publicip string `json:"PublicIp,omitempty"`
Securitygroups []struct {
Groupid string `json:"GroupId,omitempty"`
Groupname string `json:"GroupName,omitempty"`
} `json:"SecurityGroups,omitempty"`
Sourcedestcheck bool `json:"SourceDestCheck,omitempty"`
} `json:"AwsEc2NetworkInterface,omitempty"`
Awsec2Securitygroup struct {
Groupid string `json:"GroupId,omitempty"`
Groupname string `json:"GroupName,omitempty"`
Ippermissions []struct {
Fromport int `json:"FromPort,omitempty"`
Ipprotocol string `json:"IpProtocol,omitempty"`
Ipranges []struct {
Cidrip string `json:"CidrIp,omitempty"`
} `json:"IpRanges,omitempty"`
Prefixlistids []struct {
Prefixlistid string `json:"PrefixListId,omitempty"`
} `json:"PrefixListIds,omitempty"`
Toport int `json:"ToPort,omitempty"`
Useridgrouppairs []struct {
Userid string `json:"UserId,omitempty"`
Groupid string `json:"GroupId,omitempty"`
} `json:"UserIdGroupPairs,omitempty"`
} `json:"IpPermissions,omitempty"`
Ippermissionsegress []struct {
Fromport int `json:"FromPort,omitempty"`
Ipprotocol string `json:"IpProtocol,omitempty"`
Ipranges []struct {
Cidrip string `json:"CidrIp,omitempty"`
} `json:"IpRanges,omitempty"`
Prefixlistids []struct {
Prefixlistid string `json:"PrefixListId,omitempty"`
} `json:"PrefixListIds,omitempty"`
Toport int `json:"ToPort,omitempty"`
Useridgrouppairs []struct {
Userid string `json:"UserId,omitempty"`
Groupid string `json:"GroupId,omitempty"`
} `json:"UserIdGroupPairs,omitempty"`
} `json:"IpPermissionsEgress,omitempty"`
Ownerid string `json:"OwnerId,omitempty"`
Vpcid string `json:"VpcId,omitempty"`
} `json:"AwsEc2SecurityGroup,omitempty"`
Awsec2Subnet struct {
Assignipv6Addressoncreation bool `json:"AssignIpv6AddressOnCreation,omitempty"`
Availabilityzone string `json:"AvailabilityZone,omitempty"`
Availabilityzoneid string `json:"AvailabilityZoneId,omitempty"`
Availableipaddresscount int `json:"AvailableIpAddressCount,omitempty"`
Cidrblock string `json:"CidrBlock,omitempty"`
Defaultforaz bool `json:"DefaultForAz,omitempty"`
Ipv6Cidrblockassociationset []struct {
Associationid string `json:"AssociationId,omitempty"`
Ipv6Cidrblock string `json:"Ipv6CidrBlock,omitempty"`
Cidrblockstate string `json:"CidrBlockState,omitempty"`
} `json:"Ipv6CidrBlockAssociationSet,omitempty"`
Mappubliciponlaunch bool `json:"MapPublicIpOnLaunch,omitempty"`
Ownerid string `json:"OwnerId,omitempty"`
State string `json:"State,omitempty"`
Subnetarn string `json:"SubnetArn,omitempty"`
Subnetid string `json:"SubnetId,omitempty"`
Vpcid string `json:"VpcId,omitempty"`
} `json:"AwsEc2Subnet,omitempty"`
Awsec2Volume struct {
Attachments []struct {
Attachtime string `json:"AttachTime,omitempty"`
Deleteontermination bool `json:"DeleteOnTermination,omitempty"`
Instanceid string `json:"InstanceId,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"Attachments,omitempty"`
Createtime string `json:"CreateTime,omitempty"`
Encrypted bool `json:"Encrypted,omitempty"`
Kmskeyid string `json:"KmsKeyId,omitempty"`
Size int `json:"Size,omitempty"`
Snapshotid string `json:"SnapshotId,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"AwsEc2Volume,omitempty"`
Awsec2Vpc struct {
Cidrblockassociationset []struct {
Associationid string `json:"AssociationId,omitempty"`
Cidrblock string `json:"CidrBlock,omitempty"`
Cidrblockstate string `json:"CidrBlockState,omitempty"`
} `json:"CidrBlockAssociationSet,omitempty"`
Dhcpoptionsid string `json:"DhcpOptionsId,omitempty"`
Ipv6Cidrblockassociationset []struct {
Associationid string `json:"AssociationId,omitempty"`
Cidrblockstate string `json:"CidrBlockState,omitempty"`
Ipv6Cidrblock string `json:"Ipv6CidrBlock,omitempty"`
} `json:"Ipv6CidrBlockAssociationSet,omitempty"`
State string `json:"State,omitempty"`
} `json:"AwsEc2Vpc,omitempty"`
Awselasticbeanstalkenvironment struct {
Applicationname string `json:"ApplicationName,omitempty"`
Cname string `json:"Cname,omitempty"`
Datecreated string `json:"DateCreated,omitempty"`
Dateupdated string `json:"DateUpdated,omitempty"`
Description string `json:"Description,omitempty"`
Endpointurl string `json:"EndpointUrl,omitempty"`
Environmentarn string `json:"EnvironmentArn,omitempty"`
Environmentid string `json:"EnvironmentId,omitempty"`
Environmentlinks []struct {
Environmentname string `json:"EnvironmentName,omitempty"`
Linkname string `json:"LinkName,omitempty"`
} `json:"EnvironmentLinks,omitempty"`
Environmentname string `json:"EnvironmentName,omitempty"`
Optionsettings []struct {
Namespace string `json:"Namespace,omitempty"`
Optionname string `json:"OptionName,omitempty"`
Resourcename string `json:"ResourceName,omitempty"`
Value string `json:"Value,omitempty"`
} `json:"OptionSettings,omitempty"`
Platformarn string `json:"PlatformArn,omitempty"`
Solutionstackname string `json:"SolutionStackName,omitempty"`
Status string `json:"Status,omitempty"`
Tier struct {
Name string `json:"Name,omitempty"`
Type string `json:"Type,omitempty"`
Version string `json:"Version,omitempty"`
} `json:"Tier,omitempty"`
Versionlabel string `json:"VersionLabel,omitempty"`
} `json:"AwsElasticBeanstalkEnvironment,omitempty"`
Awselasticsearchdomain struct {
Accesspolicies string `json:"AccessPolicies,omitempty"`
Domainstatus struct {
Domainid string `json:"DomainId,omitempty"`
Domainname string `json:"DomainName,omitempty"`
Endpoint string `json:"Endpoint,omitempty"`
Endpoints struct {
String string `json:"string,omitempty"`
} `json:"Endpoints,omitempty"`
} `json:"DomainStatus,omitempty"`
Domainendpointoptions struct {
Enforcehttps bool `json:"EnforceHTTPS,omitempty"`
Tlssecuritypolicy string `json:"TLSSecurityPolicy,omitempty"`
} `json:"DomainEndpointOptions,omitempty"`
Elasticsearchversion string `json:"ElasticsearchVersion,omitempty"`
Encryptionatrestoptions struct {
Enabled bool `json:"Enabled,omitempty"`
Kmskeyid string `json:"KmsKeyId,omitempty"`
} `json:"EncryptionAtRestOptions,omitempty"`
Nodetonodeencryptionoptions struct {
Enabled bool `json:"Enabled,omitempty"`
} `json:"NodeToNodeEncryptionOptions,omitempty"`
Vpcoptions struct {
Availabilityzones []string `json:"AvailabilityZones,omitempty"`
Securitygroupids []string `json:"SecurityGroupIds,omitempty"`
Subnetids []string `json:"SubnetIds,omitempty"`
Vpcid string `json:"VPCId,omitempty"`
} `json:"VPCOptions,omitempty"`
} `json:"AwsElasticSearchDomain,omitempty"`
Awselbloadbalancer struct {
Availabilityzones []string `json:"AvailabilityZones,omitempty"`
Backendserverdescriptions []struct {
Instanceport int `json:"InstancePort,omitempty"`
Policynames []string `json:"PolicyNames,omitempty"`
} `json:"BackendServerDescriptions,omitempty"`
Canonicalhostedzonename string `json:"CanonicalHostedZoneName,omitempty"`
Canonicalhostedzonenameid string `json:"CanonicalHostedZoneNameID,omitempty"`
Createdtime string `json:"CreatedTime,omitempty"`
Dnsname string `json:"DnsName,omitempty"`
Healthcheck struct {
Healthythreshold int `json:"HealthyThreshold,omitempty"`
Interval int `json:"Interval,omitempty"`
Target string `json:"Target,omitempty"`
Timeout int `json:"Timeout,omitempty"`
Unhealthythreshold int `json:"UnhealthyThreshold,omitempty"`
} `json:"HealthCheck,omitempty"`
Instances []struct {
Instanceid string `json:"InstanceId,omitempty"`
} `json:"Instances,omitempty"`
Listenerdescriptions []struct {
Listener struct {
Instanceport int `json:"InstancePort,omitempty"`
Instanceprotocol string `json:"InstanceProtocol,omitempty"`
Loadbalancerport int `json:"LoadBalancerPort,omitempty"`
Protocol string `json:"Protocol,omitempty"`
Sslcertificateid string `json:"SslCertificateId,omitempty"`
} `json:"Listener,omitempty"`
Policynames []string `json:"PolicyNames,omitempty"`
} `json:"ListenerDescriptions,omitempty"`
Loadbalancerattributes struct {
Accesslog struct {
Emitinterval int `json:"EmitInterval,omitempty"`
Enabled bool `json:"Enabled,omitempty"`
S3Bucketname string `json:"S3BucketName,omitempty"`
S3Bucketprefix string `json:"S3BucketPrefix,omitempty"`
} `json:"AccessLog,omitempty"`
Connectiondraining struct {
Enabled bool `json:"Enabled,omitempty"`
Timeout int `json:"Timeout,omitempty"`
} `json:"ConnectionDraining,omitempty"`
Connectionsettings struct {
Idletimeout int `json:"IdleTimeout,omitempty"`
} `json:"ConnectionSettings,omitempty"`
Crosszoneloadbalancing struct {
Enabled bool `json:"Enabled,omitempty"`
} `json:"CrossZoneLoadBalancing,omitempty"`
} `json:"LoadBalancerAttributes,omitempty"`
Loadbalancername string `json:"LoadBalancerName,omitempty"`
Policies struct {
Appcookiestickinesspolicies []struct {
Cookiename string `json:"CookieName,omitempty"`
Policyname string `json:"PolicyName,omitempty"`
} `json:"AppCookieStickinessPolicies,omitempty"`
Lbcookiestickinesspolicies []struct {
Cookieexpirationperiod int `json:"CookieExpirationPeriod,omitempty"`
Policyname string `json:"PolicyName,omitempty"`
} `json:"LbCookieStickinessPolicies,omitempty"`
Otherpolicies []string `json:"OtherPolicies,omitempty"`
} `json:"Policies,omitempty"`
Scheme string `json:"Scheme,omitempty"`
Securitygroups []string `json:"SecurityGroups,omitempty"`
Sourcesecuritygroup struct {
Groupname string `json:"GroupName,omitempty"`
Owneralias string `json:"OwnerAlias,omitempty"`
} `json:"SourceSecurityGroup,omitempty"`
Subnets []string `json:"Subnets,omitempty"`
Vpcid string `json:"VpcId,omitempty"`
} `json:"AwsElbLoadBalancer,omitempty"`
Awselbv2Loadbalancer struct {
Availabilityzones struct {
Subnetid string `json:"SubnetId,omitempty"`
Zonename string `json:"ZoneName,omitempty"`
} `json:"AvailabilityZones,omitempty"`
Canonicalhostedzoneid string `json:"CanonicalHostedZoneId,omitempty"`
Createdtime string `json:"CreatedTime,omitempty"`
Dnsname string `json:"DNSName,omitempty"`
Ipaddresstype string `json:"IpAddressType,omitempty"`
Scheme string `json:"Scheme,omitempty"`
Securitygroups []string `json:"SecurityGroups,omitempty"`
State struct {
Code string `json:"Code,omitempty"`
Reason string `json:"Reason,omitempty"`
} `json:"State,omitempty"`
Type string `json:"Type,omitempty"`
Vpcid string `json:"VpcId,omitempty"`
} `json:"AwsElbv2LoadBalancer,omitempty"`
Awsiamaccesskey struct {
Accesskeyid string `json:"AccessKeyId,omitempty"`
Accountid string `json:"AccountId,omitempty"`
Createdat string `json:"CreatedAt,omitempty"`
Principalid string `json:"PrincipalId,omitempty"`
Principalname string `json:"PrincipalName,omitempty"`
Principaltype string `json:"PrincipalType,omitempty"`
Sessioncontext struct {
Attributes struct {
Creationdate string `json:"CreationDate,omitempty"`
Mfaauthenticated bool `json:"MfaAuthenticated,omitempty"`
} `json:"Attributes,omitempty"`
Sessionissuer struct {
Accountid string `json:"AccountId,omitempty"`
Arn string `json:"Arn,omitempty"`
Principalid string `json:"PrincipalId,omitempty"`
Type string `json:"Type,omitempty"`
Username string `json:"UserName,omitempty"`
} `json:"SessionIssuer,omitempty"`
} `json:"SessionContext,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"AwsIamAccessKey,omitempty"`
Awsiamgroup struct {
Attachedmanagedpolicies []struct {
Policyarn string `json:"PolicyArn,omitempty"`
Policyname string `json:"PolicyName,omitempty"`
} `json:"AttachedManagedPolicies,omitempty"`
Createdate string `json:"CreateDate,omitempty"`
Groupid string `json:"GroupId,omitempty"`
Groupname string `json:"GroupName,omitempty"`
Grouppolicylist []struct {
Policyname string `json:"PolicyName,omitempty"`
} `json:"GroupPolicyList,omitempty"`
Path string `json:"Path,omitempty"`
} `json:"AwsIamGroup,omitempty"`
Awsiampolicy struct {
Attachmentcount int `json:"AttachmentCount,omitempty"`
Createdate string `json:"CreateDate,omitempty"`
Defaultversionid string `json:"DefaultVersionId,omitempty"`
Description string `json:"Description,omitempty"`
Isattachable bool `json:"IsAttachable,omitempty"`
Path string `json:"Path,omitempty"`
Permissionsboundaryusagecount int `json:"PermissionsBoundaryUsageCount,omitempty"`
Policyid string `json:"PolicyId,omitempty"`
Policyname string `json:"PolicyName,omitempty"`
Policyversionlist []struct {
Createdate string `json:"CreateDate,omitempty"`
Isdefaultversion bool `json:"IsDefaultVersion,omitempty"`
Versionid string `json:"VersionId,omitempty"`
} `json:"PolicyVersionList,omitempty"`
Updatedate string `json:"UpdateDate,omitempty"`
} `json:"AwsIamPolicy,omitempty"`
Awsiamrole struct {
Assumerolepolicydocument string `json:"AssumeRolePolicyDocument,omitempty"`
Attachedmanagedpolicies []struct {
Policyarn string `json:"PolicyArn,omitempty"`
Policyname string `json:"PolicyName,omitempty"`
} `json:"AttachedManagedPolicies,omitempty"`
Createdate string `json:"CreateDate,omitempty"`
Instanceprofilelist []struct {
Arn string `json:"Arn,omitempty"`
Createdate string `json:"CreateDate,omitempty"`
Instanceprofileid string `json:"InstanceProfileId,omitempty"`
Instanceprofilename string `json:"InstanceProfileName,omitempty"`
Path string `json:"Path,omitempty"`
Roles []struct {
Arn string `json:"Arn,omitempty"`
Assumerolepolicydocument string `json:"AssumeRolePolicyDocument,omitempty"`
Createdate string `json:"CreateDate,omitempty"`
Path string `json:"Path,omitempty"`
Roleid string `json:"RoleId,omitempty"`
Rolename string `json:"RoleName,omitempty"`
} `json:"Roles,omitempty"`
} `json:"InstanceProfileList,omitempty"`
Maxsessionduration int `json:"MaxSessionDuration,omitempty"`
Path string `json:"Path,omitempty"`
Permissionsboundary struct {
Permissionsboundaryarn string `json:"PermissionsBoundaryArn,omitempty"`
Permissionsboundarytype string `json:"PermissionsBoundaryType,omitempty"`
} `json:"PermissionsBoundary,omitempty"`
Roleid string `json:"RoleId,omitempty"`
Rolename string `json:"RoleName,omitempty"`
Rolepolicylist []struct {
Policyname string `json:"PolicyName,omitempty"`
} `json:"RolePolicyList,omitempty"`
} `json:"AwsIamRole,omitempty"`
Awsiamuser struct {
Attachedmanagedpolicies []struct {
Policyarn string `json:"PolicyArn,omitempty"`
Policyname string `json:"PolicyName,omitempty"`
} `json:"AttachedManagedPolicies,omitempty"`
Createdate string `json:"CreateDate,omitempty"`
Grouplist []string `json:"GroupList,omitempty"`
Path string `json:"Path,omitempty"`
Permissionsboundary struct {
Permissionsboundaryarn string `json:"PermissionsBoundaryArn,omitempty"`
Permissionsboundarytype string `json:"PermissionsBoundaryType,omitempty"`
} `json:"PermissionsBoundary,omitempty"`
Userid string `json:"UserId,omitempty"`
Username string `json:"UserName,omitempty"`
Userpolicylist []struct {
Policyname string `json:"PolicyName,omitempty"`
} `json:"UserPolicyList,omitempty"`
} `json:"AwsIamUser,omitempty"`
Awskmskey struct {
Awsaccountid string `json:"AWSAccountId,omitempty"`
Creationdate string `json:"CreationDate,omitempty"`
Description string `json:"Description,omitempty"`
Keyid string `json:"KeyId,omitempty"`
Keymanager string `json:"KeyManager,omitempty"`
Keystate string `json:"KeyState,omitempty"`
Origin string `json:"Origin,omitempty"`
} `json:"AwsKmsKey,omitempty"`
Awslambdafunction struct {
Code struct {
S3Bucket string `json:"S3Bucket,omitempty"`
S3Key string `json:"S3Key,omitempty"`
S3Objectversion string `json:"S3ObjectVersion,omitempty"`
Zipfile string `json:"ZipFile,omitempty"`
} `json:"Code,omitempty"`
Codesha256 string `json:"CodeSha256,omitempty"`
Deadletterconfig struct {
Targetarn string `json:"TargetArn,omitempty"`
} `json:"DeadLetterConfig,omitempty"`
Environment struct {
Variables struct {
String string `json:"string,omitempty"`
} `json:"Variables,omitempty"`
Error struct {
Errorcode string `json:"ErrorCode,omitempty"`
Message string `json:"Message,omitempty"`
} `json:"Error,omitempty"`
} `json:"Environment,omitempty"`
Functionname string `json:"FunctionName,omitempty"`
Handler string `json:"Handler,omitempty"`
Kmskeyarn string `json:"KmsKeyArn,omitempty"`
Lastmodified string `json:"LastModified,omitempty"`
Layers struct {
Arn string `json:"Arn,omitempty"`
Codesize int `json:"CodeSize,omitempty"`
} `json:"Layers,omitempty"`
Revisionid string `json:"RevisionId,omitempty"`
Role string `json:"Role,omitempty"`
Runtime string `json:"Runtime,omitempty"`
Timeout string `json:"Timeout,omitempty"`
Tracingconfig struct {
TracingconfigMode string `json:"TracingConfig.Mode,omitempty"`
} `json:"TracingConfig,omitempty"`
Version string `json:"Version,omitempty"`
Vpcconfig struct {
Securitygroupids []string `json:"SecurityGroupIds,omitempty"`
Subnetids []string `json:"SubnetIds,omitempty"`
} `json:"VpcConfig,omitempty"`
Masterarn string `json:"MasterArn,omitempty"`
Memorysize int `json:"MemorySize,omitempty"`
} `json:"AwsLambdaFunction,omitempty"`
Awslambdalayerversion struct {
Compatibleruntimes []string `json:"CompatibleRuntimes,omitempty"`
Createddate string `json:"CreatedDate,omitempty"`
Version int `json:"Version,omitempty"`
} `json:"AwsLambdaLayerVersion,omitempty"`
Awsrdsdbcluster struct {
Activitystreamstatus string `json:"ActivityStreamStatus,omitempty"`
Allocatedstorage int `json:"AllocatedStorage,omitempty"`
Associatedroles []struct {
Rolearn string `json:"RoleArn,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"AssociatedRoles,omitempty"`
Availabilityzones []string `json:"AvailabilityZones,omitempty"`
Backupretentionperiod int `json:"BackupRetentionPeriod,omitempty"`
Clustercreatetime string `json:"ClusterCreateTime,omitempty"`
Copytagstosnapshot bool `json:"CopyTagsToSnapshot,omitempty"`
Crossaccountclone bool `json:"CrossAccountClone,omitempty"`
Customendpoints []string `json:"CustomEndpoints,omitempty"`
Databasename string `json:"DatabaseName,omitempty"`
Dbclusteridentifier string `json:"DbClusterIdentifier,omitempty"`
Dbclustermembers []struct {
Dbclusterparametergroupstatus string `json:"DbClusterParameterGroupStatus,omitempty"`
Dbinstanceidentifier string `json:"DbInstanceIdentifier,omitempty"`
Isclusterwriter bool `json:"IsClusterWriter,omitempty"`
Promotiontier int `json:"PromotionTier,omitempty"`
} `json:"DbClusterMembers,omitempty"`
Dbclusteroptiongroupmemberships []struct {
Dbclusteroptiongroupname string `json:"DbClusterOptionGroupName,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"DbClusterOptionGroupMemberships,omitempty"`
Dbclusterparametergroup string `json:"DbClusterParameterGroup,omitempty"`
Dbclusterresourceid string `json:"DbClusterResourceId,omitempty"`
Dbsubnetgroup string `json:"DbSubnetGroup,omitempty"`
Deletionprotection bool `json:"DeletionProtection,omitempty"`
Domainmemberships []struct {
Domain string `json:"Domain,omitempty"`
Fqdn string `json:"Fqdn,omitempty"`
Iamrolename string `json:"IamRoleName,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"DomainMemberships,omitempty"`
Enabledcloudwatchlogsexports []string `json:"EnabledCloudwatchLogsExports,omitempty"`
Endpoint string `json:"Endpoint,omitempty"`
Engine string `json:"Engine,omitempty"`
Enginemode string `json:"EngineMode,omitempty"`
Engineversion string `json:"EngineVersion,omitempty"`
Hostedzoneid string `json:"HostedZoneId,omitempty"`
Httpendpointenabled bool `json:"HttpEndpointEnabled,omitempty"`
Iamdatabaseauthenticationenabled bool `json:"IamDatabaseAuthenticationEnabled,omitempty"`
Kmskeyid string `json:"KmsKeyId,omitempty"`
Masterusername string `json:"MasterUsername,omitempty"`
Multiaz bool `json:"MultiAz,omitempty"`
Port int `json:"Port,omitempty"`
Preferredbackupwindow string `json:"PreferredBackupWindow,omitempty"`
Preferredmaintenancewindow string `json:"PreferredMaintenanceWindow,omitempty"`
Readerendpoint string `json:"ReaderEndpoint,omitempty"`
Readreplicaidentifiers []string `json:"ReadReplicaIdentifiers,omitempty"`
Status string `json:"Status,omitempty"`
Storageencrypted bool `json:"StorageEncrypted,omitempty"`
Vpcsecuritygroups []struct {
Status string `json:"Status,omitempty"`
Vpcsecuritygroupid string `json:"VpcSecurityGroupId,omitempty"`
} `json:"VpcSecurityGroups,omitempty"`
} `json:"AwsRdsDbCluster,omitempty"`
Awsrdsdbclustersnapshot struct {
Allocatedstorage int `json:"AllocatedStorage,omitempty"`
Availabilityzones []string `json:"AvailabilityZones,omitempty"`
Clustercreatetime string `json:"ClusterCreateTime,omitempty"`
Dbclusteridentifier string `json:"DbClusterIdentifier,omitempty"`
Dbclustersnapshotidentifier string `json:"DbClusterSnapshotIdentifier,omitempty"`
Engine string `json:"Engine,omitempty"`
Engineversion string `json:"EngineVersion,omitempty"`
Iamdatabaseauthenticationenabled bool `json:"IamDatabaseAuthenticationEnabled,omitempty"`
Kmskeyid string `json:"KmsKeyId,omitempty"`
Licensemodel string `json:"LicenseModel,omitempty"`
Masterusername string `json:"MasterUsername,omitempty"`
Percentprogress int `json:"PercentProgress,omitempty"`
Port int `json:"Port,omitempty"`
Snapshotcreatetime string `json:"SnapshotCreateTime,omitempty"`
Snapshottype string `json:"SnapshotType,omitempty"`
Status string `json:"Status,omitempty"`
Storageencrypted bool `json:"StorageEncrypted,omitempty"`
Vpcid string `json:"VpcId,omitempty"`
} `json:"AwsRdsDbClusterSnapshot,omitempty"`
Awsrdsdbinstance struct {
Allocatedstorage int `json:"AllocatedStorage,omitempty"`
Associatedroles []struct {
Rolearn string `json:"RoleArn,omitempty"`
Featurename string `json:"FeatureName,omitempty"`
Status string `json:"Status,omitempty"`
} `json:"AssociatedRoles,omitempty"`
Autominorversionupgrade bool `json:"AutoMinorVersionUpgrade,omitempty"`
Availabilityzone string `json:"AvailabilityZone,omitempty"`
Backupretentionperiod int `json:"BackupRetentionPeriod,omitempty"`
Cacertificateidentifier string `json:"CACertificateIdentifier,omitempty"`
Charactersetname string `json:"CharacterSetName,omitempty"`
Copytagstosnapshot bool `json:"CopyTagsToSnapshot,omitempty"`
Dbclusteridentifier string `json:"DBClusterIdentifier,omitempty"`