@anvil-cloud/sdk 0.0.2
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/README.md +0 -0
- package/aws/bucket.ts +58 -0
- package/aws/index.ts +32 -0
- package/aws/lambda.ts +64 -0
- package/bin/aws/bucket.d.ts +25 -0
- package/bin/aws/bucket.js +46 -0
- package/bin/aws/bucket.js.map +1 -0
- package/bin/aws/index.d.ts +6 -0
- package/bin/aws/index.js +26 -0
- package/bin/aws/index.js.map +1 -0
- package/bin/aws/lambda.d.ts +31 -0
- package/bin/aws/lambda.js +46 -0
- package/bin/aws/lambda.js.map +1 -0
- package/bin/gcp/function.d.ts +39 -0
- package/bin/gcp/function.js +57 -0
- package/bin/gcp/function.js.map +1 -0
- package/bin/gcp/index.d.ts +6 -0
- package/bin/gcp/index.js +26 -0
- package/bin/gcp/index.js.map +1 -0
- package/bin/gcp/storageBucket.d.ts +31 -0
- package/bin/gcp/storageBucket.js +49 -0
- package/bin/gcp/storageBucket.js.map +1 -0
- package/bin/index.d.ts +7 -0
- package/bin/index.js +26 -0
- package/bin/index.js.map +1 -0
- package/bin/package.json +30 -0
- package/bin/provider.d.ts +21 -0
- package/bin/provider.js +38 -0
- package/bin/provider.js.map +1 -0
- package/bin/types/index.d.ts +3 -0
- package/bin/types/index.js +11 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +714 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +4 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +4 -0
- package/bin/utilities.js +91 -0
- package/bin/utilities.js.map +1 -0
- package/gcp/function.ts +83 -0
- package/gcp/index.ts +32 -0
- package/gcp/storageBucket.ts +67 -0
- package/index.ts +32 -0
- package/package.json +30 -0
- package/provider.ts +44 -0
- package/tsconfig.json +29 -0
- package/types/index.ts +13 -0
- package/types/input.ts +732 -0
- package/types/output.ts +15 -0
- package/utilities.ts +96 -0
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* linguist-generated
|
package/README.md
ADDED
|
File without changes
|
package/aws/bucket.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
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 inputs from "../types/input";
|
|
6
|
+
import * as outputs from "../types/output";
|
|
7
|
+
import * as utilities from "../utilities";
|
|
8
|
+
|
|
9
|
+
import * as pulumiAws from "@pulumi/aws";
|
|
10
|
+
|
|
11
|
+
export class Bucket extends pulumi.ComponentResource {
|
|
12
|
+
/** @internal */
|
|
13
|
+
public static readonly __pulumiType = 'anvil:aws:Bucket';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Bucket. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
public static isInstance(obj: any): obj is Bucket {
|
|
20
|
+
if (obj === undefined || obj === null) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
return obj['__pulumiType'] === Bucket.__pulumiType;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Create a Bucket resource with the given unique name, arguments, and options.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resource.
|
|
31
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
32
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
33
|
+
*/
|
|
34
|
+
constructor(name: string, args: BucketArgs, opts?: pulumi.ComponentResourceOptions) {
|
|
35
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (!opts.id) {
|
|
38
|
+
if (args?.dataClassification === undefined && !opts.urn) {
|
|
39
|
+
throw new Error("Missing required property 'dataClassification'");
|
|
40
|
+
}
|
|
41
|
+
resourceInputs["dataClassification"] = args?.dataClassification;
|
|
42
|
+
resourceInputs["lifecycle"] = args?.lifecycle;
|
|
43
|
+
resourceInputs["transform"] = args?.transform;
|
|
44
|
+
} else {
|
|
45
|
+
}
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
|
+
super(Bucket.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a Bucket resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface BucketArgs {
|
|
55
|
+
dataClassification: pulumi.Input<string>;
|
|
56
|
+
lifecycle?: pulumi.Input<number>;
|
|
57
|
+
transform?: pulumi.Input<inputs.aws.BucketTransformArgsArgs>;
|
|
58
|
+
}
|
package/aws/index.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
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 members:
|
|
8
|
+
export { BucketArgs } from "./bucket";
|
|
9
|
+
export type Bucket = import("./bucket").Bucket;
|
|
10
|
+
export const Bucket: typeof import("./bucket").Bucket = null as any;
|
|
11
|
+
utilities.lazyLoad(exports, ["Bucket"], () => require("./bucket"));
|
|
12
|
+
|
|
13
|
+
export { LambdaArgs } from "./lambda";
|
|
14
|
+
export type Lambda = import("./lambda").Lambda;
|
|
15
|
+
export const Lambda: typeof import("./lambda").Lambda = null as any;
|
|
16
|
+
utilities.lazyLoad(exports, ["Lambda"], () => require("./lambda"));
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
const _module = {
|
|
20
|
+
version: utilities.getVersion(),
|
|
21
|
+
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
|
22
|
+
switch (type) {
|
|
23
|
+
case "anvil:aws:Bucket":
|
|
24
|
+
return new Bucket(name, <any>undefined, { urn })
|
|
25
|
+
case "anvil:aws:Lambda":
|
|
26
|
+
return new Lambda(name, <any>undefined, { urn })
|
|
27
|
+
default:
|
|
28
|
+
throw new Error(`unknown resource type ${type}`);
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
pulumi.runtime.registerResourceModule("anvil", "aws", _module)
|
package/aws/lambda.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
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 inputs from "../types/input";
|
|
6
|
+
import * as outputs from "../types/output";
|
|
7
|
+
import * as utilities from "../utilities";
|
|
8
|
+
|
|
9
|
+
import * as pulumiAws from "@pulumi/aws";
|
|
10
|
+
|
|
11
|
+
export class Lambda extends pulumi.ComponentResource {
|
|
12
|
+
/** @internal */
|
|
13
|
+
public static readonly __pulumiType = 'anvil:aws:Lambda';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Lambda. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
public static isInstance(obj: any): obj is Lambda {
|
|
20
|
+
if (obj === undefined || obj === null) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
return obj['__pulumiType'] === Lambda.__pulumiType;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Create a Lambda resource with the given unique name, arguments, and options.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resource.
|
|
31
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
32
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
33
|
+
*/
|
|
34
|
+
constructor(name: string, args: LambdaArgs, opts?: pulumi.ComponentResourceOptions) {
|
|
35
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (!opts.id) {
|
|
38
|
+
if (args?.name === undefined && !opts.urn) {
|
|
39
|
+
throw new Error("Missing required property 'name'");
|
|
40
|
+
}
|
|
41
|
+
resourceInputs["name"] = args?.name;
|
|
42
|
+
resourceInputs["transform"] = args?.transform;
|
|
43
|
+
resourceInputs["vpc"] = args?.vpc;
|
|
44
|
+
} else {
|
|
45
|
+
}
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
|
+
super(Lambda.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a Lambda resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface LambdaArgs {
|
|
55
|
+
/**
|
|
56
|
+
* The logical name of the Lambda function.
|
|
57
|
+
*/
|
|
58
|
+
name: pulumi.Input<string>;
|
|
59
|
+
transform?: pulumi.Input<inputs.aws.LambdaTransformArgsArgs>;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the AWS VPC to deploy this function into.
|
|
62
|
+
*/
|
|
63
|
+
vpc?: pulumi.Input<string>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export declare class Bucket extends pulumi.ComponentResource {
|
|
4
|
+
/**
|
|
5
|
+
* Returns true if the given object is an instance of Bucket. This is designed to work even
|
|
6
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
7
|
+
*/
|
|
8
|
+
static isInstance(obj: any): obj is Bucket;
|
|
9
|
+
/**
|
|
10
|
+
* Create a Bucket resource with the given unique name, arguments, and options.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resource.
|
|
13
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
14
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, args: BucketArgs, opts?: pulumi.ComponentResourceOptions);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The set of arguments for constructing a Bucket resource.
|
|
20
|
+
*/
|
|
21
|
+
export interface BucketArgs {
|
|
22
|
+
dataClassification: pulumi.Input<string>;
|
|
23
|
+
lifecycle?: pulumi.Input<number>;
|
|
24
|
+
transform?: pulumi.Input<inputs.aws.BucketTransformArgsArgs>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Bucket = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class Bucket extends pulumi.ComponentResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Bucket. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj) {
|
|
14
|
+
if (obj === undefined || obj === null) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return obj['__pulumiType'] === Bucket.__pulumiType;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Create a Bucket resource with the given unique name, arguments, and options.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resource.
|
|
23
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
24
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
25
|
+
*/
|
|
26
|
+
constructor(name, args, opts) {
|
|
27
|
+
let resourceInputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
if (!opts.id) {
|
|
30
|
+
if (args?.dataClassification === undefined && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'dataClassification'");
|
|
32
|
+
}
|
|
33
|
+
resourceInputs["dataClassification"] = args?.dataClassification;
|
|
34
|
+
resourceInputs["lifecycle"] = args?.lifecycle;
|
|
35
|
+
resourceInputs["transform"] = args?.transform;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
}
|
|
39
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
40
|
+
super(Bucket.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.Bucket = Bucket;
|
|
44
|
+
/** @internal */
|
|
45
|
+
Bucket.__pulumiType = 'anvil:aws:Bucket';
|
|
46
|
+
//# sourceMappingURL=bucket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucket.js","sourceRoot":"","sources":["../../aws/bucket.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAI1C,MAAa,MAAO,SAAQ,MAAM,CAAC,iBAAiB;IAIhD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAsC;QAC9E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,kBAAkB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5E,CAAC;;AArCL,wBAsCC;AArCG,gBAAgB;AACO,mBAAY,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { BucketArgs } from "./bucket";
|
|
2
|
+
export type Bucket = import("./bucket").Bucket;
|
|
3
|
+
export declare const Bucket: typeof import("./bucket").Bucket;
|
|
4
|
+
export { LambdaArgs } from "./lambda";
|
|
5
|
+
export type Lambda = import("./lambda").Lambda;
|
|
6
|
+
export declare const Lambda: typeof import("./lambda").Lambda;
|
package/bin/aws/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Lambda = exports.Bucket = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Bucket = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Bucket"], () => require("./bucket"));
|
|
10
|
+
exports.Lambda = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Lambda"], () => require("./lambda"));
|
|
12
|
+
const _module = {
|
|
13
|
+
version: utilities.getVersion(),
|
|
14
|
+
construct: (name, type, urn) => {
|
|
15
|
+
switch (type) {
|
|
16
|
+
case "anvil:aws:Bucket":
|
|
17
|
+
return new exports.Bucket(name, undefined, { urn });
|
|
18
|
+
case "anvil:aws:Lambda":
|
|
19
|
+
return new exports.Lambda(name, undefined, { urn });
|
|
20
|
+
default:
|
|
21
|
+
throw new Error(`unknown resource type ${type}`);
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
pulumi.runtime.registerResourceModule("anvil", "aws", _module);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../aws/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGnE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kBAAkB;gBACnB,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,kBAAkB;gBACnB,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export declare class Lambda extends pulumi.ComponentResource {
|
|
4
|
+
/**
|
|
5
|
+
* Returns true if the given object is an instance of Lambda. This is designed to work even
|
|
6
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
7
|
+
*/
|
|
8
|
+
static isInstance(obj: any): obj is Lambda;
|
|
9
|
+
/**
|
|
10
|
+
* Create a Lambda resource with the given unique name, arguments, and options.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resource.
|
|
13
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
14
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, args: LambdaArgs, opts?: pulumi.ComponentResourceOptions);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The set of arguments for constructing a Lambda resource.
|
|
20
|
+
*/
|
|
21
|
+
export interface LambdaArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The logical name of the Lambda function.
|
|
24
|
+
*/
|
|
25
|
+
name: pulumi.Input<string>;
|
|
26
|
+
transform?: pulumi.Input<inputs.aws.LambdaTransformArgsArgs>;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the AWS VPC to deploy this function into.
|
|
29
|
+
*/
|
|
30
|
+
vpc?: pulumi.Input<string>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Lambda = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class Lambda extends pulumi.ComponentResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Lambda. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj) {
|
|
14
|
+
if (obj === undefined || obj === null) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return obj['__pulumiType'] === Lambda.__pulumiType;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Create a Lambda resource with the given unique name, arguments, and options.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resource.
|
|
23
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
24
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
25
|
+
*/
|
|
26
|
+
constructor(name, args, opts) {
|
|
27
|
+
let resourceInputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
if (!opts.id) {
|
|
30
|
+
if (args?.name === undefined && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'name'");
|
|
32
|
+
}
|
|
33
|
+
resourceInputs["name"] = args?.name;
|
|
34
|
+
resourceInputs["transform"] = args?.transform;
|
|
35
|
+
resourceInputs["vpc"] = args?.vpc;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
}
|
|
39
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
40
|
+
super(Lambda.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.Lambda = Lambda;
|
|
44
|
+
/** @internal */
|
|
45
|
+
Lambda.__pulumiType = 'anvil:aws:Lambda';
|
|
46
|
+
//# sourceMappingURL=lambda.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lambda.js","sourceRoot":"","sources":["../../aws/lambda.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAI1C,MAAa,MAAO,SAAQ,MAAM,CAAC,iBAAiB;IAIhD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAsC;QAC9E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5E,CAAC;;AArCL,wBAsCC;AArCG,gBAAgB;AACO,mBAAY,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export declare class Function extends pulumi.ComponentResource {
|
|
4
|
+
/**
|
|
5
|
+
* Returns true if the given object is an instance of Function. This is designed to work even
|
|
6
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
7
|
+
*/
|
|
8
|
+
static isInstance(obj: any): obj is Function;
|
|
9
|
+
/**
|
|
10
|
+
* Create a Function resource with the given unique name, arguments, and options.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resource.
|
|
13
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
14
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, args: FunctionArgs, opts?: pulumi.ComponentResourceOptions);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The set of arguments for constructing a Function resource.
|
|
20
|
+
*/
|
|
21
|
+
export interface FunctionArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The name of the function to execute.
|
|
24
|
+
*/
|
|
25
|
+
entryPoint: pulumi.Input<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The GCP region to deploy to (e.g. us-central1).
|
|
28
|
+
*/
|
|
29
|
+
location: pulumi.Input<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the Cloud Function.
|
|
32
|
+
*/
|
|
33
|
+
name: pulumi.Input<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The runtime to use (e.g. nodejs20, python312, go122).
|
|
36
|
+
*/
|
|
37
|
+
runtime: pulumi.Input<string>;
|
|
38
|
+
transform?: pulumi.Input<inputs.gcp.FunctionTransformArgsArgs>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Function = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class Function extends pulumi.ComponentResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Function. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj) {
|
|
14
|
+
if (obj === undefined || obj === null) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return obj['__pulumiType'] === Function.__pulumiType;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Create a Function resource with the given unique name, arguments, and options.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resource.
|
|
23
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
24
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
25
|
+
*/
|
|
26
|
+
constructor(name, args, opts) {
|
|
27
|
+
let resourceInputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
if (!opts.id) {
|
|
30
|
+
if (args?.entryPoint === undefined && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'entryPoint'");
|
|
32
|
+
}
|
|
33
|
+
if (args?.location === undefined && !opts.urn) {
|
|
34
|
+
throw new Error("Missing required property 'location'");
|
|
35
|
+
}
|
|
36
|
+
if (args?.name === undefined && !opts.urn) {
|
|
37
|
+
throw new Error("Missing required property 'name'");
|
|
38
|
+
}
|
|
39
|
+
if (args?.runtime === undefined && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'runtime'");
|
|
41
|
+
}
|
|
42
|
+
resourceInputs["entryPoint"] = args?.entryPoint;
|
|
43
|
+
resourceInputs["location"] = args?.location;
|
|
44
|
+
resourceInputs["name"] = args?.name;
|
|
45
|
+
resourceInputs["runtime"] = args?.runtime;
|
|
46
|
+
resourceInputs["transform"] = args?.transform;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
}
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
51
|
+
super(Function.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.Function = Function;
|
|
55
|
+
/** @internal */
|
|
56
|
+
Function.__pulumiType = 'anvil:gcp:Function';
|
|
57
|
+
//# sourceMappingURL=function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../gcp/function.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAI1C,MAAa,QAAS,SAAQ,MAAM,CAAC,iBAAiB;IAIlD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAsC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC9E,CAAC;;AAhDL,4BAiDC;AAhDG,gBAAgB;AACO,qBAAY,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { FunctionArgs } from "./function";
|
|
2
|
+
export type Function = import("./function").Function;
|
|
3
|
+
export declare const Function: typeof import("./function").Function;
|
|
4
|
+
export { StorageBucketArgs } from "./storageBucket";
|
|
5
|
+
export type StorageBucket = import("./storageBucket").StorageBucket;
|
|
6
|
+
export declare const StorageBucket: typeof import("./storageBucket").StorageBucket;
|
package/bin/gcp/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.StorageBucket = exports.Function = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Function = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Function"], () => require("./function"));
|
|
10
|
+
exports.StorageBucket = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["StorageBucket"], () => require("./storageBucket"));
|
|
12
|
+
const _module = {
|
|
13
|
+
version: utilities.getVersion(),
|
|
14
|
+
construct: (name, type, urn) => {
|
|
15
|
+
switch (type) {
|
|
16
|
+
case "anvil:gcp:Function":
|
|
17
|
+
return new exports.Function(name, undefined, { urn });
|
|
18
|
+
case "anvil:gcp:StorageBucket":
|
|
19
|
+
return new exports.StorageBucket(name, undefined, { urn });
|
|
20
|
+
default:
|
|
21
|
+
throw new Error(`unknown resource type ${type}`);
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
pulumi.runtime.registerResourceModule("anvil", "gcp", _module);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../gcp/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAGjF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,oBAAoB;gBACrB,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export declare class StorageBucket extends pulumi.ComponentResource {
|
|
4
|
+
/**
|
|
5
|
+
* Returns true if the given object is an instance of StorageBucket. This is designed to work even
|
|
6
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
7
|
+
*/
|
|
8
|
+
static isInstance(obj: any): obj is StorageBucket;
|
|
9
|
+
/**
|
|
10
|
+
* Create a StorageBucket resource with the given unique name, arguments, and options.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resource.
|
|
13
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
14
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, args: StorageBucketArgs, opts?: pulumi.ComponentResourceOptions);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The set of arguments for constructing a StorageBucket resource.
|
|
20
|
+
*/
|
|
21
|
+
export interface StorageBucketArgs {
|
|
22
|
+
/**
|
|
23
|
+
* Data classification level for the bucket.
|
|
24
|
+
*/
|
|
25
|
+
dataClassification: pulumi.Input<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The GCS location (e.g. US, EU, us-central1).
|
|
28
|
+
*/
|
|
29
|
+
location: pulumi.Input<string>;
|
|
30
|
+
transform?: pulumi.Input<inputs.gcp.BucketTransformArgsArgs>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.StorageBucket = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class StorageBucket extends pulumi.ComponentResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of StorageBucket. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj) {
|
|
14
|
+
if (obj === undefined || obj === null) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return obj['__pulumiType'] === StorageBucket.__pulumiType;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Create a StorageBucket resource with the given unique name, arguments, and options.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resource.
|
|
23
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
24
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
25
|
+
*/
|
|
26
|
+
constructor(name, args, opts) {
|
|
27
|
+
let resourceInputs = {};
|
|
28
|
+
opts = opts || {};
|
|
29
|
+
if (!opts.id) {
|
|
30
|
+
if (args?.dataClassification === undefined && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'dataClassification'");
|
|
32
|
+
}
|
|
33
|
+
if (args?.location === undefined && !opts.urn) {
|
|
34
|
+
throw new Error("Missing required property 'location'");
|
|
35
|
+
}
|
|
36
|
+
resourceInputs["dataClassification"] = args?.dataClassification;
|
|
37
|
+
resourceInputs["location"] = args?.location;
|
|
38
|
+
resourceInputs["transform"] = args?.transform;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
}
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
43
|
+
super(StorageBucket.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StorageBucket = StorageBucket;
|
|
47
|
+
/** @internal */
|
|
48
|
+
StorageBucket.__pulumiType = 'anvil:gcp:StorageBucket';
|
|
49
|
+
//# sourceMappingURL=storageBucket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageBucket.js","sourceRoot":"","sources":["../../gcp/storageBucket.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAI1C,MAAa,aAAc,SAAQ,MAAM,CAAC,iBAAiB;IAIvD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAuB,EAAE,IAAsC;QACrF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,kBAAkB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACnF,CAAC;;AAxCL,sCAyCC;AAxCG,gBAAgB;AACO,0BAAY,GAAG,yBAAyB,CAAC"}
|
package/bin/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { ProviderArgs } from "./provider";
|
|
2
|
+
export type Provider = import("./provider").Provider;
|
|
3
|
+
export declare const Provider: typeof import("./provider").Provider;
|
|
4
|
+
import * as aws from "./aws";
|
|
5
|
+
import * as gcp from "./gcp";
|
|
6
|
+
import * as types from "./types";
|
|
7
|
+
export { aws, gcp, types, };
|
package/bin/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.types = exports.gcp = exports.aws = exports.Provider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
exports.Provider = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
10
|
+
// Export sub-modules:
|
|
11
|
+
const aws = require("./aws");
|
|
12
|
+
exports.aws = aws;
|
|
13
|
+
const gcp = require("./gcp");
|
|
14
|
+
exports.gcp = gcp;
|
|
15
|
+
const types = require("./types");
|
|
16
|
+
exports.types = types;
|
|
17
|
+
pulumi.runtime.registerResourcePackage("anvil", {
|
|
18
|
+
version: utilities.getVersion(),
|
|
19
|
+
constructProvider: (name, type, urn) => {
|
|
20
|
+
if (type !== "pulumi:providers:anvil") {
|
|
21
|
+
throw new Error(`unknown provider type ${type}`);
|
|
22
|
+
}
|
|
23
|
+
return new exports.Provider(name, undefined, { urn });
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
package/bin/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,6BAA6B;AAKzB,kBAAG;AAJP,6BAA6B;AAKzB,kBAAG;AAJP,iCAAiC;AAK7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,wBAAwB,EAAE;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|