/
schema.json
15468 lines (15468 loc) · 876 KB
/
schema.json
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
{
"name": "digitalocean",
"description": "A Pulumi package for creating and managing Digital Ocean cloud resources.",
"keywords": [
"pulumi",
"digitalocean"
],
"homepage": "https://pulumi.io",
"license": "Apache-2.0",
"attribution": "This Pulumi package is based on the [`digitalocean` Terraform Provider](https://github.com/digitalocean/terraform-provider-digitalocean).",
"repository": "https://github.com/pulumi/pulumi-digitalocean",
"meta": {
"moduleFormat": "(.*)(?:/[^/]*)"
},
"config": {
"variables": {
"apiEndpoint": {
"type": "string",
"description": "The URL to use for the DigitalOcean API.\n",
"default": "https://api.digitalocean.com",
"defaultInfo": {
"environment": [
"DIGITALOCEAN_API_URL"
]
}
},
"spacesAccessId": {
"type": "string",
"description": "The access key ID for Spaces API operations.\n"
},
"spacesEndpoint": {
"type": "string",
"description": "The URL to use for the DigitalOcean Spaces API.\n",
"defaultInfo": {
"environment": [
"SPACES_ENDPOINT_URL"
]
}
},
"spacesSecretKey": {
"type": "string",
"description": "The secret access key for Spaces API operations.\n"
},
"token": {
"type": "string",
"description": "The token key for API operations.\n"
}
},
"defaults": [
"apiEndpoint"
]
},
"types": {
"digitalocean:index/AppSpec:AppSpec": {
"properties": {
"databases": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecDatabase:AppSpecDatabase"
},
"language": {
"python": {
"mapCase": false
}
}
},
"domainNames": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecDomainName:AppSpecDomainName"
},
"description": "Describes a domain where the application will be made available.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"deprecationMessage": "This attribute has been replaced by `domain` which supports additional functionality.",
"language": {
"python": {
"mapCase": false
}
}
},
"envs": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecEnv:AppSpecEnv"
},
"description": "Describes an environment variable made available to an app competent.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"jobs": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecJob:AppSpecJob"
},
"language": {
"python": {
"mapCase": false
}
}
},
"name": {
"type": "string",
"description": "The name of the component.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"region": {
"type": "string",
"description": "The slug for the DigitalOcean data center region hosting the app.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"services": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecService:AppSpecService"
},
"language": {
"python": {
"mapCase": false
}
}
},
"staticSites": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecStaticSite:AppSpecStaticSite"
},
"language": {
"python": {
"mapCase": false
}
}
},
"workers": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecWorker:AppSpecWorker"
},
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"required": [
"name"
],
"language": {
"nodejs": {
"requiredOutputs": [
"domainNames",
"domains",
"name"
]
}
}
},
"digitalocean:index/AppSpecDatabase:AppSpecDatabase": {
"properties": {
"clusterName": {
"type": "string",
"description": "The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `cluster_name` is not set, a new cluster will be provisioned.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"dbName": {
"type": "string",
"description": "The name of the MySQL or PostgreSQL database to configure.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"dbUser": {
"type": "string",
"description": "The name of the MySQL or PostgreSQL user to configure.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"engine": {
"type": "string",
"description": "The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).\n",
"language": {
"python": {
"mapCase": false
}
}
},
"name": {
"type": "string",
"description": "The name of the component.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"production": {
"type": "boolean",
"description": "Whether this is a production or dev database.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"version": {
"type": "string",
"description": "The version of the database engine.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object"
},
"digitalocean:index/AppSpecDomainName:AppSpecDomainName": {
"properties": {
"name": {
"type": "string",
"description": "The name of the component.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"type": {
"type": "string",
"description": "The type of the environment variable, `GENERAL` or `SECRET`.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"wildcard": {
"type": "boolean",
"description": "A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"zone": {
"type": "string",
"description": "If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"required": [
"name"
],
"language": {
"nodejs": {
"requiredOutputs": [
"name",
"type",
"wildcard"
]
}
}
},
"digitalocean:index/AppSpecEnv:AppSpecEnv": {
"properties": {
"key": {
"type": "string",
"description": "The name of the environment variable.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"scope": {
"type": "string",
"description": "The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).\n",
"language": {
"python": {
"mapCase": false
}
}
},
"type": {
"type": "string",
"description": "The type of the environment variable, `GENERAL` or `SECRET`.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"value": {
"type": "string",
"description": "The value of the environment variable.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"type"
]
}
}
},
"digitalocean:index/AppSpecJob:AppSpecJob": {
"properties": {
"buildCommand": {
"type": "string",
"description": "An optional build command to run while building this component from source.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"dockerfilePath": {
"type": "string",
"description": "The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"environmentSlug": {
"type": "string",
"description": "An environment slug describing the type of this app.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"envs": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecJobEnv:AppSpecJobEnv"
},
"description": "Describes an environment variable made available to an app competent.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"git": {
"$ref": "#/types/digitalocean:index/AppSpecJobGit:AppSpecJobGit",
"description": "A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set\n",
"language": {
"python": {
"mapCase": false
}
}
},
"github": {
"$ref": "#/types/digitalocean:index/AppSpecJobGithub:AppSpecJobGithub",
"description": "A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"gitlab": {
"$ref": "#/types/digitalocean:index/AppSpecJobGitlab:AppSpecJobGitlab",
"description": "A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"image": {
"$ref": "#/types/digitalocean:index/AppSpecJobImage:AppSpecJobImage",
"description": "An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"instanceCount": {
"type": "integer",
"description": "The amount of instances that this component should be scaled to.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"instanceSizeSlug": {
"type": "string",
"description": "The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`\n",
"language": {
"python": {
"mapCase": false
}
}
},
"kind": {
"type": "string",
"description": "The type of job and when it will be run during the deployment process. It may be one of:\n- `UNSPECIFIED`: Default job type, will auto-complete to POST_DEPLOY kind.\n- `PRE_DEPLOY`: Indicates a job that runs before an app deployment.\n- `POST_DEPLOY`: Indicates a job that runs after an app deployment.\n- `FAILED_DEPLOY`: Indicates a job that runs after a component fails to deploy.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"name": {
"type": "string",
"description": "The name of the component.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"runCommand": {
"type": "string",
"description": "An optional run command to override the component's default.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"sourceDir": {
"type": "string",
"description": "An optional path to the working directory to use for the build.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"required": [
"name"
]
},
"digitalocean:index/AppSpecJobEnv:AppSpecJobEnv": {
"properties": {
"key": {
"type": "string",
"description": "The name of the environment variable.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"scope": {
"type": "string",
"description": "The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).\n",
"language": {
"python": {
"mapCase": false
}
}
},
"type": {
"type": "string",
"description": "The type of the environment variable, `GENERAL` or `SECRET`.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"value": {
"type": "string",
"description": "The value of the environment variable.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"type"
]
}
}
},
"digitalocean:index/AppSpecJobGit:AppSpecJobGit": {
"properties": {
"branch": {
"type": "string",
"description": "The name of the branch to use.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"repoCloneUrl": {
"type": "string",
"description": "The clone URL of the repo.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object"
},
"digitalocean:index/AppSpecJobGithub:AppSpecJobGithub": {
"properties": {
"branch": {
"type": "string",
"description": "The name of the branch to use.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"deployOnPush": {
"type": "boolean",
"description": "Whether to automatically deploy new commits made to the repo.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"repo": {
"type": "string",
"description": "The name of the repo in the format `owner/repo`.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object"
},
"digitalocean:index/AppSpecJobGitlab:AppSpecJobGitlab": {
"properties": {
"branch": {
"type": "string",
"description": "The name of the branch to use.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"deployOnPush": {
"type": "boolean",
"description": "Whether to automatically deploy new commits made to the repo.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"repo": {
"type": "string",
"description": "The name of the repo in the format `owner/repo`.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object"
},
"digitalocean:index/AppSpecJobImage:AppSpecJobImage": {
"properties": {
"registry": {
"type": "string",
"description": "The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"registryType": {
"type": "string",
"description": "The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"repository": {
"type": "string",
"description": "The repository name.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"tag": {
"type": "string",
"description": "The repository tag. Defaults to `latest` if not provided.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"required": [
"registryType",
"repository"
]
},
"digitalocean:index/AppSpecService:AppSpecService": {
"properties": {
"buildCommand": {
"type": "string",
"description": "An optional build command to run while building this component from source.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"cors": {
"$ref": "#/types/digitalocean:index/AppSpecServiceCors:AppSpecServiceCors",
"description": "The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"dockerfilePath": {
"type": "string",
"description": "The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"environmentSlug": {
"type": "string",
"description": "An environment slug describing the type of this app.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"envs": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecServiceEnv:AppSpecServiceEnv"
},
"description": "Describes an environment variable made available to an app competent.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"git": {
"$ref": "#/types/digitalocean:index/AppSpecServiceGit:AppSpecServiceGit",
"description": "A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set\n",
"language": {
"python": {
"mapCase": false
}
}
},
"github": {
"$ref": "#/types/digitalocean:index/AppSpecServiceGithub:AppSpecServiceGithub",
"description": "A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"gitlab": {
"$ref": "#/types/digitalocean:index/AppSpecServiceGitlab:AppSpecServiceGitlab",
"description": "A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"healthCheck": {
"$ref": "#/types/digitalocean:index/AppSpecServiceHealthCheck:AppSpecServiceHealthCheck",
"description": "A health check to determine the availability of this component.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"httpPort": {
"type": "integer",
"description": "The internal port on which this service's run command will listen.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"image": {
"$ref": "#/types/digitalocean:index/AppSpecServiceImage:AppSpecServiceImage",
"description": "An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"instanceCount": {
"type": "integer",
"description": "The amount of instances that this component should be scaled to.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"instanceSizeSlug": {
"type": "string",
"description": "The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`\n",
"language": {
"python": {
"mapCase": false
}
}
},
"internalPorts": {
"type": "array",
"items": {
"type": "integer"
},
"description": "A list of ports on which this service will listen for internal traffic.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"name": {
"type": "string",
"description": "The name of the component.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"routes": {
"type": "array",
"items": {
"$ref": "#/types/digitalocean:index/AppSpecServiceRoute:AppSpecServiceRoute"
},
"language": {
"python": {
"mapCase": false
}
}
},
"runCommand": {
"type": "string",
"description": "An optional run command to override the component's default.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"sourceDir": {
"type": "string",
"description": "An optional path to the working directory to use for the build.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"required": [
"name"
],
"language": {
"nodejs": {
"requiredOutputs": [
"httpPort",
"name",
"routes",
"runCommand"
]
}
}
},
"digitalocean:index/AppSpecServiceCors:AppSpecServiceCors": {
"properties": {
"allowCredentials": {
"type": "boolean",
"description": "Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"allowHeaders": {
"type": "array",
"items": {
"type": "string"
},
"description": "The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"allowMethods": {
"type": "array",
"items": {
"type": "string"
},
"description": "The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"allowOrigins": {
"$ref": "#/types/digitalocean:index/AppSpecServiceCorsAllowOrigins:AppSpecServiceCorsAllowOrigins",
"description": "The `Access-Control-Allow-Origin` can be\n",
"language": {
"python": {
"mapCase": false
}
}
},
"exposeHeaders": {
"type": "array",
"items": {
"type": "string"
},
"description": "The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"maxAge": {
"type": "string",
"description": "An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object"
},
"digitalocean:index/AppSpecServiceCorsAllowOrigins:AppSpecServiceCorsAllowOrigins": {
"properties": {
"exact": {
"type": "string",
"description": "The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"prefix": {
"type": "string",
"description": "The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"regex": {
"type": "string",
"description": "The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object"
},
"digitalocean:index/AppSpecServiceEnv:AppSpecServiceEnv": {
"properties": {
"key": {
"type": "string",
"description": "The name of the environment variable.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"scope": {
"type": "string",
"description": "The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).\n",
"language": {
"python": {
"mapCase": false
}
}
},
"type": {
"type": "string",
"description": "The type of the environment variable, `GENERAL` or `SECRET`.\n",
"language": {
"python": {
"mapCase": false
}
}
},
"value": {
"type": "string",
"description": "The value of the environment variable.\n",
"language": {
"python": {
"mapCase": false
}
}
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"type"
]
}
}