@pierskarsenbarg/sdm 1.21.0 → 1.23.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.
Files changed (52) hide show
  1. package/getAccount.d.ts +1 -1
  2. package/getAccount.js.map +1 -1
  3. package/getAccountAttachment.d.ts +1 -1
  4. package/getAccountAttachment.js.map +1 -1
  5. package/getApprovalWorkflow.d.ts +1 -1
  6. package/getApprovalWorkflow.js.map +1 -1
  7. package/getApprovalWorkflowApprover.d.ts +1 -1
  8. package/getApprovalWorkflowApprover.js.map +1 -1
  9. package/getApprovalWorkflowStep.d.ts +1 -1
  10. package/getApprovalWorkflowStep.js.map +1 -1
  11. package/getIdentityAlias.d.ts +1 -1
  12. package/getIdentityAlias.js.map +1 -1
  13. package/getIdentitySet.d.ts +1 -1
  14. package/getIdentitySet.js.map +1 -1
  15. package/getNode.d.ts +1 -1
  16. package/getNode.js.map +1 -1
  17. package/getPeeringGroup.d.ts +1 -1
  18. package/getPeeringGroup.js.map +1 -1
  19. package/getPeeringGroupNode.d.ts +1 -1
  20. package/getPeeringGroupNode.js.map +1 -1
  21. package/getPeeringGroupPeer.d.ts +1 -1
  22. package/getPeeringGroupPeer.js.map +1 -1
  23. package/getPeeringGroupResource.d.ts +1 -1
  24. package/getPeeringGroupResource.js.map +1 -1
  25. package/getPolicy.d.ts +1 -1
  26. package/getPolicy.js.map +1 -1
  27. package/getProxyClusterKey.d.ts +1 -1
  28. package/getProxyClusterKey.js.map +1 -1
  29. package/getRemoteIdentity.d.ts +1 -1
  30. package/getRemoteIdentity.js.map +1 -1
  31. package/getRemoteIdentityGroup.d.ts +1 -1
  32. package/getRemoteIdentityGroup.js.map +1 -1
  33. package/getResource.d.ts +1 -1
  34. package/getResource.js.map +1 -1
  35. package/getRole.d.ts +1 -1
  36. package/getRole.js.map +1 -1
  37. package/getSecretStore.d.ts +1 -1
  38. package/getSecretStore.js.map +1 -1
  39. package/getSshCaPubkey.d.ts +1 -1
  40. package/getSshCaPubkey.js.map +1 -1
  41. package/getWorkflow.d.ts +1 -1
  42. package/getWorkflow.js.map +1 -1
  43. package/getWorkflowApprover.d.ts +1 -1
  44. package/getWorkflowApprover.js.map +1 -1
  45. package/getWorkflowRole.d.ts +1 -1
  46. package/getWorkflowRole.js.map +1 -1
  47. package/package.json +1 -1
  48. package/resource.d.ts +27 -0
  49. package/resource.js +6 -0
  50. package/resource.js.map +1 -1
  51. package/types/input.d.ts +172 -2
  52. package/types/output.d.ts +359 -4
