@quantcdn/pulumi-quant 0.1.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/.gitattributes +1 -0
- package/Pulumi.yaml +3 -0
- package/README.md +4 -0
- package/application.ts +281 -0
- package/config/index.ts +5 -0
- package/config/vars.ts +108 -0
- package/crawler.ts +493 -0
- package/crawlerSchedule.ts +214 -0
- package/cronJob.ts +215 -0
- package/domain.ts +144 -0
- package/environment.ts +287 -0
- package/getProject.ts +54 -0
- package/getProjects.ts +29 -0
- package/header.ts +97 -0
- package/index.ts +189 -0
- package/kvItem.ts +165 -0
- package/kvStore.ts +122 -0
- package/package.json +31 -0
- package/project.ts +214 -0
- package/provider.ts +128 -0
- package/ruleAuth.ts +397 -0
- package/ruleBotChallenge.ts +406 -0
- package/ruleContentFilter.ts +378 -0
- package/ruleCustomResponse.ts +420 -0
- package/ruleFunction.ts +378 -0
- package/ruleHeaders.ts +378 -0
- package/ruleProxy.ts +687 -0
- package/ruleRedirect.ts +365 -0
- package/ruleServeStatic.ts +378 -0
- package/tsconfig.json +47 -0
- package/types/index.ts +13 -0
- package/types/input.ts +585 -0
- package/types/output.ts +591 -0
- package/utilities.ts +96 -0
- package/volume.ts +210 -0
package/volume.ts
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "./utilities";
|
|
6
|
+
|
|
7
|
+
export class Volume extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Volume resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VolumeState, opts?: pulumi.CustomResourceOptions): Volume {
|
|
18
|
+
return new Volume(name, <any>state, { ...opts, id: id });
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
public static readonly __pulumiType = 'quant:index:Volume';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Volume. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
public static isInstance(obj: any): obj is Volume {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Volume.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* EFS access point ARN
|
|
37
|
+
*/
|
|
38
|
+
declare public /*out*/ readonly accessPointArn: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* EFS access point ID
|
|
41
|
+
*/
|
|
42
|
+
declare public /*out*/ readonly accessPointId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Application name
|
|
45
|
+
*/
|
|
46
|
+
declare public readonly application: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Creation timestamp
|
|
49
|
+
*/
|
|
50
|
+
declare public /*out*/ readonly createdAt: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Volume description
|
|
53
|
+
*/
|
|
54
|
+
declare public readonly description: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Environment name
|
|
57
|
+
*/
|
|
58
|
+
declare public readonly environment: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* EFS filesystem ID
|
|
61
|
+
*/
|
|
62
|
+
declare public /*out*/ readonly environmentEfsId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Organization machine name (defaults to provider organization)
|
|
65
|
+
*/
|
|
66
|
+
declare public readonly organization: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Root directory path
|
|
69
|
+
*/
|
|
70
|
+
declare public readonly rootDirectory: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Volume ID
|
|
73
|
+
*/
|
|
74
|
+
declare public /*out*/ readonly volumeId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Volume name
|
|
77
|
+
*/
|
|
78
|
+
declare public readonly volumeName: pulumi.Output<string>;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Create a Volume resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: VolumeArgs, opts?: pulumi.CustomResourceOptions)
|
|
88
|
+
constructor(name: string, argsOrState?: VolumeArgs | VolumeState, opts?: pulumi.CustomResourceOptions) {
|
|
89
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
90
|
+
opts = opts || {};
|
|
91
|
+
if (opts.id) {
|
|
92
|
+
const state = argsOrState as VolumeState | undefined;
|
|
93
|
+
resourceInputs["accessPointArn"] = state?.accessPointArn;
|
|
94
|
+
resourceInputs["accessPointId"] = state?.accessPointId;
|
|
95
|
+
resourceInputs["application"] = state?.application;
|
|
96
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
97
|
+
resourceInputs["description"] = state?.description;
|
|
98
|
+
resourceInputs["environment"] = state?.environment;
|
|
99
|
+
resourceInputs["environmentEfsId"] = state?.environmentEfsId;
|
|
100
|
+
resourceInputs["organization"] = state?.organization;
|
|
101
|
+
resourceInputs["rootDirectory"] = state?.rootDirectory;
|
|
102
|
+
resourceInputs["volumeId"] = state?.volumeId;
|
|
103
|
+
resourceInputs["volumeName"] = state?.volumeName;
|
|
104
|
+
} else {
|
|
105
|
+
const args = argsOrState as VolumeArgs | undefined;
|
|
106
|
+
if (args?.application === undefined && !opts.urn) {
|
|
107
|
+
throw new Error("Missing required property 'application'");
|
|
108
|
+
}
|
|
109
|
+
if (args?.environment === undefined && !opts.urn) {
|
|
110
|
+
throw new Error("Missing required property 'environment'");
|
|
111
|
+
}
|
|
112
|
+
if (args?.volumeName === undefined && !opts.urn) {
|
|
113
|
+
throw new Error("Missing required property 'volumeName'");
|
|
114
|
+
}
|
|
115
|
+
resourceInputs["application"] = args?.application;
|
|
116
|
+
resourceInputs["description"] = args?.description;
|
|
117
|
+
resourceInputs["environment"] = args?.environment;
|
|
118
|
+
resourceInputs["organization"] = args?.organization;
|
|
119
|
+
resourceInputs["rootDirectory"] = args?.rootDirectory;
|
|
120
|
+
resourceInputs["volumeName"] = args?.volumeName;
|
|
121
|
+
resourceInputs["accessPointArn"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["accessPointId"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["environmentEfsId"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["volumeId"] = undefined /*out*/;
|
|
126
|
+
}
|
|
127
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
128
|
+
super(Volume.__pulumiType, name, resourceInputs, opts);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Input properties used for looking up and filtering Volume resources.
|
|
134
|
+
*/
|
|
135
|
+
export interface VolumeState {
|
|
136
|
+
/**
|
|
137
|
+
* EFS access point ARN
|
|
138
|
+
*/
|
|
139
|
+
accessPointArn?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* EFS access point ID
|
|
142
|
+
*/
|
|
143
|
+
accessPointId?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Application name
|
|
146
|
+
*/
|
|
147
|
+
application?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Creation timestamp
|
|
150
|
+
*/
|
|
151
|
+
createdAt?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Volume description
|
|
154
|
+
*/
|
|
155
|
+
description?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Environment name
|
|
158
|
+
*/
|
|
159
|
+
environment?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* EFS filesystem ID
|
|
162
|
+
*/
|
|
163
|
+
environmentEfsId?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Organization machine name (defaults to provider organization)
|
|
166
|
+
*/
|
|
167
|
+
organization?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Root directory path
|
|
170
|
+
*/
|
|
171
|
+
rootDirectory?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Volume ID
|
|
174
|
+
*/
|
|
175
|
+
volumeId?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Volume name
|
|
178
|
+
*/
|
|
179
|
+
volumeName?: pulumi.Input<string>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The set of arguments for constructing a Volume resource.
|
|
184
|
+
*/
|
|
185
|
+
export interface VolumeArgs {
|
|
186
|
+
/**
|
|
187
|
+
* Application name
|
|
188
|
+
*/
|
|
189
|
+
application: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* Volume description
|
|
192
|
+
*/
|
|
193
|
+
description?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Environment name
|
|
196
|
+
*/
|
|
197
|
+
environment: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* Organization machine name (defaults to provider organization)
|
|
200
|
+
*/
|
|
201
|
+
organization?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* Root directory path
|
|
204
|
+
*/
|
|
205
|
+
rootDirectory?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Volume name
|
|
208
|
+
*/
|
|
209
|
+
volumeName: pulumi.Input<string>;
|
|
210
|
+
}
|