@pulumi/harness 0.14.1 → 0.14.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../chaos/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAItE,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,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;AAGpE,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGtG,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC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S,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA;AAC9F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,qCAAqC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,251 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing a Harness Chaos Security Governance Condition (V3 / REST API).
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as harness from "@pulumi/harness";
12
+ *
13
+ * // Example of a Kubernetes Security Governance Condition (V3)
14
+ * const k8sCondition = new harness.chaos.SecurityGovernanceConditionV3("k8s_condition", {
15
+ * orgId: orgId,
16
+ * projectId: projectId,
17
+ * name: "k8s-security-condition",
18
+ * description: "Security governance condition for Kubernetes workloads",
19
+ * infraType: "KubernetesV2",
20
+ * faultSpec: {
21
+ * operator: "NOT_EQUAL_TO",
22
+ * faults: [
23
+ * {
24
+ * faultType: "FAULT",
25
+ * name: "pod-delete",
26
+ * },
27
+ * {
28
+ * faultType: "FAULT",
29
+ * name: "pod-dns",
30
+ * },
31
+ * ],
32
+ * },
33
+ * k8sSpec: {
34
+ * infraSpec: {
35
+ * operator: "EQUAL_TO",
36
+ * infraIds: [k8sInfraId],
37
+ * },
38
+ * applicationSpec: {
39
+ * operator: "EQUAL_TO",
40
+ * workloads: [{
41
+ * namespace: "default",
42
+ * kind: "deployment",
43
+ * label: "app=nginx",
44
+ * services: ["nginx-service"],
45
+ * applicationMapId: "nginx-app",
46
+ * }],
47
+ * },
48
+ * chaosServiceAccountSpec: {
49
+ * operator: "EQUAL_TO",
50
+ * serviceAccounts: [
51
+ * "default",
52
+ * "chaos-service-account",
53
+ * ],
54
+ * },
55
+ * },
56
+ * tags: [
57
+ * "env:prod",
58
+ * "team:security",
59
+ * "platform:k8s",
60
+ * ],
61
+ * });
62
+ * // Example of a Linux Security Governance Condition (V3)
63
+ * const linuxCondition = new harness.chaos.SecurityGovernanceConditionV3("linux_condition", {
64
+ * orgId: orgId,
65
+ * projectId: projectId,
66
+ * name: "linux-security-condition",
67
+ * description: "Security governance condition for Linux hosts",
68
+ * infraType: "Linux",
69
+ * faultSpec: {
70
+ * operator: "NOT_EQUAL_TO",
71
+ * faults: [
72
+ * {
73
+ * faultType: "FAULT",
74
+ * name: "process-kill",
75
+ * },
76
+ * {
77
+ * faultType: "FAULT",
78
+ * name: "memory-hog",
79
+ * },
80
+ * ],
81
+ * },
82
+ * machineSpec: {
83
+ * infraSpec: {
84
+ * operator: "EQUAL_TO",
85
+ * infraIds: [linuxInfraId],
86
+ * },
87
+ * },
88
+ * tags: [
89
+ * "env:prod",
90
+ * "team:security",
91
+ * "platform:linux",
92
+ * ],
93
+ * });
94
+ * export const k8sConditionV3Id = k8sCondition.id;
95
+ * export const linuxConditionV3Id = linuxCondition.id;
96
+ * ```
97
+ *
98
+ * ## Import
99
+ *
100
+ * The `pulumi import` command can be used, for example:
101
+ *
102
+ * Import Project level Chaos Security Governance Condition (V3)
103
+ *
104
+ * ```sh
105
+ * $ pulumi import harness:chaos/securityGovernanceConditionV3:SecurityGovernanceConditionV3 example org_id/project_id/condition_id
106
+ * ```
107
+ */
108
+ export declare class SecurityGovernanceConditionV3 extends pulumi.CustomResource {
109
+ /**
110
+ * Get an existing SecurityGovernanceConditionV3 resource's state with the given name, ID, and optional extra
111
+ * properties used to qualify the lookup.
112
+ *
113
+ * @param name The _unique_ name of the resulting resource.
114
+ * @param id The _unique_ provider ID of the resource to lookup.
115
+ * @param state Any extra arguments used during the lookup.
116
+ * @param opts Optional settings to control the behavior of the CustomResource.
117
+ */
118
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityGovernanceConditionV3State, opts?: pulumi.CustomResourceOptions): SecurityGovernanceConditionV3;
119
+ /**
120
+ * Returns true if the given object is an instance of SecurityGovernanceConditionV3. This is designed to work even
121
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
122
+ */
123
+ static isInstance(obj: any): obj is SecurityGovernanceConditionV3;
124
+ /**
125
+ * Description of the security governance condition
126
+ */
127
+ readonly description: pulumi.Output<string | undefined>;
128
+ /**
129
+ * Specification for faults to be included in the condition
130
+ */
131
+ readonly faultSpec: pulumi.Output<outputs.chaos.SecurityGovernanceConditionV3FaultSpec>;
132
+ /**
133
+ * Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
134
+ */
135
+ readonly infraType: pulumi.Output<string>;
136
+ /**
137
+ * Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
138
+ */
139
+ readonly k8sSpec: pulumi.Output<outputs.chaos.SecurityGovernanceConditionV3K8sSpec | undefined>;
140
+ /**
141
+ * Machine specific configuration (required when infra*type is Linux or Windows)
142
+ */
143
+ readonly machineSpec: pulumi.Output<outputs.chaos.SecurityGovernanceConditionV3MachineSpec | undefined>;
144
+ /**
145
+ * Name of the security governance condition
146
+ */
147
+ readonly name: pulumi.Output<string>;
148
+ /**
149
+ * The organization ID of the security governance condition
150
+ */
151
+ readonly orgId: pulumi.Output<string>;
152
+ /**
153
+ * The project ID of the security governance condition
154
+ */
155
+ readonly projectId: pulumi.Output<string>;
156
+ /**
157
+ * Tags for the security governance condition
158
+ */
159
+ readonly tags: pulumi.Output<string[] | undefined>;
160
+ /**
161
+ * Create a SecurityGovernanceConditionV3 resource with the given unique name, arguments, and options.
162
+ *
163
+ * @param name The _unique_ name of the resource.
164
+ * @param args The arguments to use to populate this resource's properties.
165
+ * @param opts A bag of options that control this resource's behavior.
166
+ */
167
+ constructor(name: string, args: SecurityGovernanceConditionV3Args, opts?: pulumi.CustomResourceOptions);
168
+ }
169
+ /**
170
+ * Input properties used for looking up and filtering SecurityGovernanceConditionV3 resources.
171
+ */
172
+ export interface SecurityGovernanceConditionV3State {
173
+ /**
174
+ * Description of the security governance condition
175
+ */
176
+ description?: pulumi.Input<string | undefined>;
177
+ /**
178
+ * Specification for faults to be included in the condition
179
+ */
180
+ faultSpec?: pulumi.Input<inputs.chaos.SecurityGovernanceConditionV3FaultSpec | undefined>;
181
+ /**
182
+ * Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
183
+ */
184
+ infraType?: pulumi.Input<string | undefined>;
185
+ /**
186
+ * Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
187
+ */
188
+ k8sSpec?: pulumi.Input<inputs.chaos.SecurityGovernanceConditionV3K8sSpec | undefined>;
189
+ /**
190
+ * Machine specific configuration (required when infra*type is Linux or Windows)
191
+ */
192
+ machineSpec?: pulumi.Input<inputs.chaos.SecurityGovernanceConditionV3MachineSpec | undefined>;
193
+ /**
194
+ * Name of the security governance condition
195
+ */
196
+ name?: pulumi.Input<string | undefined>;
197
+ /**
198
+ * The organization ID of the security governance condition
199
+ */
200
+ orgId?: pulumi.Input<string | undefined>;
201
+ /**
202
+ * The project ID of the security governance condition
203
+ */
204
+ projectId?: pulumi.Input<string | undefined>;
205
+ /**
206
+ * Tags for the security governance condition
207
+ */
208
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
209
+ }
210
+ /**
211
+ * The set of arguments for constructing a SecurityGovernanceConditionV3 resource.
212
+ */
213
+ export interface SecurityGovernanceConditionV3Args {
214
+ /**
215
+ * Description of the security governance condition
216
+ */
217
+ description?: pulumi.Input<string | undefined>;
218
+ /**
219
+ * Specification for faults to be included in the condition
220
+ */
221
+ faultSpec: pulumi.Input<inputs.chaos.SecurityGovernanceConditionV3FaultSpec>;
222
+ /**
223
+ * Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
224
+ */
225
+ infraType: pulumi.Input<string>;
226
+ /**
227
+ * Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
228
+ */
229
+ k8sSpec?: pulumi.Input<inputs.chaos.SecurityGovernanceConditionV3K8sSpec | undefined>;
230
+ /**
231
+ * Machine specific configuration (required when infra*type is Linux or Windows)
232
+ */
233
+ machineSpec?: pulumi.Input<inputs.chaos.SecurityGovernanceConditionV3MachineSpec | undefined>;
234
+ /**
235
+ * Name of the security governance condition
236
+ */
237
+ name?: pulumi.Input<string | undefined>;
238
+ /**
239
+ * The organization ID of the security governance condition
240
+ */
241
+ orgId: pulumi.Input<string>;
242
+ /**
243
+ * The project ID of the security governance condition
244
+ */
245
+ projectId: pulumi.Input<string>;
246
+ /**
247
+ * Tags for the security governance condition
248
+ */
249
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
250
+ }
251
+ //# sourceMappingURL=securityGovernanceConditionV3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"securityGovernanceConditionV3.d.ts","sourceRoot":"","sources":["../../chaos/securityGovernanceConditionV3.ts"],"names":[],"mappings":"AAGA,OAAO,KAA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AAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC7E;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,wCAAwC,GAAG,SAAS,CAAC,CAAC;IAC9F;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC3D"}
@@ -0,0 +1,204 @@
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.SecurityGovernanceConditionV3 = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Resource for managing a Harness Chaos Security Governance Condition (V3 / REST API).
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as harness from "@pulumi/harness";
39
+ *
40
+ * // Example of a Kubernetes Security Governance Condition (V3)
41
+ * const k8sCondition = new harness.chaos.SecurityGovernanceConditionV3("k8s_condition", {
42
+ * orgId: orgId,
43
+ * projectId: projectId,
44
+ * name: "k8s-security-condition",
45
+ * description: "Security governance condition for Kubernetes workloads",
46
+ * infraType: "KubernetesV2",
47
+ * faultSpec: {
48
+ * operator: "NOT_EQUAL_TO",
49
+ * faults: [
50
+ * {
51
+ * faultType: "FAULT",
52
+ * name: "pod-delete",
53
+ * },
54
+ * {
55
+ * faultType: "FAULT",
56
+ * name: "pod-dns",
57
+ * },
58
+ * ],
59
+ * },
60
+ * k8sSpec: {
61
+ * infraSpec: {
62
+ * operator: "EQUAL_TO",
63
+ * infraIds: [k8sInfraId],
64
+ * },
65
+ * applicationSpec: {
66
+ * operator: "EQUAL_TO",
67
+ * workloads: [{
68
+ * namespace: "default",
69
+ * kind: "deployment",
70
+ * label: "app=nginx",
71
+ * services: ["nginx-service"],
72
+ * applicationMapId: "nginx-app",
73
+ * }],
74
+ * },
75
+ * chaosServiceAccountSpec: {
76
+ * operator: "EQUAL_TO",
77
+ * serviceAccounts: [
78
+ * "default",
79
+ * "chaos-service-account",
80
+ * ],
81
+ * },
82
+ * },
83
+ * tags: [
84
+ * "env:prod",
85
+ * "team:security",
86
+ * "platform:k8s",
87
+ * ],
88
+ * });
89
+ * // Example of a Linux Security Governance Condition (V3)
90
+ * const linuxCondition = new harness.chaos.SecurityGovernanceConditionV3("linux_condition", {
91
+ * orgId: orgId,
92
+ * projectId: projectId,
93
+ * name: "linux-security-condition",
94
+ * description: "Security governance condition for Linux hosts",
95
+ * infraType: "Linux",
96
+ * faultSpec: {
97
+ * operator: "NOT_EQUAL_TO",
98
+ * faults: [
99
+ * {
100
+ * faultType: "FAULT",
101
+ * name: "process-kill",
102
+ * },
103
+ * {
104
+ * faultType: "FAULT",
105
+ * name: "memory-hog",
106
+ * },
107
+ * ],
108
+ * },
109
+ * machineSpec: {
110
+ * infraSpec: {
111
+ * operator: "EQUAL_TO",
112
+ * infraIds: [linuxInfraId],
113
+ * },
114
+ * },
115
+ * tags: [
116
+ * "env:prod",
117
+ * "team:security",
118
+ * "platform:linux",
119
+ * ],
120
+ * });
121
+ * export const k8sConditionV3Id = k8sCondition.id;
122
+ * export const linuxConditionV3Id = linuxCondition.id;
123
+ * ```
124
+ *
125
+ * ## Import
126
+ *
127
+ * The `pulumi import` command can be used, for example:
128
+ *
129
+ * Import Project level Chaos Security Governance Condition (V3)
130
+ *
131
+ * ```sh
132
+ * $ pulumi import harness:chaos/securityGovernanceConditionV3:SecurityGovernanceConditionV3 example org_id/project_id/condition_id
133
+ * ```
134
+ */
135
+ class SecurityGovernanceConditionV3 extends pulumi.CustomResource {
136
+ /**
137
+ * Get an existing SecurityGovernanceConditionV3 resource's state with the given name, ID, and optional extra
138
+ * properties used to qualify the lookup.
139
+ *
140
+ * @param name The _unique_ name of the resulting resource.
141
+ * @param id The _unique_ provider ID of the resource to lookup.
142
+ * @param state Any extra arguments used during the lookup.
143
+ * @param opts Optional settings to control the behavior of the CustomResource.
144
+ */
145
+ static get(name, id, state, opts) {
146
+ return new SecurityGovernanceConditionV3(name, state, { ...opts, id: id });
147
+ }
148
+ /** @internal */
149
+ static __pulumiType = 'harness:chaos/securityGovernanceConditionV3:SecurityGovernanceConditionV3';
150
+ /**
151
+ * Returns true if the given object is an instance of SecurityGovernanceConditionV3. This is designed to work even
152
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
153
+ */
154
+ static isInstance(obj) {
155
+ if (obj === undefined || obj === null) {
156
+ return false;
157
+ }
158
+ return obj['__pulumiType'] === SecurityGovernanceConditionV3.__pulumiType;
159
+ }
160
+ constructor(name, argsOrState, opts) {
161
+ let resourceInputs = {};
162
+ opts = opts || {};
163
+ if (opts.id) {
164
+ const state = argsOrState;
165
+ resourceInputs["description"] = state?.description;
166
+ resourceInputs["faultSpec"] = state?.faultSpec;
167
+ resourceInputs["infraType"] = state?.infraType;
168
+ resourceInputs["k8sSpec"] = state?.k8sSpec;
169
+ resourceInputs["machineSpec"] = state?.machineSpec;
170
+ resourceInputs["name"] = state?.name;
171
+ resourceInputs["orgId"] = state?.orgId;
172
+ resourceInputs["projectId"] = state?.projectId;
173
+ resourceInputs["tags"] = state?.tags;
174
+ }
175
+ else {
176
+ const args = argsOrState;
177
+ if (args?.faultSpec === undefined && !opts.urn) {
178
+ throw new Error("Missing required property 'faultSpec'");
179
+ }
180
+ if (args?.infraType === undefined && !opts.urn) {
181
+ throw new Error("Missing required property 'infraType'");
182
+ }
183
+ if (args?.orgId === undefined && !opts.urn) {
184
+ throw new Error("Missing required property 'orgId'");
185
+ }
186
+ if (args?.projectId === undefined && !opts.urn) {
187
+ throw new Error("Missing required property 'projectId'");
188
+ }
189
+ resourceInputs["description"] = args?.description;
190
+ resourceInputs["faultSpec"] = args?.faultSpec;
191
+ resourceInputs["infraType"] = args?.infraType;
192
+ resourceInputs["k8sSpec"] = args?.k8sSpec;
193
+ resourceInputs["machineSpec"] = args?.machineSpec;
194
+ resourceInputs["name"] = args?.name;
195
+ resourceInputs["orgId"] = args?.orgId;
196
+ resourceInputs["projectId"] = args?.projectId;
197
+ resourceInputs["tags"] = args?.tags;
198
+ }
199
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
200
+ super(SecurityGovernanceConditionV3.__pulumiType, name, resourceInputs, opts);
201
+ }
202
+ }
203
+ exports.SecurityGovernanceConditionV3 = SecurityGovernanceConditionV3;
204
+ //# sourceMappingURL=securityGovernanceConditionV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"securityGovernanceConditionV3.js","sourceRoot":"","sources":["../../chaos/securityGovernanceConditionV3.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,2EAA2E,CAAC;IAElH;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IA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