package/types/output.d.ts CHANGED
@@ -515,6 +515,7 @@ export interface GetResourceResource {
515
515
  aws: outputs.GetResourceResourceAw[];
516
516
  awsConsoleStaticKeyPairs: outputs.GetResourceResourceAwsConsoleStaticKeyPair[];
517
517
  awsConsoles: outputs.GetResourceResourceAwsConsole[];
518
+ awsInstanceProfiles: outputs.GetResourceResourceAwsInstanceProfile[];
518
519
  azureCertificates: outputs.GetResourceResourceAzureCertificate[];
519
520
  azureMysqls: outputs.GetResourceResourceAzureMysql[];
520
521
  azurePostgres: outputs.GetResourceResourceAzurePostgre[];
@@ -535,7 +536,9 @@ export interface GetResourceResource {
535
536
  dynamoDbs: outputs.GetResourceResourceDynamoDb[];
536
537
  elasticacheRedis: outputs.GetResourceResourceElasticacheRedi[];
537
538
  elastics: outputs.GetResourceResourceElastic[];
539
+ gcpConsoles: outputs.GetResourceResourceGcpConsole[];
538
540
  gcps: outputs.GetResourceResourceGcp[];
541
+ gcpwifs: outputs.GetResourceResourceGcpwif[];
539
542
  googleGkeUserImpersonations: outputs.GetResourceResourceGoogleGkeUserImpersonation[];
540
543
  googleGkes: outputs.GetResourceResourceGoogleGke[];
541
544
  greenplums: outputs.GetResourceResourceGreenplum[];
@@ -1757,7 +1760,7 @@ export interface GetResourceResourceAwsConsole {
1757
1760
  */
1758
1761
  secretStoreId?: string;
1759
1762
  /**
1760
- * The length of time in seconds AWS console sessions will live before needing to reauthenticate.
1763
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
1761
1764
  */
1762
1765
  sessionExpiry?: number;
1763
1766
  /**
@@ -1829,7 +1832,7 @@ export interface GetResourceResourceAwsConsoleStaticKeyPair {
1829
1832
  */
1830
1833
  secretStoreId?: string;
1831
1834
  /**
1832
- * The length of time in seconds AWS console sessions will live before needing to reauthenticate.
1835
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
1833
1836
  */
1834
1837
  sessionExpiry?: number;
1835
1838
  /**
@@ -1843,6 +1846,62 @@ export interface GetResourceResourceAwsConsoleStaticKeyPair {
1843
1846
  [key: string]: string;
1844
1847
  };
1845
1848
  }
1849
+ export interface GetResourceResourceAwsInstanceProfile {
1850
+ /**
1851
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
1852
+ */
1853
+ bindInterface?: string;
1854
+ /**
1855
+ * A filter applied to the routing logic to pin datasource to nodes.
1856
+ */
1857
+ egressFilter?: string;
1858
+ /**
1859
+ * If true, prefer environment variables to authenticate connection even if EC2 roles are configured.
1860
+ */
1861
+ enableEnvVariables?: boolean;
1862
+ /**
1863
+ * Unique identifier of the Resource.
1864
+ */
1865
+ id?: string;
1866
+ /**
1867
+ * Unique human-readable name of the Resource.
1868
+ */
1869
+ name?: string;
1870
+ /**
1871
+ * The local port used by clients to connect to this resource.
1872
+ */
1873
+ portOverride?: number;
1874
+ /**
1875
+ * ID of the proxy cluster for this resource, if any.
1876
+ */
1877
+ proxyClusterId?: string;
1878
+ /**
1879
+ * The AWS region to connect to.
1880
+ */
1881
+ region?: string;
1882
+ /**
1883
+ * The role to assume after logging in.
1884
+ */
1885
+ roleArn?: string;
1886
+ /**
1887
+ * The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
1888
+ */
1889
+ roleExternalId?: string;
1890
+ /**
1891
+ * ID of the secret store containing credentials for this resource, if any.
1892
+ */
1893
+ secretStoreId?: string;
1894
+ /**
1895
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
1896
+ */
1897
+ subdomain?: string;
1898
+ /**
1899
+ * Tags is a map of key, value pairs.
1900
+ */
1901
+ tags?: {
1902
+ [key: string]: string;
1903
+ };
1904
+ }
1846
1905
  export interface GetResourceResourceAzure {
1847
1906
  /**
1848
1907
  * The application ID to authenticate with.
@@ -3110,6 +3169,132 @@ export interface GetResourceResourceGcp {
3110
3169
  [key: string]: string;
3111
3170
  };
3112
3171
  }
3172
+ export interface GetResourceResourceGcpConsole {
3173
+ /**
3174
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
3175
+ */
3176
+ bindInterface?: string;
3177
+ /**
3178
+ * A filter applied to the routing logic to pin datasource to nodes.
3179
+ */
3180
+ egressFilter?: string;
3181
+ /**
3182
+ * Unique identifier of the Resource.
3183
+ */
3184
+ id?: string;
3185
+ /**
3186
+ * The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
3187
+ */
3188
+ identityAliasHealthcheckUsername?: string;
3189
+ /**
3190
+ * The ID of the identity set to use for identity connections.
3191
+ */
3192
+ identitySetId?: string;
3193
+ /**
3194
+ * Unique human-readable name of the Resource.
3195
+ */
3196
+ name?: string;
3197
+ /**
3198
+ * The local port used by clients to connect to this resource.
3199
+ */
3200
+ portOverride?: number;
3201
+ /**
3202
+ * ID of the proxy cluster for this resource, if any.
3203
+ */
3204
+ proxyClusterId?: string;
3205
+ /**
3206
+ * ID of the secret store containing credentials for this resource, if any.
3207
+ */
3208
+ secretStoreId?: string;
3209
+ /**
3210
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
3211
+ */
3212
+ sessionExpiry?: number;
3213
+ /**
3214
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
3215
+ */
3216
+ subdomain?: string;
3217
+ /**
3218
+ * Tags is a map of key, value pairs.
3219
+ */
3220
+ tags?: {
3221
+ [key: string]: string;
3222
+ };
3223
+ /**
3224
+ * The ID of the Workforce Identity Pool in GCP to use for federated authentication.
3225
+ */
3226
+ workforcePoolId?: string;
3227
+ /**
3228
+ * The ID of the Workforce Identity Provider in GCP to use for federated authentication.
3229
+ * * google_gke:
3230
+ */
3231
+ workforceProviderId?: string;
3232
+ }
3233
+ export interface GetResourceResourceGcpwif {
3234
+ /**
3235
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
3236
+ */
3237
+ bindInterface?: string;
3238
+ /**
3239
+ * A filter applied to the routing logic to pin datasource to nodes.
3240
+ */
3241
+ egressFilter?: string;
3242
+ /**
3243
+ * Unique identifier of the Resource.
3244
+ */
3245
+ id?: string;
3246
+ /**
3247
+ * The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
3248
+ */
3249
+ identityAliasHealthcheckUsername?: string;
3250
+ /**
3251
+ * The ID of the identity set to use for identity connections.
3252
+ */
3253
+ identitySetId?: string;
3254
+ /**
3255
+ * Unique human-readable name of the Resource.
3256
+ */
3257
+ name?: string;
3258
+ /**
3259
+ * The local port used by clients to connect to this resource.
3260
+ */
3261
+ portOverride?: number;
3262
+ /**
3263
+ * ID of the proxy cluster for this resource, if any.
3264
+ */
3265
+ proxyClusterId?: string;
3266
+ /**
3267
+ * Space separated scopes that this login should assume into when authenticating.
3268
+ */
3269
+ scopes?: string;
3270
+ /**
3271
+ * ID of the secret store containing credentials for this resource, if any.
3272
+ */
3273
+ secretStoreId?: string;
3274
+ /**
3275
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
3276
+ */
3277
+ sessionExpiry?: number;
3278
+ /**
3279
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
3280
+ */
3281
+ subdomain?: string;
3282
+ /**
3283
+ * Tags is a map of key, value pairs.
3284
+ */
3285
+ tags?: {
3286
+ [key: string]: string;
3287
+ };
3288
+ /**
3289
+ * The ID of the Workforce Identity Pool in GCP to use for federated authentication.
3290
+ */
3291
+ workforcePoolId?: string;
3292
+ /**
3293
+ * The ID of the Workforce Identity Provider in GCP to use for federated authentication.
3294
+ * * google_gke:
3295
+ */
3296
+ workforceProviderId?: string;
3297
+ }
3113
3298
  export interface GetResourceResourceGoogleGke {
3114
3299
  /**
3115
3300
  * If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
@@ -8255,7 +8440,7 @@ export interface ResourceAwsConsole {
8255
8440
  */
8256
8441
  secretStoreId?: string;
8257
8442
  /**
8258
- * The length of time in seconds AWS console sessions will live before needing to reauthenticate.
8443
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
8259
8444
  */
8260
8445
  sessionExpiry?: number;
8261
8446
  /**
@@ -8323,7 +8508,7 @@ export interface ResourceAwsConsoleStaticKeyPair {
8323
8508
  */
8324
8509
  secretStoreId?: string;
8325
8510
  /**
8326
- * The length of time in seconds AWS console sessions will live before needing to reauthenticate.
8511
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
8327
8512
  */
8328
8513
  sessionExpiry?: number;
8329
8514
  /**
@@ -8337,6 +8522,58 @@ export interface ResourceAwsConsoleStaticKeyPair {
8337
8522
  [key: string]: string;
8338
8523
  };
8339
8524
  }
8525
+ export interface ResourceAwsInstanceProfile {
8526
+ /**
8527
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
8528
+ */
8529
+ bindInterface: string;
8530
+ /**
8531
+ * A filter applied to the routing logic to pin datasource to nodes.
8532
+ */
8533
+ egressFilter?: string;
8534
+ /**
8535
+ * If true, prefer environment variables to authenticate connection even if EC2 roles are configured.
8536
+ */
8537
+ enableEnvVariables?: boolean;
8538
+ /**
8539
+ * Unique human-readable name of the Resource.
8540
+ */
8541
+ name: string;
8542
+ /**
8543
+ * The local port used by clients to connect to this resource.
8544
+ */
8545
+ portOverride: number;
8546
+ /**
8547
+ * ID of the proxy cluster for this resource, if any.
8548
+ */
8549
+ proxyClusterId?: string;
8550
+ /**
8551
+ * The AWS region to connect to.
8552
+ */
8553
+ region: string;
8554
+ /**
8555
+ * The role to assume after logging in.
8556
+ */
8557
+ roleArn?: string;
8558
+ /**
8559
+ * The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
8560
+ */
8561
+ roleExternalId?: string;
8562
+ /**
8563
+ * ID of the secret store containing credentials for this resource, if any.
8564
+ */
8565
+ secretStoreId?: string;
8566
+ /**
8567
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
8568
+ */
8569
+ subdomain: string;
8570
+ /**
8571
+ * Tags is a map of key, value pairs.
8572
+ */
8573
+ tags?: {
8574
+ [key: string]: string;
8575
+ };
8576
+ }
8340
8577
  export interface ResourceAzure {
8341
8578
  /**
8342
8579
  * The application ID to authenticate with.
@@ -9520,6 +9757,124 @@ export interface ResourceGcp {
9520
9757
  [key: string]: string;
9521
9758
  };
9522
9759
  }
9760
+ export interface ResourceGcpConsole {
9761
+ /**
9762
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
9763
+ */
9764
+ bindInterface: string;
9765
+ /**
9766
+ * A filter applied to the routing logic to pin datasource to nodes.
9767
+ */
9768
+ egressFilter?: string;
9769
+ /**
9770
+ * The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
9771
+ */
9772
+ identityAliasHealthcheckUsername?: string;
9773
+ /**
9774
+ * The ID of the identity set to use for identity connections.
9775
+ */
9776
+ identitySetId?: string;
9777
+ /**
9778
+ * Unique human-readable name of the Resource.
9779
+ */
9780
+ name: string;
9781
+ /**
9782
+ * The local port used by clients to connect to this resource.
9783
+ */
9784
+ portOverride: number;
9785
+ /**
9786
+ * ID of the proxy cluster for this resource, if any.
9787
+ */
9788
+ proxyClusterId?: string;
9789
+ /**
9790
+ * ID of the secret store containing credentials for this resource, if any.
9791
+ */
9792
+ secretStoreId?: string;
9793
+ /**
9794
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
9795
+ */
9796
+ sessionExpiry?: number;
9797
+ /**
9798
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
9799
+ */
9800
+ subdomain: string;
9801
+ /**
9802
+ * Tags is a map of key, value pairs.
9803
+ */
9804
+ tags?: {
9805
+ [key: string]: string;
9806
+ };
9807
+ /**
9808
+ * The ID of the Workforce Identity Pool in GCP to use for federated authentication.
9809
+ */
9810
+ workforcePoolId: string;
9811
+ /**
9812
+ * The ID of the Workforce Identity Provider in GCP to use for federated authentication.
9813
+ * * google_gke:
9814
+ */
9815
+ workforceProviderId: string;
9816
+ }
9817
+ export interface ResourceGcpwif {
9818
+ /**
9819
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
9820
+ */
9821
+ bindInterface: string;
9822
+ /**
9823
+ * A filter applied to the routing logic to pin datasource to nodes.
9824
+ */
9825
+ egressFilter?: string;
9826
+ /**
9827
+ * The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
9828
+ */
9829
+ identityAliasHealthcheckUsername?: string;
9830
+ /**
9831
+ * The ID of the identity set to use for identity connections.
9832
+ */
9833
+ identitySetId?: string;
9834
+ /**
9835
+ * Unique human-readable name of the Resource.
9836
+ */
9837
+ name: string;
9838
+ /**
9839
+ * The local port used by clients to connect to this resource.
9840
+ */
9841
+ portOverride: number;
9842
+ /**
9843
+ * ID of the proxy cluster for this resource, if any.
9844
+ */
9845
+ proxyClusterId?: string;
9846
+ /**
9847
+ * Space separated scopes that this login should assume into when authenticating.
9848
+ */
9849
+ scopes: string;
9850
+ /**
9851
+ * ID of the secret store containing credentials for this resource, if any.
9852
+ */
9853
+ secretStoreId?: string;
9854
+ /**
9855
+ * The length of time in seconds console sessions will live before needing to reauthenticate.
9856
+ */
9857
+ sessionExpiry?: number;
9858
+ /**
9859
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
9860
+ */
9861
+ subdomain: string;
9862
+ /**
9863
+ * Tags is a map of key, value pairs.
9864
+ */
9865
+ tags?: {
9866
+ [key: string]: string;
9867
+ };
9868
+ /**
9869
+ * The ID of the Workforce Identity Pool in GCP to use for federated authentication.
9870
+ */
9871
+ workforcePoolId: string;
9872
+ /**
9873
+ * The ID of the Workforce Identity Provider in GCP to use for federated authentication.
9874
+ * * google_gke:
9875
+ */
9876
+ workforceProviderId: string;
9877
+ }
9523
9878
  export interface ResourceGoogleGke {
9524
9879
  /**
9525
9880
  * If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.