@pulumi/coreweave 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/LICENSE +202 -0
- package/README.md +106 -0
- package/cksCluster.d.ts +282 -0
- package/cksCluster.d.ts.map +1 -0
- package/cksCluster.js +130 -0
- package/cksCluster.js.map +1 -0
- package/config/index.d.ts +2 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +17 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +54 -0
- package/config/vars.js.map +1 -0
- package/getCksCluster.d.ts +44 -0
- package/getCksCluster.d.ts.map +1 -0
- package/getCksCluster.js +45 -0
- package/getCksCluster.js.map +1 -0
- package/getNetworkingVpc.d.ts +34 -0
- package/getNetworkingVpc.d.ts.map +1 -0
- package/getNetworkingVpc.js +45 -0
- package/getNetworkingVpc.js.map +1 -0
- package/getObjectStorageBucketPolicyDocument.d.ts +31 -0
- package/getObjectStorageBucketPolicyDocument.d.ts.map +1 -0
- package/getObjectStorageBucketPolicyDocument.js +51 -0
- package/getObjectStorageBucketPolicyDocument.js.map +1 -0
- package/index.d.ts +38 -0
- package/index.d.ts.map +1 -0
- package/index.js +108 -0
- package/index.js.map +1 -0
- package/networkingVpc.d.ts +147 -0
- package/networkingVpc.d.ts.map +1 -0
- package/networkingVpc.js +89 -0
- package/networkingVpc.js.map +1 -0
- package/objectStorageBucket.d.ts +79 -0
- package/objectStorageBucket.d.ts.map +1 -0
- package/objectStorageBucket.js +79 -0
- package/objectStorageBucket.js.map +1 -0
- package/objectStorageBucketLifecycleConfiguration.d.ts +63 -0
- package/objectStorageBucketLifecycleConfiguration.d.ts.map +1 -0
- package/objectStorageBucketLifecycleConfiguration.js +77 -0
- package/objectStorageBucketLifecycleConfiguration.js.map +1 -0
- package/objectStorageBucketPolicy.d.ts +61 -0
- package/objectStorageBucketPolicy.d.ts.map +1 -0
- package/objectStorageBucketPolicy.js +80 -0
- package/objectStorageBucketPolicy.js.map +1 -0
- package/objectStorageBucketSettings.d.ts +61 -0
- package/objectStorageBucketSettings.d.ts.map +1 -0
- package/objectStorageBucketSettings.js +77 -0
- package/objectStorageBucketSettings.js.map +1 -0
- package/objectStorageBucketVersioning.d.ts +54 -0
- package/objectStorageBucketVersioning.d.ts.map +1 -0
- package/objectStorageBucketVersioning.js +77 -0
- package/objectStorageBucketVersioning.js.map +1 -0
- package/objectStorageOrganizationAccessPolicy.d.ts +63 -0
- package/objectStorageOrganizationAccessPolicy.d.ts.map +1 -0
- package/objectStorageOrganizationAccessPolicy.js +77 -0
- package/objectStorageOrganizationAccessPolicy.js.map +1 -0
- package/package.json +27 -0
- package/provider.d.ts +74 -0
- package/provider.d.ts.map +1 -0
- package/provider.js +81 -0
- package/provider.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +34 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +344 -0
- package/types/input.d.ts.map +1 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +407 -0
- package/types/output.d.ts.map +1 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +5 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +114 -0
- package/utilities.js.map +1 -0
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ObjectStorageOrganizationAccessPolicy = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class ObjectStorageOrganizationAccessPolicy extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ObjectStorageOrganizationAccessPolicy resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new ObjectStorageOrganizationAccessPolicy(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'coreweave:index/objectStorageOrganizationAccessPolicy:ObjectStorageOrganizationAccessPolicy';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of ObjectStorageOrganizationAccessPolicy. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === ObjectStorageOrganizationAccessPolicy.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["name"] = state?.name;
|
|
62
|
+
resourceInputs["statements"] = state?.statements;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if (args?.statements === undefined && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'statements'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["name"] = args?.name;
|
|
70
|
+
resourceInputs["statements"] = args?.statements;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
super(ObjectStorageOrganizationAccessPolicy.__pulumiType, name, resourceInputs, opts);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.ObjectStorageOrganizationAccessPolicy = ObjectStorageOrganizationAccessPolicy;
|
|
77
|
+
//# sourceMappingURL=objectStorageOrganizationAccessPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objectStorageOrganizationAccessPolicy.js","sourceRoot":"","sources":["../objectStorageOrganizationAccessPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6FAA6F,CAAC;IAEpI;;;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,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqE,CAAC;YACpF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;SACpD;aAAM;YACH,MAAM,IAAI,GAAG,WAAoE,CAAC;YAClF,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AA9DL,sFA+DC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/coreweave",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A Pulumi package for creating and managing CoreWeave cloud resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"coreweave",
|
|
7
|
+
"category/cloud"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://www.pulumi.com",
|
|
10
|
+
"repository": "https://github.com/pulumi/pulumi-coreweave",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@pulumi/pulumi": "^3.142.0"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/node": "^20",
|
|
20
|
+
"typescript": "^4.7.0"
|
|
21
|
+
},
|
|
22
|
+
"pulumi": {
|
|
23
|
+
"resource": true,
|
|
24
|
+
"name": "coreweave",
|
|
25
|
+
"version": "0.1.0"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/provider.d.ts
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The provider type for the coreweave package. By default, resources use package-wide configuration
|
|
4
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
5
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
6
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Provider. 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: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* CoreWeave API Endpoint. This can also be set via the COREWEAVE_API_ENDPOINT environment variable, which takes precedence. Defaults to `https://api.coreweave.com/`
|
|
16
|
+
*/
|
|
17
|
+
readonly endpoint: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Timeout duration for the HTTP client to use. This can also be set via the COREWEAVE_HTTP_TIMEOUT environment variable, which takes precedence. If unset, defaults to 10 seconds
|
|
20
|
+
*/
|
|
21
|
+
readonly httpTimeout: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* CoreWeave S3 Endpoint, used for CoreWeave Object Storage. This can also be set via the COREWEAVE_S3_ENDPOINT environment variable, which takes precedence. Defaults to `https://cwobject.com`
|
|
24
|
+
*/
|
|
25
|
+
readonly s3Endpoint: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* CoreWeave API Token in the form `CW-SECRET-<secret>`. This can also be set via the COREWEAVE_API_TOKEN environment variable, which takes precedence.
|
|
28
|
+
*/
|
|
29
|
+
readonly token: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
38
|
+
/**
|
|
39
|
+
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
40
|
+
*/
|
|
41
|
+
terraformConfig(): pulumi.Output<Provider.TerraformConfigResult>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The set of arguments for constructing a Provider resource.
|
|
45
|
+
*/
|
|
46
|
+
export interface ProviderArgs {
|
|
47
|
+
/**
|
|
48
|
+
* CoreWeave API Endpoint. This can also be set via the COREWEAVE_API_ENDPOINT environment variable, which takes precedence. Defaults to `https://api.coreweave.com/`
|
|
49
|
+
*/
|
|
50
|
+
endpoint?: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Timeout duration for the HTTP client to use. This can also be set via the COREWEAVE_HTTP_TIMEOUT environment variable, which takes precedence. If unset, defaults to 10 seconds
|
|
53
|
+
*/
|
|
54
|
+
httpTimeout?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* CoreWeave S3 Endpoint, used for CoreWeave Object Storage. This can also be set via the COREWEAVE_S3_ENDPOINT environment variable, which takes precedence. Defaults to `https://cwobject.com`
|
|
57
|
+
*/
|
|
58
|
+
s3Endpoint?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* CoreWeave API Token in the form `CW-SECRET-<secret>`. This can also be set via the COREWEAVE_API_TOKEN environment variable, which takes precedence.
|
|
61
|
+
*/
|
|
62
|
+
token?: pulumi.Input<string>;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace Provider {
|
|
65
|
+
/**
|
|
66
|
+
* The results of the Provider.terraformConfig method.
|
|
67
|
+
*/
|
|
68
|
+
interface TerraformConfigResult {
|
|
69
|
+
readonly result: {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;GAKG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEjE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,eAAe;IAe5E;;OAEG;IACH,eAAe,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC;CAKnE;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC;AAED,yBAAiB,QAAQ,CAAC;IACtB;;OAEG;IACH,UAAiB,qBAAqB;QAClC,QAAQ,CAAC,MAAM,EAAE;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC;KACzC;CAEJ"}
|
package/provider.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Provider = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* The provider type for the coreweave package. By default, resources use package-wide configuration
|
|
33
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
34
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
35
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
36
|
+
*/
|
|
37
|
+
class Provider extends pulumi.ProviderResource {
|
|
38
|
+
/** @internal */
|
|
39
|
+
static __pulumiType = 'coreweave';
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj) {
|
|
45
|
+
if (obj === undefined || obj === null) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name, args, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
{
|
|
61
|
+
resourceInputs["endpoint"] = args?.endpoint;
|
|
62
|
+
resourceInputs["httpTimeout"] = args?.httpTimeout;
|
|
63
|
+
resourceInputs["s3Endpoint"] = args?.s3Endpoint;
|
|
64
|
+
resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
69
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
73
|
+
*/
|
|
74
|
+
terraformConfig() {
|
|
75
|
+
return pulumi.runtime.call("pulumi:providers:coreweave/terraformConfig", {
|
|
76
|
+
"__self__": this,
|
|
77
|
+
}, this);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.Provider = Provider;
|
|
81
|
+
//# sourceMappingURL=provider.js.map
|
package/provider.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,WAAW,CAAC;IAElD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE;YACrE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AA7DL,4BA8DC"}
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,KAAK,EACL,MAAM,GACT,CAAC"}
|
package/types/index.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.output = exports.input = void 0;
|
|
29
|
+
// Export sub-modules:
|
|
30
|
+
const input = __importStar(require("./input"));
|
|
31
|
+
exports.input = input;
|
|
32
|
+
const output = __importStar(require("./output"));
|
|
33
|
+
exports.output = output;
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,+CAAiC;AAI7B,sBAAK;AAHT,iDAAmC;AAI/B,wBAAM"}
|
package/types/input.d.ts
ADDED
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export interface CksClusterAuthnWebhook {
|
|
4
|
+
/**
|
|
5
|
+
* The CA certificate for the webhook server. Must be a base64-encoded PEM-encoded certificate.
|
|
6
|
+
*/
|
|
7
|
+
ca?: pulumi.Input<string>;
|
|
8
|
+
/**
|
|
9
|
+
* The URL of the webhook server.
|
|
10
|
+
*/
|
|
11
|
+
server: pulumi.Input<string>;
|
|
12
|
+
}
|
|
13
|
+
export interface CksClusterAuthzWebhook {
|
|
14
|
+
/**
|
|
15
|
+
* The CA certificate for the webhook server. Must be a base64-encoded PEM-encoded certificate.
|
|
16
|
+
*/
|
|
17
|
+
ca?: pulumi.Input<string>;
|
|
18
|
+
/**
|
|
19
|
+
* The URL of the webhook server.
|
|
20
|
+
*/
|
|
21
|
+
server: pulumi.Input<string>;
|
|
22
|
+
}
|
|
23
|
+
export interface CksClusterNodePortRange {
|
|
24
|
+
end?: pulumi.Input<number>;
|
|
25
|
+
start?: pulumi.Input<number>;
|
|
26
|
+
}
|
|
27
|
+
export interface CksClusterOidc {
|
|
28
|
+
/**
|
|
29
|
+
* The OIDC group that is bound to the cluster-admin role for bootstrap access to the cluster.
|
|
30
|
+
*/
|
|
31
|
+
adminGroupBinding?: pulumi.Input<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The CA certificate for the OIDC issuer. Must be a base64-encoded PEM-encoded certificate.
|
|
34
|
+
*/
|
|
35
|
+
ca?: pulumi.Input<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The client ID for the OIDC client.
|
|
38
|
+
*/
|
|
39
|
+
clientId: pulumi.Input<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The claim to use as the groups.
|
|
42
|
+
*/
|
|
43
|
+
groupsClaim?: pulumi.Input<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The prefix to use for the groups.
|
|
46
|
+
*/
|
|
47
|
+
groupsPrefix?: pulumi.Input<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The URL of the OIDC issuer.
|
|
50
|
+
*/
|
|
51
|
+
issuerUrl: pulumi.Input<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The claim to require for authentication.
|
|
54
|
+
*/
|
|
55
|
+
requiredClaim?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* A list of signing algorithms that the OpenID Connect discovery endpoint uses.
|
|
58
|
+
*/
|
|
59
|
+
signingAlgs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
60
|
+
/**
|
|
61
|
+
* The claim to use as the username.
|
|
62
|
+
*/
|
|
63
|
+
usernameClaim?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The prefix to use for the username.
|
|
66
|
+
*/
|
|
67
|
+
usernamePrefix?: pulumi.Input<string>;
|
|
68
|
+
}
|
|
69
|
+
export interface GetObjectStorageBucketPolicyDocumentStatement {
|
|
70
|
+
/**
|
|
71
|
+
* List of action strings, e.g. `["s3:PutObject"]`
|
|
72
|
+
*/
|
|
73
|
+
actions?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Map of condition operators to JSON expressions
|
|
76
|
+
*/
|
|
77
|
+
condition?: {
|
|
78
|
+
[key: string]: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* `Allow` or `Deny`
|
|
84
|
+
*/
|
|
85
|
+
effect?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Map of principal types to ARNs
|
|
88
|
+
*/
|
|
89
|
+
principal?: {
|
|
90
|
+
[key: string]: string[];
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* List of resource ARNs, e.g. `["arn:aws:s3:::bucket/*"]`
|
|
94
|
+
*/
|
|
95
|
+
resources?: string[];
|
|
96
|
+
/**
|
|
97
|
+
* An optional statement identifier
|
|
98
|
+
*/
|
|
99
|
+
sid?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface GetObjectStorageBucketPolicyDocumentStatementArgs {
|
|
102
|
+
/**
|
|
103
|
+
* List of action strings, e.g. `["s3:PutObject"]`
|
|
104
|
+
*/
|
|
105
|
+
actions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Map of condition operators to JSON expressions
|
|
108
|
+
*/
|
|
109
|
+
condition?: pulumi.Input<{
|
|
110
|
+
[key: string]: pulumi.Input<{
|
|
111
|
+
[key: string]: pulumi.Input<string>;
|
|
112
|
+
}>;
|
|
113
|
+
}>;
|
|
114
|
+
/**
|
|
115
|
+
* `Allow` or `Deny`
|
|
116
|
+
*/
|
|
117
|
+
effect?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Map of principal types to ARNs
|
|
120
|
+
*/
|
|
121
|
+
principal?: pulumi.Input<{
|
|
122
|
+
[key: string]: pulumi.Input<pulumi.Input<string>[]>;
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* List of resource ARNs, e.g. `["arn:aws:s3:::bucket/*"]`
|
|
126
|
+
*/
|
|
127
|
+
resources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
|
+
/**
|
|
129
|
+
* An optional statement identifier
|
|
130
|
+
*/
|
|
131
|
+
sid?: pulumi.Input<string>;
|
|
132
|
+
}
|
|
133
|
+
export interface NetworkingVpcDhcp {
|
|
134
|
+
/**
|
|
135
|
+
* Settings affecting DNS for DHCP within the VPC
|
|
136
|
+
*/
|
|
137
|
+
dns?: pulumi.Input<inputs.NetworkingVpcDhcpDns>;
|
|
138
|
+
}
|
|
139
|
+
export interface NetworkingVpcDhcpDns {
|
|
140
|
+
/**
|
|
141
|
+
* The DNS servers to be used by DHCP clients within the VPC.
|
|
142
|
+
*/
|
|
143
|
+
servers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
+
}
|
|
145
|
+
export interface NetworkingVpcEgress {
|
|
146
|
+
/**
|
|
147
|
+
* Specifies whether the VPC should be blocked from consuming public Internet.
|
|
148
|
+
*/
|
|
149
|
+
disablePublicAccess?: pulumi.Input<boolean>;
|
|
150
|
+
}
|
|
151
|
+
export interface NetworkingVpcHostPrefix {
|
|
152
|
+
/**
|
|
153
|
+
* The configuration for a secondary host prefix.
|
|
154
|
+
*/
|
|
155
|
+
ipam?: pulumi.Input<inputs.NetworkingVpcHostPrefixIpam>;
|
|
156
|
+
/**
|
|
157
|
+
* The user-specified name of the host prefix.
|
|
158
|
+
*/
|
|
159
|
+
name: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
|
|
162
|
+
*/
|
|
163
|
+
prefixes: pulumi.Input<pulumi.Input<string>[]>;
|
|
164
|
+
/**
|
|
165
|
+
* Controls network connectivity from the prefix to the host. Must be one of: `PRIMARY`, `ROUTED`, `ATTACHED`.
|
|
166
|
+
*/
|
|
167
|
+
type: pulumi.Input<string>;
|
|
168
|
+
}
|
|
169
|
+
export interface NetworkingVpcHostPrefixIpam {
|
|
170
|
+
/**
|
|
171
|
+
* Describes which IP address from the prefix is allocated to the network gateway. Must be one of: `UNSPECIFIED`, `EUI64`, `FIRST_IP`, `LAST_IP`.
|
|
172
|
+
*/
|
|
173
|
+
gatewayAddressPolicy?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The desired length for each Node's allocation from the VPC-wide aggregate prefix.
|
|
176
|
+
*/
|
|
177
|
+
prefixLength: pulumi.Input<number>;
|
|
178
|
+
}
|
|
179
|
+
export interface NetworkingVpcIngress {
|
|
180
|
+
/**
|
|
181
|
+
* Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
|
|
182
|
+
*/
|
|
183
|
+
disablePublicServices?: pulumi.Input<boolean>;
|
|
184
|
+
}
|
|
185
|
+
export interface NetworkingVpcVpcPrefix {
|
|
186
|
+
name: pulumi.Input<string>;
|
|
187
|
+
value: pulumi.Input<string>;
|
|
188
|
+
}
|
|
189
|
+
export interface ObjectStorageBucketLifecycleConfigurationRule {
|
|
190
|
+
abortIncompleteMultipartUpload?: pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleAbortIncompleteMultipartUpload>;
|
|
191
|
+
expiration?: pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleExpiration>;
|
|
192
|
+
filter?: pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleFilter>;
|
|
193
|
+
/**
|
|
194
|
+
* Unique identifier for the rule
|
|
195
|
+
*/
|
|
196
|
+
id?: pulumi.Input<string>;
|
|
197
|
+
noncurrentVersionExpiration?: pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleNoncurrentVersionExpiration>;
|
|
198
|
+
noncurrentVersionTransitions?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleNoncurrentVersionTransition>[]>;
|
|
199
|
+
/**
|
|
200
|
+
* Object key prefix to which the rule applies
|
|
201
|
+
*/
|
|
202
|
+
prefix?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Rule status: Enabled or Disabled
|
|
205
|
+
*/
|
|
206
|
+
status: pulumi.Input<string>;
|
|
207
|
+
transitions?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleTransition>[]>;
|
|
208
|
+
}
|
|
209
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleAbortIncompleteMultipartUpload {
|
|
210
|
+
/**
|
|
211
|
+
* Days after initiation to abort multipart uploads
|
|
212
|
+
*/
|
|
213
|
+
daysAfterInitiation?: pulumi.Input<number>;
|
|
214
|
+
}
|
|
215
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleExpiration {
|
|
216
|
+
/**
|
|
217
|
+
* ISO8601 date when objects expire
|
|
218
|
+
*/
|
|
219
|
+
date?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Number of days after object creation for expiration
|
|
222
|
+
*/
|
|
223
|
+
days?: pulumi.Input<number>;
|
|
224
|
+
/**
|
|
225
|
+
* Whether to remove expired delete markers
|
|
226
|
+
*/
|
|
227
|
+
expiredObjectDeleteMarker?: pulumi.Input<boolean>;
|
|
228
|
+
}
|
|
229
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleFilter {
|
|
230
|
+
/**
|
|
231
|
+
* Configuration block used to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all the predicates configured inside the and block.
|
|
232
|
+
*/
|
|
233
|
+
and?: pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleFilterAnd>;
|
|
234
|
+
/**
|
|
235
|
+
* Minimum object size (in bytes) to which the rule applies.
|
|
236
|
+
*/
|
|
237
|
+
objectSizeGreaterThan?: pulumi.Input<number>;
|
|
238
|
+
/**
|
|
239
|
+
* Maximum object size (in bytes) to which the rule applies.
|
|
240
|
+
*/
|
|
241
|
+
objectSizeLessThan?: pulumi.Input<number>;
|
|
242
|
+
/**
|
|
243
|
+
* Prefix filter
|
|
244
|
+
*/
|
|
245
|
+
prefix?: pulumi.Input<string>;
|
|
246
|
+
tag?: pulumi.Input<inputs.ObjectStorageBucketLifecycleConfigurationRuleFilterTag>;
|
|
247
|
+
}
|
|
248
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleFilterAnd {
|
|
249
|
+
/**
|
|
250
|
+
* Minimum object size (in bytes) to which the rule applies.
|
|
251
|
+
*/
|
|
252
|
+
objectSizeGreaterThan?: pulumi.Input<number>;
|
|
253
|
+
/**
|
|
254
|
+
* Maximum object size (in bytes) to which the rule applies.
|
|
255
|
+
*/
|
|
256
|
+
objectSizeLessThan?: pulumi.Input<number>;
|
|
257
|
+
/**
|
|
258
|
+
* Prefix identifying one or more objects to which the rule applies.
|
|
259
|
+
*/
|
|
260
|
+
prefix?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* Map for specifying tag keys and values.
|
|
263
|
+
*/
|
|
264
|
+
tags?: pulumi.Input<{
|
|
265
|
+
[key: string]: pulumi.Input<string>;
|
|
266
|
+
}>;
|
|
267
|
+
}
|
|
268
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleFilterTag {
|
|
269
|
+
/**
|
|
270
|
+
* Tag key filter
|
|
271
|
+
*/
|
|
272
|
+
key?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* Tag value filter
|
|
275
|
+
*/
|
|
276
|
+
value?: pulumi.Input<string>;
|
|
277
|
+
}
|
|
278
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleNoncurrentVersionExpiration {
|
|
279
|
+
/**
|
|
280
|
+
* Number of noncurrent versions to retain
|
|
281
|
+
*/
|
|
282
|
+
newerNoncurrentVersions?: pulumi.Input<number>;
|
|
283
|
+
/**
|
|
284
|
+
* Days after becoming noncurrent before deletion
|
|
285
|
+
*/
|
|
286
|
+
noncurrentDays?: pulumi.Input<number>;
|
|
287
|
+
}
|
|
288
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleNoncurrentVersionTransition {
|
|
289
|
+
/**
|
|
290
|
+
* Number of noncurrent versions to retain
|
|
291
|
+
*/
|
|
292
|
+
newerNoncurrentVersions?: pulumi.Input<number>;
|
|
293
|
+
/**
|
|
294
|
+
* Number of days after object becomes noncurrent before the transition may occur
|
|
295
|
+
*/
|
|
296
|
+
noncurrentDays: pulumi.Input<number>;
|
|
297
|
+
/**
|
|
298
|
+
* Storage class to transition noncurrent objects to
|
|
299
|
+
*/
|
|
300
|
+
storageClass: pulumi.Input<string>;
|
|
301
|
+
}
|
|
302
|
+
export interface ObjectStorageBucketLifecycleConfigurationRuleTransition {
|
|
303
|
+
/**
|
|
304
|
+
* ISO8601 date when objects transition
|
|
305
|
+
*/
|
|
306
|
+
date?: pulumi.Input<string>;
|
|
307
|
+
/**
|
|
308
|
+
* Number of days after object creation for transition
|
|
309
|
+
*/
|
|
310
|
+
days?: pulumi.Input<number>;
|
|
311
|
+
/**
|
|
312
|
+
* Storage class to transition objects to
|
|
313
|
+
*/
|
|
314
|
+
storageClass: pulumi.Input<string>;
|
|
315
|
+
}
|
|
316
|
+
export interface ObjectStorageBucketVersioningVersioningConfiguration {
|
|
317
|
+
/**
|
|
318
|
+
* Versioning state of the bucket. Valid values: Enabled, Suspended, or Disabled. Disabled should only be used when creating or importing resources that correspond to unversioned S3 buckets since the S3 API does not allow setting an Enabled/Suspended bucket to Disabled.
|
|
319
|
+
*/
|
|
320
|
+
status: pulumi.Input<string>;
|
|
321
|
+
}
|
|
322
|
+
export interface ObjectStorageOrganizationAccessPolicyStatement {
|
|
323
|
+
/**
|
|
324
|
+
* Defines which operations the policy allows or denies. Organization access policies can include actions from two APIs - S3 (s3:*) and AI Object Storage API (cwobject:*). You can use wildcards (like s3:* or cwobject:*) to cover multiple actions at once.
|
|
325
|
+
*/
|
|
326
|
+
actions: pulumi.Input<pulumi.Input<string>[]>;
|
|
327
|
+
/**
|
|
328
|
+
* Must be either Allow or Deny (case-sensitive). Determines whether the statement grants or denies the specified actions on the listed resources for the designated principals. By default, all access is denied.
|
|
329
|
+
*/
|
|
330
|
+
effect: pulumi.Input<string>;
|
|
331
|
+
/**
|
|
332
|
+
* A short, human-readable identifier for this specific policy statement, similar to Sid in bucket access policies.
|
|
333
|
+
*/
|
|
334
|
+
name: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* Defines which users, roles, or groups the policy applies to. Only short-form identifiers are supported. If you use a full ARN, the policy will fail with an error. See the [AI Object Storage documentation](https://docs.coreweave.com/products/storage/object-storage/concepts/policies/organization-policies#resources) for guidelines on defining principals.
|
|
337
|
+
*/
|
|
338
|
+
principals: pulumi.Input<pulumi.Input<string>[]>;
|
|
339
|
+
/**
|
|
340
|
+
* Defines which resources the policy applies to. See the [AI Object Storage documentation](https://docs.coreweave.com/products/storage/object-storage/concepts/policies/organization-policies#resources) for guidelines on defining resources.
|
|
341
|
+
*/
|
|
342
|
+
resources: pulumi.Input<pulumi.Input<string>[]>;
|
|
343
|
+
}
|
|
344
|
+
//# sourceMappingURL=input.d.ts.map
|