@pulumi/pulumiservice 0.6.1 → 0.6.2-alpha.1684357856
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/package.json +2 -2
- package/package.json.dev +27 -0
- package/webhook.d.ts +16 -0
- package/webhook.js +4 -0
- package/webhook.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/pulumiservice",
|
|
3
|
-
"version": "v0.6.
|
|
3
|
+
"version": "v0.6.2-alpha.1684357856+cbb4ab6b",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"kind/native",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.6.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.6.2-alpha.1684357856+cbb4ab6b"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/pulumiservice",
|
|
3
|
+
"version": "v0.6.2-alpha.1684357856+cbb4ab6b",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pulumi",
|
|
6
|
+
"kind/native",
|
|
7
|
+
"category/infrastructure"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://pulumi.com",
|
|
10
|
+
"repository": "https://github.com/pulumi/pulumi-pulumiservice",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.6.2-alpha.1684357856+cbb4ab6b"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^14",
|
|
21
|
+
"typescript": "^4.3.5"
|
|
22
|
+
},
|
|
23
|
+
"pulumi": {
|
|
24
|
+
"resource": true,
|
|
25
|
+
"name": "pulumiservice"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/webhook.d.ts
CHANGED
|
@@ -37,10 +37,18 @@ export declare class Webhook extends pulumi.CustomResource {
|
|
|
37
37
|
* URL to send request to.
|
|
38
38
|
*/
|
|
39
39
|
readonly payloadUrl: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Name of the project. Only specified if this is a stack webhook.
|
|
42
|
+
*/
|
|
43
|
+
readonly projectName: pulumi.Output<string | undefined>;
|
|
40
44
|
/**
|
|
41
45
|
* Optional. secret used as the HMAC key. See [webhook docs](https://www.pulumi.com/docs/intro/pulumi-service/webhooks/#headers) for more information.
|
|
42
46
|
*/
|
|
43
47
|
readonly secret: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Name of the stack. Only specified if this is a stack webhook.
|
|
50
|
+
*/
|
|
51
|
+
readonly stackName: pulumi.Output<string | undefined>;
|
|
44
52
|
/**
|
|
45
53
|
* Create a Webhook resource with the given unique name, arguments, and options.
|
|
46
54
|
*
|
|
@@ -70,8 +78,16 @@ export interface WebhookArgs {
|
|
|
70
78
|
* URL to send request to.
|
|
71
79
|
*/
|
|
72
80
|
payloadUrl: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Name of the project. Only needed if this is a stack webhook.
|
|
83
|
+
*/
|
|
84
|
+
projectName?: pulumi.Input<string>;
|
|
73
85
|
/**
|
|
74
86
|
* Optional. secret used as the HMAC key. See [webhook docs](https://www.pulumi.com/docs/intro/pulumi-service/webhooks/#headers) for more information.
|
|
75
87
|
*/
|
|
76
88
|
secret?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Name of the stack. Only needed if this is a stack webhook.
|
|
91
|
+
*/
|
|
92
|
+
stackName?: pulumi.Input<string>;
|
|
77
93
|
}
|
package/webhook.js
CHANGED
|
@@ -57,7 +57,9 @@ class Webhook extends pulumi.CustomResource {
|
|
|
57
57
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
58
58
|
resourceInputs["organizationName"] = args ? args.organizationName : undefined;
|
|
59
59
|
resourceInputs["payloadUrl"] = args ? args.payloadUrl : undefined;
|
|
60
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
60
61
|
resourceInputs["secret"] = (args === null || args === void 0 ? void 0 : args.secret) ? pulumi.secret(args.secret) : undefined;
|
|
62
|
+
resourceInputs["stackName"] = args ? args.stackName : undefined;
|
|
61
63
|
resourceInputs["name"] = undefined /*out*/;
|
|
62
64
|
}
|
|
63
65
|
else {
|
|
@@ -66,7 +68,9 @@ class Webhook extends pulumi.CustomResource {
|
|
|
66
68
|
resourceInputs["name"] = undefined /*out*/;
|
|
67
69
|
resourceInputs["organizationName"] = undefined /*out*/;
|
|
68
70
|
resourceInputs["payloadUrl"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["projectName"] = undefined /*out*/;
|
|
69
72
|
resourceInputs["secret"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["stackName"] = undefined /*out*/;
|
|
70
74
|
}
|
|
71
75
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
76
|
const secretOpts = { additionalSecretOutputs: ["secret"] };
|
package/webhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../webhook.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC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