@pulumi/digitalocean 4.46.0 → 4.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.d.ts +24 -0
- package/app.js +24 -0
- package/app.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +12 -0
- package/types/output.d.ts +24 -0
package/app.d.ts
CHANGED
|
@@ -81,6 +81,30 @@ import * as outputs from "./types/output";
|
|
|
81
81
|
* }});
|
|
82
82
|
* ```
|
|
83
83
|
*
|
|
84
|
+
* ### Edge Controls Example
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
89
|
+
*
|
|
90
|
+
* const golang_sample = new digitalocean.App("golang-sample", {spec: {
|
|
91
|
+
* name: "golang-sample",
|
|
92
|
+
* region: "ams",
|
|
93
|
+
* disableEdgeCache: true,
|
|
94
|
+
* disableEmailObfuscation: false,
|
|
95
|
+
* enhancedThreatControlEnabled: true,
|
|
96
|
+
* services: [{
|
|
97
|
+
* name: "go-service",
|
|
98
|
+
* instanceCount: 1,
|
|
99
|
+
* instanceSizeSlug: "apps-s-1vcpu-1gb",
|
|
100
|
+
* git: {
|
|
101
|
+
* repoCloneUrl: "https://github.com/digitalocean/sample-golang.git",
|
|
102
|
+
* branch: "main",
|
|
103
|
+
* },
|
|
104
|
+
* }],
|
|
105
|
+
* }});
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
84
108
|
* ## Import
|
|
85
109
|
*
|
|
86
110
|
* An app can be imported using its `id`, e.g.
|
package/app.js
CHANGED
|
@@ -85,6 +85,30 @@ const utilities = require("./utilities");
|
|
|
85
85
|
* }});
|
|
86
86
|
* ```
|
|
87
87
|
*
|
|
88
|
+
* ### Edge Controls Example
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
93
|
+
*
|
|
94
|
+
* const golang_sample = new digitalocean.App("golang-sample", {spec: {
|
|
95
|
+
* name: "golang-sample",
|
|
96
|
+
* region: "ams",
|
|
97
|
+
* disableEdgeCache: true,
|
|
98
|
+
* disableEmailObfuscation: false,
|
|
99
|
+
* enhancedThreatControlEnabled: true,
|
|
100
|
+
* services: [{
|
|
101
|
+
* name: "go-service",
|
|
102
|
+
* instanceCount: 1,
|
|
103
|
+
* instanceSizeSlug: "apps-s-1vcpu-1gb",
|
|
104
|
+
* git: {
|
|
105
|
+
* repoCloneUrl: "https://github.com/digitalocean/sample-golang.git",
|
|
106
|
+
* branch: "main",
|
|
107
|
+
* },
|
|
108
|
+
* }],
|
|
109
|
+
* }});
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
88
112
|
* ## Import
|
|
89
113
|
*
|
|
90
114
|
* An app can be imported using its `id`, e.g.
|
package/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+GG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI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ACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA/GL,kBAgHC;AAlGG,gBAAgB;AACO,gBAAY,GAAG,4BAA4B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/digitalocean",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.47.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing DigitalOcean cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "digitalocean",
|
|
25
|
-
"version": "4.
|
|
25
|
+
"version": "4.47.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -20,6 +20,14 @@ export interface AppSpec {
|
|
|
20
20
|
*/
|
|
21
21
|
alerts?: pulumi.Input<pulumi.Input<inputs.AppSpecAlert>[]>;
|
|
22
22
|
databases?: pulumi.Input<pulumi.Input<inputs.AppSpecDatabase>[]>;
|
|
23
|
+
/**
|
|
24
|
+
* A boolean indicating whether to disable the edge cache for this app. Default: `false`. Available only for non-static sites. Requires custom domains and applies to all the domains of the app.
|
|
25
|
+
*/
|
|
26
|
+
disableEdgeCache?: pulumi.Input<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* A boolean indicating whether to disable email obfuscation for this app. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
29
|
+
*/
|
|
30
|
+
disableEmailObfuscation?: pulumi.Input<boolean>;
|
|
23
31
|
/**
|
|
24
32
|
* Describes a domain where the application will be made available.
|
|
25
33
|
*/
|
|
@@ -32,6 +40,10 @@ export interface AppSpec {
|
|
|
32
40
|
* Specification for app egress configurations.
|
|
33
41
|
*/
|
|
34
42
|
egresses?: pulumi.Input<pulumi.Input<inputs.AppSpecEgress>[]>;
|
|
43
|
+
/**
|
|
44
|
+
* A boolean, when set to `true`, enables enhanced analyzing of incoming traffic to prevent layer 7 DDoS attacks. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
45
|
+
*/
|
|
46
|
+
enhancedThreatControlEnabled?: pulumi.Input<boolean>;
|
|
35
47
|
/**
|
|
36
48
|
* Describes an environment variable made available to an app competent.
|
|
37
49
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -19,6 +19,14 @@ export interface AppSpec {
|
|
|
19
19
|
*/
|
|
20
20
|
alerts?: outputs.AppSpecAlert[];
|
|
21
21
|
databases?: outputs.AppSpecDatabase[];
|
|
22
|
+
/**
|
|
23
|
+
* A boolean indicating whether to disable the edge cache for this app. Default: `false`. Available only for non-static sites. Requires custom domains and applies to all the domains of the app.
|
|
24
|
+
*/
|
|
25
|
+
disableEdgeCache?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* A boolean indicating whether to disable email obfuscation for this app. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
28
|
+
*/
|
|
29
|
+
disableEmailObfuscation?: boolean;
|
|
22
30
|
/**
|
|
23
31
|
* Describes a domain where the application will be made available.
|
|
24
32
|
*/
|
|
@@ -31,6 +39,10 @@ export interface AppSpec {
|
|
|
31
39
|
* Specification for app egress configurations.
|
|
32
40
|
*/
|
|
33
41
|
egresses?: outputs.AppSpecEgress[];
|
|
42
|
+
/**
|
|
43
|
+
* A boolean, when set to `true`, enables enhanced analyzing of incoming traffic to prevent layer 7 DDoS attacks. Default: `false`. Requires custom domains and applies to all the domains of the app.
|
|
44
|
+
*/
|
|
45
|
+
enhancedThreatControlEnabled?: boolean;
|
|
34
46
|
/**
|
|
35
47
|
* Describes an environment variable made available to an app competent.
|
|
36
48
|
*/
|
|
@@ -2115,12 +2127,24 @@ export interface GetAppSpec {
|
|
|
2115
2127
|
*/
|
|
2116
2128
|
alerts?: outputs.GetAppSpecAlert[];
|
|
2117
2129
|
databases?: outputs.GetAppSpecDatabase[];
|
|
2130
|
+
/**
|
|
2131
|
+
* Whether to disable the edge cache for the app. Default is false, which enables the edge cache.
|
|
2132
|
+
*/
|
|
2133
|
+
disableEdgeCache?: boolean;
|
|
2134
|
+
/**
|
|
2135
|
+
* Email obfuscation configuration for the app. Default is false, which keeps the email obfuscated.
|
|
2136
|
+
*/
|
|
2137
|
+
disableEmailObfuscation?: boolean;
|
|
2118
2138
|
domain: outputs.GetAppSpecDomain[];
|
|
2119
2139
|
/**
|
|
2120
2140
|
* @deprecated This attribute has been replaced by `domain` which supports additional functionality.
|
|
2121
2141
|
*/
|
|
2122
2142
|
domains: string[];
|
|
2123
2143
|
egresses?: outputs.GetAppSpecEgress[];
|
|
2144
|
+
/**
|
|
2145
|
+
* Whether to enable enhanced threat control for the app. Default is false. Set to true to enable enhanced threat control, putting additional security measures for Layer 7 DDoS attacks.
|
|
2146
|
+
*/
|
|
2147
|
+
enhancedThreatControlEnabled?: boolean;
|
|
2124
2148
|
/**
|
|
2125
2149
|
* Describes an environment variable made available to an app competent.
|
|
2126
2150
|
*/
|