@formalco/pulumi 1.1.0 → 1.2.0-alpha.1
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/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +24 -1
- package/config/vars.js.map +1 -1
- package/connector.d.ts +8 -7
- package/connector.d.ts.map +1 -0
- package/connector.js +35 -12
- package/connector.js.map +1 -1
- package/connectorAiProvider.d.ts +138 -0
- package/connectorAiProvider.d.ts.map +1 -0
- package/connectorAiProvider.js +92 -0
- package/connectorAiProvider.js.map +1 -0
- package/connectorConfiguration.d.ts +11 -10
- package/connectorConfiguration.d.ts.map +1 -0
- package/connectorConfiguration.js +39 -16
- package/connectorConfiguration.js.map +1 -1
- package/connectorHostname.d.ts +15 -14
- package/connectorHostname.d.ts.map +1 -0
- package/connectorHostname.js +46 -23
- package/connectorHostname.js.map +1 -1
- package/connectorListener.d.ts +8 -7
- package/connectorListener.d.ts.map +1 -0
- package/connectorListener.js +37 -14
- package/connectorListener.js.map +1 -1
- package/connectorListenerLink.d.ts +5 -4
- package/connectorListenerLink.d.ts.map +1 -0
- package/connectorListenerLink.js +36 -13
- package/connectorListenerLink.js.map +1 -1
- package/connectorListenerRule.d.ts +6 -5
- package/connectorListenerRule.d.ts.map +1 -0
- package/connectorListenerRule.js +39 -16
- package/connectorListenerRule.js.map +1 -1
- package/connectorSatelliteLink.d.ts +6 -5
- package/connectorSatelliteLink.d.ts.map +1 -0
- package/connectorSatelliteLink.js +39 -16
- package/connectorSatelliteLink.js.map +1 -1
- package/dataDiscovery.d.ts +8 -7
- package/dataDiscovery.d.ts.map +1 -0
- package/dataDiscovery.js +43 -20
- package/dataDiscovery.js.map +1 -1
- package/dataLabel.d.ts +5 -4
- package/dataLabel.d.ts.map +1 -0
- package/dataLabel.js +36 -13
- package/dataLabel.js.map +1 -1
- package/encryptionKey.d.ts +23 -10
- package/encryptionKey.d.ts.map +1 -0
- package/encryptionKey.js +43 -18
- package/encryptionKey.js.map +1 -1
- package/form.d.ts +94 -0
- package/form.d.ts.map +1 -0
- package/form.js +86 -0
- package/form.js.map +1 -0
- package/getConnector.d.ts +3 -2
- package/getConnector.d.ts.map +1 -0
- package/getConnector.js +25 -2
- package/getConnector.js.map +1 -1
- package/getGroup.d.ts +3 -2
- package/getGroup.d.ts.map +1 -0
- package/getGroup.js +25 -2
- package/getGroup.js.map +1 -1
- package/getResource.d.ts +3 -2
- package/getResource.d.ts.map +1 -0
- package/getResource.js +25 -2
- package/getResource.js.map +1 -1
- package/getSpace.d.ts +3 -2
- package/getSpace.d.ts.map +1 -0
- package/getSpace.js +25 -2
- package/getSpace.js.map +1 -1
- package/group.d.ts +6 -5
- package/group.d.ts.map +1 -0
- package/group.js +35 -12
- package/group.js.map +1 -1
- package/groupUserLink.d.ts +5 -4
- package/groupUserLink.d.ts.map +1 -0
- package/groupUserLink.js +36 -13
- package/groupUserLink.js.map +1 -1
- package/index.d.ts +16 -6
- package/index.d.ts.map +1 -0
- package/index.js +43 -15
- package/index.js.map +1 -1
- package/integrationBi.d.ts +6 -5
- package/integrationBi.d.ts.map +1 -0
- package/integrationBi.js +35 -12
- package/integrationBi.js.map +1 -1
- package/integrationCloud.d.ts +21 -20
- package/integrationCloud.d.ts.map +1 -0
- package/integrationCloud.js +50 -27
- package/integrationCloud.js.map +1 -1
- package/integrationLog.d.ts +9 -8
- package/integrationLog.d.ts.map +1 -0
- package/integrationLog.js +36 -13
- package/integrationLog.js.map +1 -1
- package/integrationMdm.d.ts +5 -4
- package/integrationMdm.d.ts.map +1 -0
- package/integrationMdm.js +32 -9
- package/integrationMdm.js.map +1 -1
- package/inventoryObject.d.ts +100 -0
- package/inventoryObject.d.ts.map +1 -0
- package/inventoryObject.js +92 -0
- package/inventoryObject.js.map +1 -0
- package/inventoryObjectDataLabelLink.d.ts +5 -4
- package/inventoryObjectDataLabelLink.d.ts.map +1 -0
- package/inventoryObjectDataLabelLink.js +40 -17
- package/inventoryObjectDataLabelLink.js.map +1 -1
- package/logConfiguration.d.ts +14 -13
- package/logConfiguration.d.ts.map +1 -0
- package/logConfiguration.js +47 -24
- package/logConfiguration.js.map +1 -1
- package/nativeUser.d.ts +35 -10
- package/nativeUser.d.ts.map +1 -0
- package/nativeUser.js +45 -20
- package/nativeUser.js.map +1 -1
- package/nativeUserLink.d.ts +7 -6
- package/nativeUserLink.d.ts.map +1 -0
- package/nativeUserLink.js +40 -17
- package/nativeUserLink.js.map +1 -1
- package/networkRule.d.ts +116 -0
- package/networkRule.d.ts.map +1 -0
- package/networkRule.js +90 -0
- package/networkRule.js.map +1 -0
- package/package.json +4 -4
- package/permission.d.ts +8 -7
- package/permission.d.ts.map +1 -0
- package/permission.js +41 -18
- package/permission.js.map +1 -1
- package/policy.d.ts +10 -33
- package/policy.d.ts.map +1 -0
- package/policy.js +43 -30
- package/policy.js.map +1 -1
- package/policyDataLoader.d.ts +13 -12
- package/policyDataLoader.d.ts.map +1 -0
- package/policyDataLoader.js +52 -29
- package/policyDataLoader.js.map +1 -1
- package/provider.d.ts +3 -2
- package/provider.d.ts.map +1 -0
- package/provider.js +29 -6
- package/provider.js.map +1 -1
- package/resource.d.ts +19 -18
- package/resource.d.ts.map +1 -0
- package/resource.js +52 -29
- package/resource.js.map +1 -1
- package/resourceClassifierConfiguration.d.ts +9 -8
- package/resourceClassifierConfiguration.d.ts.map +1 -0
- package/resourceClassifierConfiguration.js +44 -21
- package/resourceClassifierConfiguration.js.map +1 -1
- package/resourceDialConfiguration.d.ts +76 -0
- package/resourceDialConfiguration.d.ts.map +1 -0
- package/resourceDialConfiguration.js +85 -0
- package/resourceDialConfiguration.js.map +1 -0
- package/resourceHealthCheck.d.ts +5 -4
- package/resourceHealthCheck.d.ts.map +1 -0
- package/resourceHealthCheck.js +36 -13
- package/resourceHealthCheck.js.map +1 -1
- package/resourceHostname.d.ts +7 -6
- package/resourceHostname.d.ts.map +1 -0
- package/resourceHostname.js +38 -15
- package/resourceHostname.js.map +1 -1
- package/resourceTlsConfiguration.d.ts +7 -6
- package/resourceTlsConfiguration.d.ts.map +1 -0
- package/resourceTlsConfiguration.js +38 -15
- package/resourceTlsConfiguration.js.map +1 -1
- package/satellite.d.ts +10 -9
- package/satellite.d.ts.map +1 -0
- package/satellite.js +39 -16
- package/satellite.js.map +1 -1
- package/satelliteHostname.d.ts +7 -6
- package/satelliteHostname.d.ts.map +1 -0
- package/satelliteHostname.js +38 -15
- package/satelliteHostname.js.map +1 -1
- package/satelliteLink.d.ts +5 -4
- package/satelliteLink.d.ts.map +1 -0
- package/satelliteLink.js +36 -13
- package/satelliteLink.js.map +1 -1
- package/sidecar.d.ts +12 -11
- package/sidecar.d.ts.map +1 -0
- package/sidecar.js +43 -20
- package/sidecar.js.map +1 -1
- package/sidecarResourceLink.d.ts +6 -5
- package/sidecarResourceLink.d.ts.map +1 -0
- package/sidecarResourceLink.js +39 -16
- package/sidecarResourceLink.js.map +1 -1
- package/space.d.ts +8 -7
- package/space.d.ts.map +1 -0
- package/space.js +35 -12
- package/space.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +168 -39
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +146 -17
- package/types/output.d.ts.map +1 -0
- package/user.d.ts +18 -17
- package/user.d.ts.map +1 -0
- package/user.js +47 -24
- package/user.js.map +1 -1
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +41 -29
- package/utilities.js.map +1 -1
- package/workflow.d.ts +6 -5
- package/workflow.d.ts.map +1 -0
- package/workflow.js +35 -12
- package/workflow.js.map +1 -1
- package/dataDomain.d.ts +0 -117
- package/dataDomain.js +0 -73
- package/dataDomain.js.map +0 -1
- package/integrationDataCatalog.d.ts +0 -89
- package/integrationDataCatalog.js +0 -64
- package/integrationDataCatalog.js.map +0 -1
package/types/output.d.ts
CHANGED
|
@@ -1,7 +1,141 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export interface ConnectorAiProviderAnthropic {
|
|
3
|
+
/**
|
|
4
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
5
|
+
* The API key. This value is not stored in Terraform state.
|
|
6
|
+
*/
|
|
7
|
+
apiKey: string;
|
|
8
|
+
/**
|
|
9
|
+
* Version trigger for `apiKey`. Increment this value to update the key.
|
|
10
|
+
*/
|
|
11
|
+
apiKeyVersion: number;
|
|
12
|
+
}
|
|
13
|
+
export interface ConnectorAiProviderAwsBedrock {
|
|
14
|
+
/**
|
|
15
|
+
* The AWS region.
|
|
16
|
+
*/
|
|
17
|
+
region: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ConnectorAiProviderAzureAi {
|
|
20
|
+
/**
|
|
21
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
22
|
+
* The API key. This value is not stored in Terraform state.
|
|
23
|
+
*/
|
|
24
|
+
apiKey: string;
|
|
25
|
+
/**
|
|
26
|
+
* Version trigger for `apiKey`. Increment this value to update the key.
|
|
27
|
+
*/
|
|
28
|
+
apiKeyVersion: number;
|
|
29
|
+
/**
|
|
30
|
+
* The Azure AI Foundry endpoint URL.
|
|
31
|
+
*/
|
|
32
|
+
endpoint: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ConnectorAiProviderFormalAiSatellite {
|
|
35
|
+
}
|
|
36
|
+
export interface ConnectorAiProviderGemini {
|
|
37
|
+
/**
|
|
38
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
39
|
+
* The API key. This value is not stored in Terraform state.
|
|
40
|
+
*/
|
|
41
|
+
apiKey: string;
|
|
42
|
+
/**
|
|
43
|
+
* Version trigger for `apiKey`. Increment this value to update the key.
|
|
44
|
+
*/
|
|
45
|
+
apiKeyVersion: number;
|
|
46
|
+
}
|
|
47
|
+
export interface ConnectorAiProviderGoogleVertexAi {
|
|
48
|
+
/**
|
|
49
|
+
* The GCP project ID.
|
|
50
|
+
*/
|
|
51
|
+
gcpProjectId: string;
|
|
52
|
+
/**
|
|
53
|
+
* The GCP region.
|
|
54
|
+
*/
|
|
55
|
+
region: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ConnectorAiProviderOpenai {
|
|
58
|
+
/**
|
|
59
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
60
|
+
* The API key. This value is not stored in Terraform state.
|
|
61
|
+
*/
|
|
62
|
+
apiKey: string;
|
|
63
|
+
/**
|
|
64
|
+
* Version trigger for `apiKey`. Increment this value to update the key.
|
|
65
|
+
*/
|
|
66
|
+
apiKeyVersion: number;
|
|
67
|
+
}
|
|
68
|
+
export interface FormField {
|
|
69
|
+
/**
|
|
70
|
+
* Optional field configuration for select-like field types.
|
|
71
|
+
*/
|
|
72
|
+
config?: outputs.FormFieldConfig;
|
|
73
|
+
/**
|
|
74
|
+
* Unique field identifier.
|
|
75
|
+
*/
|
|
76
|
+
id: string;
|
|
77
|
+
/**
|
|
78
|
+
* Display name of the field.
|
|
79
|
+
*/
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* Field type.
|
|
83
|
+
*/
|
|
84
|
+
type: string;
|
|
85
|
+
}
|
|
86
|
+
export interface FormFieldConfig {
|
|
87
|
+
/**
|
|
88
|
+
* Static options for select-like fields.
|
|
89
|
+
*/
|
|
90
|
+
options?: outputs.FormFieldConfigOption[];
|
|
91
|
+
/**
|
|
92
|
+
* Dynamic source used to fetch options.
|
|
93
|
+
*/
|
|
94
|
+
optionsSource?: outputs.FormFieldConfigOptionsSource;
|
|
95
|
+
}
|
|
96
|
+
export interface FormFieldConfigOption {
|
|
97
|
+
/**
|
|
98
|
+
* Option label.
|
|
99
|
+
*/
|
|
100
|
+
label: string;
|
|
101
|
+
/**
|
|
102
|
+
* Option value.
|
|
103
|
+
*/
|
|
104
|
+
value: string;
|
|
105
|
+
}
|
|
106
|
+
export interface FormFieldConfigOptionsSource {
|
|
107
|
+
/**
|
|
108
|
+
* Service/app name used to fetch options.
|
|
109
|
+
*/
|
|
110
|
+
app: string;
|
|
111
|
+
/**
|
|
112
|
+
* Command configuration for options retrieval.
|
|
113
|
+
*/
|
|
114
|
+
command: outputs.FormFieldConfigOptionsSourceCommand;
|
|
115
|
+
/**
|
|
116
|
+
* Optional payload for options retrieval.
|
|
117
|
+
*/
|
|
118
|
+
input?: {
|
|
119
|
+
[key: string]: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Optional payload for options retrieval as a JSON object string. Use this when the payload contains non-string JSON values such as numbers, booleans, arrays, or nested objects. Mutually exclusive with input.
|
|
123
|
+
*/
|
|
124
|
+
inputJson?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Machine user used to authenticate options retrieval.
|
|
127
|
+
*/
|
|
128
|
+
machineUserId: string;
|
|
129
|
+
/**
|
|
130
|
+
* CEL expression that transforms the response into options.
|
|
131
|
+
*/
|
|
132
|
+
transform: string;
|
|
133
|
+
}
|
|
134
|
+
export interface FormFieldConfigOptionsSourceCommand {
|
|
135
|
+
/**
|
|
136
|
+
* Command name.
|
|
137
|
+
*/
|
|
138
|
+
name: string;
|
|
5
139
|
}
|
|
6
140
|
export interface IntegrationBiMetabase {
|
|
7
141
|
/**
|
|
@@ -22,6 +156,10 @@ export interface IntegrationCloudAws {
|
|
|
22
156
|
* Allows the Cloud Integration to access S3 buckets for Log Integrations.
|
|
23
157
|
*/
|
|
24
158
|
allowS3Access?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* The regions to enable resource autodiscovery for.
|
|
161
|
+
*/
|
|
162
|
+
autodiscoveryRegions: string[];
|
|
25
163
|
/**
|
|
26
164
|
* The ARN of the IAM role that Formal assumes in your AWS account to access your resources.
|
|
27
165
|
*/
|
|
@@ -59,20 +197,6 @@ export interface IntegrationCloudAws {
|
|
|
59
197
|
*/
|
|
60
198
|
templateVersion: string;
|
|
61
199
|
}
|
|
62
|
-
export interface IntegrationDataCatalogDatahub {
|
|
63
|
-
/**
|
|
64
|
-
* Api Key for the Datahub instance.
|
|
65
|
-
*/
|
|
66
|
-
apiKey: string;
|
|
67
|
-
/**
|
|
68
|
-
* Generalized metadata service url for the Datahub instance.
|
|
69
|
-
*/
|
|
70
|
-
generalizedMetadataServiceUrl: string;
|
|
71
|
-
/**
|
|
72
|
-
* Webhook secret of the Datahub instance.
|
|
73
|
-
*/
|
|
74
|
-
webhookSecret: string;
|
|
75
|
-
}
|
|
76
200
|
export interface IntegrationLogAwsS3 {
|
|
77
201
|
/**
|
|
78
202
|
* Cloud Integration ID.
|
|
@@ -86,6 +210,10 @@ export interface IntegrationLogAwsS3 {
|
|
|
86
210
|
* AWS S3 Bucket Name.
|
|
87
211
|
*/
|
|
88
212
|
s3BucketName: string;
|
|
213
|
+
/**
|
|
214
|
+
* AWS S3 bucket prefix to write logs under. Defaults to the bucket root.
|
|
215
|
+
*/
|
|
216
|
+
s3BucketPrefix?: string;
|
|
89
217
|
}
|
|
90
218
|
export interface IntegrationLogDatadog {
|
|
91
219
|
/**
|
|
@@ -197,3 +325,4 @@ export interface LogConfigurationStream {
|
|
|
197
325
|
*/
|
|
198
326
|
encrypt: boolean;
|
|
199
327
|
}
|
|
328
|
+
//# sourceMappingURL=output.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,4BAA4B;IACzC;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MA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nC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CACpB"}
|
package/user.d.ts
CHANGED
|
@@ -74,43 +74,43 @@ export interface UserState {
|
|
|
74
74
|
/**
|
|
75
75
|
* If the user is of type `machine`, this is an optional designation for the app that this user will be used for. Supported values are `metabase`, `tableau`, and `popsql`.
|
|
76
76
|
*/
|
|
77
|
-
appType?: pulumi.Input<string>;
|
|
77
|
+
appType?: pulumi.Input<string | undefined>;
|
|
78
78
|
/**
|
|
79
79
|
* The username that the user will use to access the sidecar.
|
|
80
80
|
*/
|
|
81
|
-
dbUsername?: pulumi.Input<string>;
|
|
81
|
+
dbUsername?: pulumi.Input<string | undefined>;
|
|
82
82
|
/**
|
|
83
83
|
* For human users, their email.
|
|
84
84
|
*/
|
|
85
|
-
email?: pulumi.Input<string>;
|
|
85
|
+
email?: pulumi.Input<string | undefined>;
|
|
86
86
|
/**
|
|
87
87
|
* When the Role should be deleted and access revoked. Value should be provided in Unix epoch time, in seconds since midnight UTC of January 1, 1970.
|
|
88
88
|
*/
|
|
89
|
-
expireAt?: pulumi.Input<number>;
|
|
89
|
+
expireAt?: pulumi.Input<number | undefined>;
|
|
90
90
|
/**
|
|
91
91
|
* For human users, their first name.
|
|
92
92
|
*/
|
|
93
|
-
firstName?: pulumi.Input<string>;
|
|
93
|
+
firstName?: pulumi.Input<string | undefined>;
|
|
94
94
|
/**
|
|
95
95
|
* For human users, their last name.
|
|
96
96
|
*/
|
|
97
|
-
lastName?: pulumi.Input<string>;
|
|
97
|
+
lastName?: pulumi.Input<string | undefined>;
|
|
98
98
|
/**
|
|
99
99
|
* If the user is of type `machine`, this is the access token (database password) of this user.
|
|
100
100
|
*/
|
|
101
|
-
machineUserAccessToken?: pulumi.Input<string>;
|
|
101
|
+
machineUserAccessToken?: pulumi.Input<string | undefined>;
|
|
102
102
|
/**
|
|
103
103
|
* For machine users, the name of the user.
|
|
104
104
|
*/
|
|
105
|
-
name?: pulumi.Input<string>;
|
|
105
|
+
name?: pulumi.Input<string | undefined>;
|
|
106
106
|
/**
|
|
107
107
|
* If set to true, this User cannot be deleted.
|
|
108
108
|
*/
|
|
109
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
109
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
110
110
|
/**
|
|
111
111
|
* Either 'human' or 'machine'.
|
|
112
112
|
*/
|
|
113
|
-
type?: pulumi.Input<string>;
|
|
113
|
+
type?: pulumi.Input<string | undefined>;
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* The set of arguments for constructing a User resource.
|
|
@@ -119,33 +119,34 @@ export interface UserArgs {
|
|
|
119
119
|
/**
|
|
120
120
|
* If the user is of type `machine`, this is an optional designation for the app that this user will be used for. Supported values are `metabase`, `tableau`, and `popsql`.
|
|
121
121
|
*/
|
|
122
|
-
appType?: pulumi.Input<string>;
|
|
122
|
+
appType?: pulumi.Input<string | undefined>;
|
|
123
123
|
/**
|
|
124
124
|
* For human users, their email.
|
|
125
125
|
*/
|
|
126
|
-
email?: pulumi.Input<string>;
|
|
126
|
+
email?: pulumi.Input<string | undefined>;
|
|
127
127
|
/**
|
|
128
128
|
* When the Role should be deleted and access revoked. Value should be provided in Unix epoch time, in seconds since midnight UTC of January 1, 1970.
|
|
129
129
|
*/
|
|
130
|
-
expireAt?: pulumi.Input<number>;
|
|
130
|
+
expireAt?: pulumi.Input<number | undefined>;
|
|
131
131
|
/**
|
|
132
132
|
* For human users, their first name.
|
|
133
133
|
*/
|
|
134
|
-
firstName?: pulumi.Input<string>;
|
|
134
|
+
firstName?: pulumi.Input<string | undefined>;
|
|
135
135
|
/**
|
|
136
136
|
* For human users, their last name.
|
|
137
137
|
*/
|
|
138
|
-
lastName?: pulumi.Input<string>;
|
|
138
|
+
lastName?: pulumi.Input<string | undefined>;
|
|
139
139
|
/**
|
|
140
140
|
* For machine users, the name of the user.
|
|
141
141
|
*/
|
|
142
|
-
name?: pulumi.Input<string>;
|
|
142
|
+
name?: pulumi.Input<string | undefined>;
|
|
143
143
|
/**
|
|
144
144
|
* If set to true, this User cannot be deleted.
|
|
145
145
|
*/
|
|
146
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
146
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
147
147
|
/**
|
|
148
148
|
* Either 'human' or 'machine'.
|
|
149
149
|
*/
|
|
150
150
|
type: pulumi.Input<string>;
|
|
151
151
|
}
|
|
152
|
+
//# sourceMappingURL=user.d.ts.map
|
package/user.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,IAAI;IAO1H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,IAAI;IAO/C;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,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IAC1D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/user.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
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
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.User = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* User in Formal.
|
|
10
33
|
*/
|
|
@@ -19,8 +42,10 @@ class User extends pulumi.CustomResource {
|
|
|
19
42
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
43
|
*/
|
|
21
44
|
static get(name, id, state, opts) {
|
|
22
|
-
return new User(name, state,
|
|
45
|
+
return new User(name, state, { ...opts, id: id });
|
|
23
46
|
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
static __pulumiType = 'formal:index/user:User';
|
|
24
49
|
/**
|
|
25
50
|
* Returns true if the given object is an instance of User. This is designed to work even
|
|
26
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -36,30 +61,30 @@ class User extends pulumi.CustomResource {
|
|
|
36
61
|
opts = opts || {};
|
|
37
62
|
if (opts.id) {
|
|
38
63
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["appType"] = state
|
|
40
|
-
resourceInputs["dbUsername"] = state
|
|
41
|
-
resourceInputs["email"] = state
|
|
42
|
-
resourceInputs["expireAt"] = state
|
|
43
|
-
resourceInputs["firstName"] = state
|
|
44
|
-
resourceInputs["lastName"] = state
|
|
45
|
-
resourceInputs["machineUserAccessToken"] = state
|
|
46
|
-
resourceInputs["name"] = state
|
|
47
|
-
resourceInputs["terminationProtection"] = state
|
|
48
|
-
resourceInputs["type"] = state
|
|
64
|
+
resourceInputs["appType"] = state?.appType;
|
|
65
|
+
resourceInputs["dbUsername"] = state?.dbUsername;
|
|
66
|
+
resourceInputs["email"] = state?.email;
|
|
67
|
+
resourceInputs["expireAt"] = state?.expireAt;
|
|
68
|
+
resourceInputs["firstName"] = state?.firstName;
|
|
69
|
+
resourceInputs["lastName"] = state?.lastName;
|
|
70
|
+
resourceInputs["machineUserAccessToken"] = state?.machineUserAccessToken;
|
|
71
|
+
resourceInputs["name"] = state?.name;
|
|
72
|
+
resourceInputs["terminationProtection"] = state?.terminationProtection;
|
|
73
|
+
resourceInputs["type"] = state?.type;
|
|
49
74
|
}
|
|
50
75
|
else {
|
|
51
76
|
const args = argsOrState;
|
|
52
|
-
if (
|
|
77
|
+
if (args?.type === undefined && !opts.urn) {
|
|
53
78
|
throw new Error("Missing required property 'type'");
|
|
54
79
|
}
|
|
55
|
-
resourceInputs["appType"] = args
|
|
56
|
-
resourceInputs["email"] = args
|
|
57
|
-
resourceInputs["expireAt"] = args
|
|
58
|
-
resourceInputs["firstName"] = args
|
|
59
|
-
resourceInputs["lastName"] = args
|
|
60
|
-
resourceInputs["name"] = args
|
|
61
|
-
resourceInputs["terminationProtection"] = args
|
|
62
|
-
resourceInputs["type"] = args
|
|
80
|
+
resourceInputs["appType"] = args?.appType;
|
|
81
|
+
resourceInputs["email"] = args?.email;
|
|
82
|
+
resourceInputs["expireAt"] = args?.expireAt;
|
|
83
|
+
resourceInputs["firstName"] = args?.firstName;
|
|
84
|
+
resourceInputs["lastName"] = args?.lastName;
|
|
85
|
+
resourceInputs["name"] = args?.name;
|
|
86
|
+
resourceInputs["terminationProtection"] = args?.terminationProtection;
|
|
87
|
+
resourceInputs["type"] = args?.type;
|
|
63
88
|
resourceInputs["dbUsername"] = undefined /*out*/;
|
|
64
89
|
resourceInputs["machineUserAccessToken"] = undefined /*out*/;
|
|
65
90
|
}
|
|
@@ -70,6 +95,4 @@ class User extends pulumi.CustomResource {
|
|
|
70
95
|
}
|
|
71
96
|
}
|
|
72
97
|
exports.User = User;
|
|
73
|
-
/** @internal */
|
|
74
|
-
User.__pulumiType = 'formal:index/user:User';
|
|
75
98
|
//# sourceMappingURL=user.js.map
|
package/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EA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AAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,wBAAwB,CAAC,EAAE,CAAC;QAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAhHL,oBAiHC"}
|
package/utilities.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export declare function getEnv(...vars: string[]): string | undefined;
|
|
|
2
2
|
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
3
3
|
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
4
4
|
export declare function getVersion(): string;
|
|
5
|
+
//# sourceMappingURL=utilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":"AAOA,wBAAgB,MAAM,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAQ5D;AAED,wBAAgB,aAAa,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,GAAG,SAAS,CAapE;AAED,wBAAgB,YAAY,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CASlE;AAED,wBAAgB,UAAU,IAAI,MAAM,CAQnC"}
|
package/utilities.js
CHANGED
|
@@ -1,18 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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;
|
|
12
26
|
};
|
|
13
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
28
|
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
-
const runtime = require("@pulumi/pulumi/runtime");
|
|
29
|
+
const runtime = __importStar(require("@pulumi/pulumi/runtime"));
|
|
16
30
|
function getEnv(...vars) {
|
|
17
31
|
for (const v of vars) {
|
|
18
32
|
const value = process.env[v];
|
|
@@ -77,26 +91,24 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
77
91
|
}
|
|
78
92
|
exports.lazyLoad = lazyLoad;
|
|
79
93
|
/** @internal */
|
|
80
|
-
function callAsync(tok, props, res, opts) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return value;
|
|
99
|
-
});
|
|
94
|
+
async function callAsync(tok, props, res, opts) {
|
|
95
|
+
const o = runtime.call(tok, props, res);
|
|
96
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
97
|
+
const isKnown = await o.isKnown;
|
|
98
|
+
const isSecret = await o.isSecret;
|
|
99
|
+
const problem = !isKnown ? "an unknown value"
|
|
100
|
+
: isSecret ? "a secret value"
|
|
101
|
+
: undefined;
|
|
102
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
103
|
+
if (problem) {
|
|
104
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
105
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
106
|
+
}
|
|
107
|
+
// Extract a single property if requested.
|
|
108
|
+
if (opts && opts.property) {
|
|
109
|
+
return value[opts.property];
|
|
110
|
+
}
|
|
111
|
+
return value;
|
|
100
112
|
}
|
|
101
113
|
exports.callAsync = callAsync;
|
|
102
114
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjF,gEAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CA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,EAAE;YACrC,UAAU,EAAE,IAAI;YAChB,GAAG,EAAE;gBACD,OAAO,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAC;YAClC,CAAC;SACJ,CAAC,CAAC;KACN;AACL,CAAC;AATD,4BASC;AAED,gBAAgB;AACT,KAAK,UAAU,SAAS,CAC3B,GAAW,EACX,KAAoB,EACpB,GAAqB,EACrB,IAA0B;IAE1B,MAAM,CAAC,GAAQ,OAAO,CAAC,IAAI,CAAI,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IAChD,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACrD,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,OAAO,CAAC;IAChC,MAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,QAAQ,CAAC;IAClC,MAAM,OAAO,GACT,CAAC,OAAO,CAAC,CAAC,CAAC,kBAAkB;QAC7B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB;YAC7B,CAAC,CAAC,SAAS,CAAC;IAChB,sGAAsG;IACtG,IAAI,OAAO,EAAE;QACT,MAAM,IAAI,KAAK,CAAC,0BAA0B,GAAG,0BAA0B,OAAO,IAAI;YAC9E,iFAAiF,CAAC,CAAC;KAC1F;IACD,0CAA0C;IAC1C,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE;QACvB,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC/B;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAxBD,8BAwBC"}
|
package/workflow.d.ts
CHANGED
|
@@ -46,15 +46,15 @@ export interface WorkflowState {
|
|
|
46
46
|
/**
|
|
47
47
|
* The workflow definition in YAML format. Defines the trigger and actions for the workflow.
|
|
48
48
|
*/
|
|
49
|
-
code?: pulumi.Input<string>;
|
|
49
|
+
code?: pulumi.Input<string | undefined>;
|
|
50
50
|
/**
|
|
51
51
|
* The name of the workflow. Must be unique within the organization.
|
|
52
52
|
*/
|
|
53
|
-
name?: pulumi.Input<string>;
|
|
53
|
+
name?: pulumi.Input<string | undefined>;
|
|
54
54
|
/**
|
|
55
55
|
* The workflow status. Accepted values are `active` and `draft`.
|
|
56
56
|
*/
|
|
57
|
-
status?: pulumi.Input<string>;
|
|
57
|
+
status?: pulumi.Input<string | undefined>;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* The set of arguments for constructing a Workflow resource.
|
|
@@ -67,9 +67,10 @@ export interface WorkflowArgs {
|
|
|
67
67
|
/**
|
|
68
68
|
* The name of the workflow. Must be unique within the organization.
|
|
69
69
|
*/
|
|
70
|
-
name?: pulumi.Input<string>;
|
|
70
|
+
name?: pulumi.Input<string | undefined>;
|
|
71
71
|
/**
|
|
72
72
|
* The workflow status. Accepted values are `active` and `draft`.
|
|
73
73
|
*/
|
|
74
|
-
status?: pulumi.Input<string>;
|
|
74
|
+
status?: pulumi.Input<string | undefined>;
|
|
75
75
|
}
|
|
76
|
+
//# sourceMappingURL=workflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../workflow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,QAAQ;IAOlI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC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