@pulumi/aws 6.81.0-alpha.1747381163 → 6.81.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 (254) hide show
  1. package/account/getPrimaryContact.d.ts +103 -0
  2. package/account/getPrimaryContact.js +48 -0
  3. package/account/getPrimaryContact.js.map +1 -0
  4. package/account/index.d.ts +3 -0
  5. package/account/index.js +4 -1
  6. package/account/index.js.map +1 -1
  7. package/apigateway/usagePlan.d.ts +15 -6
  8. package/apigateway/usagePlan.js.map +1 -1
  9. package/appmesh/getRoute.d.ts +26 -0
  10. package/appmesh/getRoute.js +26 -0
  11. package/appmesh/getRoute.js.map +1 -1
  12. package/appstream/getImage.d.ts +26 -0
  13. package/appstream/getImage.js +26 -0
  14. package/appstream/getImage.js.map +1 -1
  15. package/autoscaling/group.d.ts +12 -0
  16. package/autoscaling/group.js +2 -0
  17. package/autoscaling/group.js.map +1 -1
  18. package/bedrock/agentAgent.d.ts +11 -3
  19. package/bedrock/agentAgent.js +2 -0
  20. package/bedrock/agentAgent.js.map +1 -1
  21. package/bedrock/agentPrompt.d.ts +231 -0
  22. package/bedrock/agentPrompt.js +130 -0
  23. package/bedrock/agentPrompt.js.map +1 -0
  24. package/bedrock/index.d.ts +3 -0
  25. package/bedrock/index.js +6 -1
  26. package/bedrock/index.js.map +1 -1
  27. package/cloudfront/distribution.d.ts +183 -3
  28. package/cloudfront/distribution.js.map +1 -1
  29. package/cloudfront/index.d.ts +3 -0
  30. package/cloudfront/index.js +6 -1
  31. package/cloudfront/index.js.map +1 -1
  32. package/cloudfront/keyvaluestoreKey.d.ts +0 -2
  33. package/cloudfront/keyvaluestoreKey.js +0 -2
  34. package/cloudfront/keyvaluestoreKey.js.map +1 -1
  35. package/cloudfront/keyvaluestoreKeysExclusive.d.ts +88 -0
  36. package/cloudfront/keyvaluestoreKeysExclusive.js +65 -0
  37. package/cloudfront/keyvaluestoreKeysExclusive.js.map +1 -0
  38. package/cloudfront/vpcOrigin.d.ts +24 -0
  39. package/cloudfront/vpcOrigin.js.map +1 -1
  40. package/cloudwatch/eventBus.d.ts +14 -0
  41. package/cloudwatch/eventBus.js +2 -0
  42. package/cloudwatch/eventBus.js.map +1 -1
  43. package/cloudwatch/eventConnection.d.ts +86 -12
  44. package/cloudwatch/eventConnection.js +64 -0
  45. package/cloudwatch/eventConnection.js.map +1 -1
  46. package/cloudwatch/getContributorManagedInsightRules.d.ts +0 -8
  47. package/cloudwatch/getContributorManagedInsightRules.js.map +1 -1
  48. package/cloudwatch/getEventBus.d.ts +6 -1
  49. package/cloudwatch/getEventBus.js.map +1 -1
  50. package/cloudwatch/getEventConnection.d.ts +5 -4
  51. package/cloudwatch/getEventConnection.js.map +1 -1
  52. package/cloudwatch/metricAlarm.d.ts +4 -3
  53. package/cloudwatch/metricAlarm.js +1 -0
  54. package/cloudwatch/metricAlarm.js.map +1 -1
  55. package/cognito/getUserPool.d.ts +2 -0
  56. package/cognito/getUserPool.js.map +1 -1
  57. package/cognito/getUserPoolClient.d.ts +4 -0
  58. package/cognito/getUserPoolClient.js.map +1 -1
  59. package/cognito/managedUserPoolClient.d.ts +12 -0
  60. package/cognito/managedUserPoolClient.js +2 -0
  61. package/cognito/managedUserPoolClient.js.map +1 -1
  62. package/cognito/userPoolClient.d.ts +30 -0
  63. package/cognito/userPoolClient.js +20 -0
  64. package/cognito/userPoolClient.js.map +1 -1
  65. package/costexplorer/getTags.d.ts +0 -4
  66. package/costexplorer/getTags.js.map +1 -1
  67. package/dataexchange/index.d.ts +3 -0
  68. package/dataexchange/index.js +6 -1
  69. package/dataexchange/index.js.map +1 -1
  70. package/dataexchange/revisionAssets.d.ts +175 -0
  71. package/dataexchange/revisionAssets.js +100 -0
  72. package/dataexchange/revisionAssets.js.map +1 -0
  73. package/docdb/cluster.d.ts +17 -3
  74. package/docdb/cluster.js +4 -0
  75. package/docdb/cluster.js.map +1 -1
  76. package/dynamodb/getTables.d.ts +46 -0
  77. package/dynamodb/getTables.js +48 -0
  78. package/dynamodb/getTables.js.map +1 -0
  79. package/dynamodb/index.d.ts +3 -0
  80. package/dynamodb/index.js +4 -1
  81. package/dynamodb/index.js.map +1 -1
  82. package/ec2/getAmiIds.d.ts +3 -0
  83. package/ec2/getAmiIds.js.map +1 -1
  84. package/ec2/getDedicatedHost.d.ts +6 -0
  85. package/ec2/getDedicatedHost.js.map +1 -1
  86. package/ec2/getElasticIp.d.ts +10 -2
  87. package/ec2/getElasticIp.js.map +1 -1
  88. package/ec2/getKeyPair.d.ts +8 -0
  89. package/ec2/getKeyPair.js.map +1 -1
  90. package/ec2/getLocalGateway.d.ts +6 -4
  91. package/ec2/getLocalGateway.js.map +1 -1
  92. package/ec2/getLocalGatewayRouteTable.d.ts +6 -4
  93. package/ec2/getLocalGatewayRouteTable.js.map +1 -1
  94. package/ec2/getManagedPrefixList.d.ts +8 -0
  95. package/ec2/getManagedPrefixList.js.map +1 -1
  96. package/ec2/getNatGateway.d.ts +6 -4
  97. package/ec2/getNatGateway.js.map +1 -1
  98. package/ec2/getNatGateways.d.ts +0 -6
  99. package/ec2/getNatGateways.js.map +1 -1
  100. package/ec2/getNetworkAcls.d.ts +0 -6
  101. package/ec2/getNetworkAcls.js.map +1 -1
  102. package/ec2/getNetworkInsightsAnalysis.d.ts +8 -0
  103. package/ec2/getNetworkInsightsAnalysis.js.map +1 -1
  104. package/ec2/getNetworkInsightsPath.d.ts +8 -0
  105. package/ec2/getNetworkInsightsPath.js.map +1 -1
  106. package/ec2/getNetworkInterfaces.d.ts +0 -6
  107. package/ec2/getNetworkInterfaces.js.map +1 -1
  108. package/ec2/getPrefixList.d.ts +8 -0
  109. package/ec2/getPrefixList.js.map +1 -1
  110. package/ec2/getRoute.d.ts +4 -4
  111. package/ec2/getRouteTables.d.ts +0 -6
  112. package/ec2/getRouteTables.js.map +1 -1
  113. package/ec2/getSubnets.d.ts +0 -6
  114. package/ec2/getSubnets.js.map +1 -1
  115. package/ec2/getVpcEndpoint.d.ts +4 -4
  116. package/ec2/getVpcIamPools.d.ts +4 -0
  117. package/ec2/getVpcIamPools.js.map +1 -1
  118. package/ec2/getVpcIpamPools.d.ts +4 -0
  119. package/ec2/getVpcIpamPools.js.map +1 -1
  120. package/ec2/getVpcIpams.d.ts +2 -4
  121. package/ec2/getVpcIpams.js.map +1 -1
  122. package/ec2/getVpcPeeringConnection.d.ts +4 -4
  123. package/ec2/getVpcPeeringConnections.d.ts +2 -4
  124. package/ec2/getVpcPeeringConnections.js.map +1 -1
  125. package/ec2/getVpcs.d.ts +0 -6
  126. package/ec2/getVpcs.js.map +1 -1
  127. package/ec2/getVpnGateway.d.ts +4 -4
  128. package/ec2clientvpn/endpoint.d.ts +12 -0
  129. package/ec2clientvpn/endpoint.js +2 -0
  130. package/ec2clientvpn/endpoint.js.map +1 -1
  131. package/ec2clientvpn/getEndpoint.d.ts +4 -0
  132. package/ec2clientvpn/getEndpoint.js.map +1 -1
  133. package/ec2transitgateway/getRouteTablePropagations.d.ts +0 -4
  134. package/ec2transitgateway/getRouteTablePropagations.js.map +1 -1
  135. package/ecs/accountSettingDefault.d.ts +14 -0
  136. package/ecs/accountSettingDefault.js +14 -0
  137. package/ecs/accountSettingDefault.js.map +1 -1
  138. package/fsx/getOntapStorageVirtualMachine.d.ts +4 -0
  139. package/fsx/getOntapStorageVirtualMachine.js.map +1 -1
  140. package/getAvailabilityZone.d.ts +8 -0
  141. package/getAvailabilityZone.js.map +1 -1
  142. package/getRegion.d.ts +0 -6
  143. package/getRegion.js.map +1 -1
  144. package/glue/partition.d.ts +13 -0
  145. package/glue/partition.js +13 -0
  146. package/glue/partition.js.map +1 -1
  147. package/inspector2/filter.d.ts +177 -0
  148. package/inspector2/filter.js +97 -0
  149. package/inspector2/filter.js.map +1 -0
  150. package/inspector2/index.d.ts +3 -0
  151. package/inspector2/index.js +6 -1
  152. package/inspector2/index.js.map +1 -1
  153. package/iot/domainConfiguration.d.ts +24 -0
  154. package/iot/domainConfiguration.js +4 -0
  155. package/iot/domainConfiguration.js.map +1 -1
  156. package/kinesis/getFirehoseDeliveryStream.d.ts +3 -3
  157. package/kinesis/getStream.d.ts +1 -1
  158. package/lambda/eventSourceMapping.d.ts +36 -0
  159. package/lambda/eventSourceMapping.js +36 -0
  160. package/lambda/eventSourceMapping.js.map +1 -1
  161. package/licensemanager/getLicenseGrants.d.ts +0 -6
  162. package/licensemanager/getLicenseGrants.js.map +1 -1
  163. package/licensemanager/getReceivedLicenses.d.ts +0 -6
  164. package/licensemanager/getReceivedLicenses.js.map +1 -1
  165. package/msk/serverlessCluster.d.ts +8 -0
  166. package/msk/serverlessCluster.js +2 -0
  167. package/msk/serverlessCluster.js.map +1 -1
  168. package/neptunegraph/graph.d.ts +31 -28
  169. package/neptunegraph/graph.js +1 -1
  170. package/neptunegraph/graph.js.map +1 -1
  171. package/networkfirewall/getFirewall.d.ts +4 -0
  172. package/networkfirewall/getFirewall.js.map +1 -1
  173. package/networkfirewall/getFirewallPolicy.d.ts +4 -0
  174. package/networkfirewall/getFirewallPolicy.js.map +1 -1
  175. package/package.json +2 -2
  176. package/quicksight/getAnalysis.d.ts +0 -4
  177. package/quicksight/getAnalysis.js.map +1 -1
  178. package/quicksight/getDataSet.d.ts +0 -4
  179. package/quicksight/getDataSet.js.map +1 -1
  180. package/quicksight/getQuicksightAnalysis.d.ts +0 -4
  181. package/quicksight/getQuicksightAnalysis.js.map +1 -1
  182. package/rds/certificate.d.ts +2 -2
  183. package/rds/certificate.js +2 -2
  184. package/redshiftserverless/getWorkgroup.d.ts +4 -0
  185. package/redshiftserverless/getWorkgroup.js.map +1 -1
  186. package/redshiftserverless/workgroup.d.ts +12 -0
  187. package/redshiftserverless/workgroup.js +2 -0
  188. package/redshiftserverless/workgroup.js.map +1 -1
  189. package/route53/getDelegationSet.d.ts +9 -4
  190. package/route53/getDelegationSet.js.map +1 -1
  191. package/route53/getQueryLogConfig.d.ts +18 -8
  192. package/route53/getQueryLogConfig.js.map +1 -1
  193. package/route53/getResolverEndpoint.d.ts +21 -4
  194. package/route53/getResolverEndpoint.js.map +1 -1
  195. package/route53/getResolverFirewallConfig.d.ts +6 -4
  196. package/route53/getResolverFirewallConfig.js.map +1 -1
  197. package/route53/getResolverFirewallDomainList.d.ts +27 -4
  198. package/route53/getResolverFirewallDomainList.js.map +1 -1
  199. package/route53/getResolverFirewallRuleGroup.d.ts +30 -4
  200. package/route53/getResolverFirewallRuleGroup.js.map +1 -1
  201. package/route53/getResolverFirewallRuleGroupAssociation.d.ts +36 -4
  202. package/route53/getResolverFirewallRuleGroupAssociation.js.map +1 -1
  203. package/route53/getZone.d.ts +8 -0
  204. package/route53/getZone.js.map +1 -1
  205. package/rum/appMonitor.d.ts +9 -15
  206. package/rum/appMonitor.js +2 -3
  207. package/rum/appMonitor.js.map +1 -1
  208. package/s3tables/table.d.ts +18 -3
  209. package/s3tables/table.js +2 -0
  210. package/s3tables/table.js.map +1 -1
  211. package/s3tables/tableBucket.d.ts +18 -3
  212. package/s3tables/tableBucket.js +2 -0
  213. package/s3tables/tableBucket.js.map +1 -1
  214. package/securityhub/findingAggregator.d.ts +17 -3
  215. package/securityhub/findingAggregator.js +14 -0
  216. package/securityhub/findingAggregator.js.map +1 -1
  217. package/servicequotas/getServiceQuota.d.ts +4 -0
  218. package/servicequotas/getServiceQuota.js.map +1 -1
  219. package/sns/topic.d.ts +12 -0
  220. package/sns/topic.js +2 -0
  221. package/sns/topic.js.map +1 -1
  222. package/ssm/getParameter.d.ts +18 -4
  223. package/ssm/getParameter.js.map +1 -1
  224. package/transfer/getConnector.d.ts +22 -0
  225. package/transfer/getConnector.js +22 -0
  226. package/transfer/getConnector.js.map +1 -1
  227. package/transfer/tag.d.ts +2 -2
  228. package/transfer/tag.js +2 -2
  229. package/types/input.d.ts +1550 -46
  230. package/types/input.js.map +1 -1
  231. package/types/output.d.ts +1608 -38
  232. package/types/output.js.map +1 -1
  233. package/vpc/getSecurityGroupRule.d.ts +8 -0
  234. package/vpc/getSecurityGroupRule.js.map +1 -1
  235. package/vpc/getSecurityGroupRules.d.ts +0 -6
  236. package/vpc/getSecurityGroupRules.js.map +1 -1
  237. package/waf/getSubscribedRuleGroup.d.ts +4 -0
  238. package/waf/getSubscribedRuleGroup.js.map +1 -1
  239. package/wafregional/getSubscribedRuleGroup.d.ts +4 -0
  240. package/wafregional/getSubscribedRuleGroup.js.map +1 -1
  241. package/wafv2/apiKey.d.ts +91 -0
  242. package/wafv2/apiKey.js +84 -0
  243. package/wafv2/apiKey.js.map +1 -0
  244. package/wafv2/index.d.ts +3 -0
  245. package/wafv2/index.js +6 -1
  246. package/wafv2/index.js.map +1 -1
  247. package/wafv2/webAcl.d.ts +12 -0
  248. package/wafv2/webAcl.js +2 -0
  249. package/wafv2/webAcl.js.map +1 -1
  250. package/workspaces/directory.d.ts +113 -5
  251. package/workspaces/directory.js +52 -3
  252. package/workspaces/directory.js.map +1 -1
  253. package/workspaces/getDirectory.d.ts +23 -3
  254. package/workspaces/getDirectory.js.map +1 -1
@@ -115,6 +115,48 @@ import * as outputs from "../types/output";
115
115
  * });
116
116
  * ```
117
117
  *
118
+ * ### WorkSpaces Pools
119
+ *
120
+ * ```typescript
121
+ * import * as pulumi from "@pulumi/pulumi";
122
+ * import * as aws from "@pulumi/aws";
123
+ *
124
+ * const example = new aws.workspaces.Directory("example", {
125
+ * subnetIds: [
126
+ * exampleC.id,
127
+ * exampleD.id,
128
+ * ],
129
+ * workspaceType: "POOLS",
130
+ * workspaceDirectoryName: "Pool directory",
131
+ * workspaceDirectoryDescription: "WorkSpaces Pools directory",
132
+ * userIdentityType: "CUSTOMER_MANAGED",
133
+ * activeDirectoryConfig: {
134
+ * domainName: "example.internal",
135
+ * serviceAccountSecretArn: exampleAwsSecretsmanagerSecret.arn,
136
+ * },
137
+ * workspaceAccessProperties: {
138
+ * deviceTypeAndroid: "ALLOW",
139
+ * deviceTypeChromeos: "ALLOW",
140
+ * deviceTypeIos: "ALLOW",
141
+ * deviceTypeLinux: "DENY",
142
+ * deviceTypeOsx: "ALLOW",
143
+ * deviceTypeWeb: "DENY",
144
+ * deviceTypeWindows: "DENY",
145
+ * deviceTypeZeroclient: "DENY",
146
+ * },
147
+ * workspaceCreationProperties: {
148
+ * customSecurityGroupId: exampleAwsSecurityGroup.id,
149
+ * defaultOu: "OU=AWS,DC=Workgroup,DC=Example,DC=com",
150
+ * enableInternetAccess: true,
151
+ * },
152
+ * samlProperties: {
153
+ * relayStateParameterName: "RelayState",
154
+ * userAccessUrl: "https://sso.example.com/",
155
+ * status: "ENABLED",
156
+ * },
157
+ * });
158
+ * ```
159
+ *
118
160
  * ### IP Groups
119
161
  *
120
162
  * ```typescript
@@ -152,6 +194,10 @@ export declare class Directory extends pulumi.CustomResource {
152
194
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
153
195
  */
154
196
  static isInstance(obj: any): obj is Directory;
197
+ /**
198
+ * Configuration for Active Directory integration when `workspaceType` is set to `POOLS`. Defined below.
199
+ */
200
+ readonly activeDirectoryConfig: pulumi.Output<outputs.workspaces.DirectoryActiveDirectoryConfig | undefined>;
155
201
  /**
156
202
  * The directory alias.
157
203
  */
@@ -197,7 +243,7 @@ export declare class Directory extends pulumi.CustomResource {
197
243
  */
198
244
  readonly samlProperties: pulumi.Output<outputs.workspaces.DirectorySamlProperties>;
199
245
  /**
200
- * Permissions to enable or disable self-service capabilities. Defined below.
246
+ * Permissions to enable or disable self-service capabilities when `workspaceType` is set to `PERSONAL`.. Defined below.
201
247
  */
202
248
  readonly selfServicePermissions: pulumi.Output<outputs.workspaces.DirectorySelfServicePermissions>;
203
249
  /**
@@ -218,6 +264,12 @@ export declare class Directory extends pulumi.CustomResource {
218
264
  readonly tagsAll: pulumi.Output<{
219
265
  [key: string]: string;
220
266
  }>;
267
+ /**
268
+ * Specifies the user identity type for the WorkSpaces directory. Valid values are `CUSTOMER_MANAGED`, `AWS_DIRECTORY_SERVICE`, `AWS_IAM_IDENTITY_CENTER`.
269
+ *
270
+ * > **Note:** When `workspaceType` is set to `POOLS`, the `directoryId` is automatically generated and cannot be manually set.
271
+ */
272
+ readonly userIdentityType: pulumi.Output<string>;
221
273
  /**
222
274
  * Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below.
223
275
  */
@@ -226,10 +278,22 @@ export declare class Directory extends pulumi.CustomResource {
226
278
  * Default properties that are used for creating WorkSpaces. Defined below.
227
279
  */
228
280
  readonly workspaceCreationProperties: pulumi.Output<outputs.workspaces.DirectoryWorkspaceCreationProperties>;
281
+ /**
282
+ * The description of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
283
+ */
284
+ readonly workspaceDirectoryDescription: pulumi.Output<string | undefined>;
285
+ /**
286
+ * The name of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
287
+ */
288
+ readonly workspaceDirectoryName: pulumi.Output<string | undefined>;
229
289
  /**
230
290
  * The identifier of the security group that is assigned to new WorkSpaces.
231
291
  */
232
292
  readonly workspaceSecurityGroupId: pulumi.Output<string>;
293
+ /**
294
+ * Specifies the type of WorkSpaces directory. Valid values are `PERSONAL` and `POOLS`. Default is `PERSONAL`.
295
+ */
296
+ readonly workspaceType: pulumi.Output<string | undefined>;
233
297
  /**
234
298
  * Create a Directory resource with the given unique name, arguments, and options.
235
299
  *
@@ -237,12 +301,16 @@ export declare class Directory extends pulumi.CustomResource {
237
301
  * @param args The arguments to use to populate this resource's properties.
238
302
  * @param opts A bag of options that control this resource's behavior.
239
303
  */
240
- constructor(name: string, args: DirectoryArgs, opts?: pulumi.CustomResourceOptions);
304
+ constructor(name: string, args?: DirectoryArgs, opts?: pulumi.CustomResourceOptions);
241
305
  }
242
306
  /**
243
307
  * Input properties used for looking up and filtering Directory resources.
244
308
  */
245
309
  export interface DirectoryState {
310
+ /**
311
+ * Configuration for Active Directory integration when `workspaceType` is set to `POOLS`. Defined below.
312
+ */
313
+ activeDirectoryConfig?: pulumi.Input<inputs.workspaces.DirectoryActiveDirectoryConfig>;
246
314
  /**
247
315
  * The directory alias.
248
316
  */
@@ -288,7 +356,7 @@ export interface DirectoryState {
288
356
  */
289
357
  samlProperties?: pulumi.Input<inputs.workspaces.DirectorySamlProperties>;
290
358
  /**
291
- * Permissions to enable or disable self-service capabilities. Defined below.
359
+ * Permissions to enable or disable self-service capabilities when `workspaceType` is set to `PERSONAL`.. Defined below.
292
360
  */
293
361
  selfServicePermissions?: pulumi.Input<inputs.workspaces.DirectorySelfServicePermissions>;
294
362
  /**
@@ -309,6 +377,12 @@ export interface DirectoryState {
309
377
  tagsAll?: pulumi.Input<{
310
378
  [key: string]: pulumi.Input<string>;
311
379
  }>;
380
+ /**
381
+ * Specifies the user identity type for the WorkSpaces directory. Valid values are `CUSTOMER_MANAGED`, `AWS_DIRECTORY_SERVICE`, `AWS_IAM_IDENTITY_CENTER`.
382
+ *
383
+ * > **Note:** When `workspaceType` is set to `POOLS`, the `directoryId` is automatically generated and cannot be manually set.
384
+ */
385
+ userIdentityType?: pulumi.Input<string>;
312
386
  /**
313
387
  * Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below.
314
388
  */
@@ -317,15 +391,31 @@ export interface DirectoryState {
317
391
  * Default properties that are used for creating WorkSpaces. Defined below.
318
392
  */
319
393
  workspaceCreationProperties?: pulumi.Input<inputs.workspaces.DirectoryWorkspaceCreationProperties>;
394
+ /**
395
+ * The description of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
396
+ */
397
+ workspaceDirectoryDescription?: pulumi.Input<string>;
398
+ /**
399
+ * The name of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
400
+ */
401
+ workspaceDirectoryName?: pulumi.Input<string>;
320
402
  /**
321
403
  * The identifier of the security group that is assigned to new WorkSpaces.
322
404
  */
323
405
  workspaceSecurityGroupId?: pulumi.Input<string>;
406
+ /**
407
+ * Specifies the type of WorkSpaces directory. Valid values are `PERSONAL` and `POOLS`. Default is `PERSONAL`.
408
+ */
409
+ workspaceType?: pulumi.Input<string>;
324
410
  }
325
411
  /**
326
412
  * The set of arguments for constructing a Directory resource.
327
413
  */
328
414
  export interface DirectoryArgs {
415
+ /**
416
+ * Configuration for Active Directory integration when `workspaceType` is set to `POOLS`. Defined below.
417
+ */
418
+ activeDirectoryConfig?: pulumi.Input<inputs.workspaces.DirectoryActiveDirectoryConfig>;
329
419
  /**
330
420
  * Configuration of certificate-based authentication (CBA) integration. Requires SAML authentication to be enabled. Defined below.
331
421
  */
@@ -333,7 +423,7 @@ export interface DirectoryArgs {
333
423
  /**
334
424
  * The directory identifier for registration in WorkSpaces service.
335
425
  */
336
- directoryId: pulumi.Input<string>;
426
+ directoryId?: pulumi.Input<string>;
337
427
  /**
338
428
  * The identifiers of the IP access control groups associated with the directory.
339
429
  */
@@ -343,7 +433,7 @@ export interface DirectoryArgs {
343
433
  */
344
434
  samlProperties?: pulumi.Input<inputs.workspaces.DirectorySamlProperties>;
345
435
  /**
346
- * Permissions to enable or disable self-service capabilities. Defined below.
436
+ * Permissions to enable or disable self-service capabilities when `workspaceType` is set to `PERSONAL`.. Defined below.
347
437
  */
348
438
  selfServicePermissions?: pulumi.Input<inputs.workspaces.DirectorySelfServicePermissions>;
349
439
  /**
@@ -356,6 +446,12 @@ export interface DirectoryArgs {
356
446
  tags?: pulumi.Input<{
357
447
  [key: string]: pulumi.Input<string>;
358
448
  }>;
449
+ /**
450
+ * Specifies the user identity type for the WorkSpaces directory. Valid values are `CUSTOMER_MANAGED`, `AWS_DIRECTORY_SERVICE`, `AWS_IAM_IDENTITY_CENTER`.
451
+ *
452
+ * > **Note:** When `workspaceType` is set to `POOLS`, the `directoryId` is automatically generated and cannot be manually set.
453
+ */
454
+ userIdentityType?: pulumi.Input<string>;
359
455
  /**
360
456
  * Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below.
361
457
  */
@@ -364,4 +460,16 @@ export interface DirectoryArgs {
364
460
  * Default properties that are used for creating WorkSpaces. Defined below.
365
461
  */
366
462
  workspaceCreationProperties?: pulumi.Input<inputs.workspaces.DirectoryWorkspaceCreationProperties>;
463
+ /**
464
+ * The description of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
465
+ */
466
+ workspaceDirectoryDescription?: pulumi.Input<string>;
467
+ /**
468
+ * The name of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
469
+ */
470
+ workspaceDirectoryName?: pulumi.Input<string>;
471
+ /**
472
+ * Specifies the type of WorkSpaces directory. Valid values are `PERSONAL` and `POOLS`. Default is `PERSONAL`.
473
+ */
474
+ workspaceType?: pulumi.Input<string>;
367
475
  }
@@ -119,6 +119,48 @@ const utilities = require("../utilities");
119
119
  * });
120
120
  * ```
121
121
  *
122
+ * ### WorkSpaces Pools
123
+ *
124
+ * ```typescript
125
+ * import * as pulumi from "@pulumi/pulumi";
126
+ * import * as aws from "@pulumi/aws";
127
+ *
128
+ * const example = new aws.workspaces.Directory("example", {
129
+ * subnetIds: [
130
+ * exampleC.id,
131
+ * exampleD.id,
132
+ * ],
133
+ * workspaceType: "POOLS",
134
+ * workspaceDirectoryName: "Pool directory",
135
+ * workspaceDirectoryDescription: "WorkSpaces Pools directory",
136
+ * userIdentityType: "CUSTOMER_MANAGED",
137
+ * activeDirectoryConfig: {
138
+ * domainName: "example.internal",
139
+ * serviceAccountSecretArn: exampleAwsSecretsmanagerSecret.arn,
140
+ * },
141
+ * workspaceAccessProperties: {
142
+ * deviceTypeAndroid: "ALLOW",
143
+ * deviceTypeChromeos: "ALLOW",
144
+ * deviceTypeIos: "ALLOW",
145
+ * deviceTypeLinux: "DENY",
146
+ * deviceTypeOsx: "ALLOW",
147
+ * deviceTypeWeb: "DENY",
148
+ * deviceTypeWindows: "DENY",
149
+ * deviceTypeZeroclient: "DENY",
150
+ * },
151
+ * workspaceCreationProperties: {
152
+ * customSecurityGroupId: exampleAwsSecurityGroup.id,
153
+ * defaultOu: "OU=AWS,DC=Workgroup,DC=Example,DC=com",
154
+ * enableInternetAccess: true,
155
+ * },
156
+ * samlProperties: {
157
+ * relayStateParameterName: "RelayState",
158
+ * userAccessUrl: "https://sso.example.com/",
159
+ * status: "ENABLED",
160
+ * },
161
+ * });
162
+ * ```
163
+ *
122
164
  * ### IP Groups
123
165
  *
124
166
  * ```typescript
@@ -168,6 +210,7 @@ class Directory extends pulumi.CustomResource {
168
210
  opts = opts || {};
169
211
  if (opts.id) {
170
212
  const state = argsOrState;
213
+ resourceInputs["activeDirectoryConfig"] = state ? state.activeDirectoryConfig : undefined;
171
214
  resourceInputs["alias"] = state ? state.alias : undefined;
172
215
  resourceInputs["certificateBasedAuthProperties"] = state ? state.certificateBasedAuthProperties : undefined;
173
216
  resourceInputs["customerUserName"] = state ? state.customerUserName : undefined;
@@ -183,15 +226,17 @@ class Directory extends pulumi.CustomResource {
183
226
  resourceInputs["subnetIds"] = state ? state.subnetIds : undefined;
184
227
  resourceInputs["tags"] = state ? state.tags : undefined;
185
228
  resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
229
+ resourceInputs["userIdentityType"] = state ? state.userIdentityType : undefined;
186
230
  resourceInputs["workspaceAccessProperties"] = state ? state.workspaceAccessProperties : undefined;
187
231
  resourceInputs["workspaceCreationProperties"] = state ? state.workspaceCreationProperties : undefined;
232
+ resourceInputs["workspaceDirectoryDescription"] = state ? state.workspaceDirectoryDescription : undefined;
233
+ resourceInputs["workspaceDirectoryName"] = state ? state.workspaceDirectoryName : undefined;
188
234
  resourceInputs["workspaceSecurityGroupId"] = state ? state.workspaceSecurityGroupId : undefined;
235
+ resourceInputs["workspaceType"] = state ? state.workspaceType : undefined;
189
236
  }
190
237
  else {
191
238
  const args = argsOrState;
192
- if ((!args || args.directoryId === undefined) && !opts.urn) {
193
- throw new Error("Missing required property 'directoryId'");
194
- }
239
+ resourceInputs["activeDirectoryConfig"] = args ? args.activeDirectoryConfig : undefined;
195
240
  resourceInputs["certificateBasedAuthProperties"] = args ? args.certificateBasedAuthProperties : undefined;
196
241
  resourceInputs["directoryId"] = args ? args.directoryId : undefined;
197
242
  resourceInputs["ipGroupIds"] = args ? args.ipGroupIds : undefined;
@@ -199,8 +244,12 @@ class Directory extends pulumi.CustomResource {
199
244
  resourceInputs["selfServicePermissions"] = args ? args.selfServicePermissions : undefined;
200
245
  resourceInputs["subnetIds"] = args ? args.subnetIds : undefined;
201
246
  resourceInputs["tags"] = args ? args.tags : undefined;
247
+ resourceInputs["userIdentityType"] = args ? args.userIdentityType : undefined;
202
248
  resourceInputs["workspaceAccessProperties"] = args ? args.workspaceAccessProperties : undefined;
203
249
  resourceInputs["workspaceCreationProperties"] = args ? args.workspaceCreationProperties : undefined;
250
+ resourceInputs["workspaceDirectoryDescription"] = args ? args.workspaceDirectoryDescription : undefined;
251
+ resourceInputs["workspaceDirectoryName"] = args ? args.workspaceDirectoryName : undefined;
252
+ resourceInputs["workspaceType"] = args ? args.workspaceType : undefined;
204
253
  resourceInputs["alias"] = undefined /*out*/;
205
254
  resourceInputs["customerUserName"] = undefined /*out*/;
206
255
  resourceInputs["directoryName"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"directory.js","sourceRoot":"","sources":["../../workspaces/directory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsIG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KA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AAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA7LL,8BA8LC;AAhLG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
@@ -34,6 +34,10 @@ export interface GetDirectoryArgs {
34
34
  * A collection of values returned by getDirectory.
35
35
  */
36
36
  export interface GetDirectoryResult {
37
+ /**
38
+ * Configuration for Active Directory integration when `workspaceType` is set to `POOLS`.
39
+ */
40
+ readonly activeDirectoryConfigs: outputs.workspaces.GetDirectoryActiveDirectoryConfig[];
37
41
  /**
38
42
  * Directory alias.
39
43
  */
@@ -88,17 +92,33 @@ export interface GetDirectoryResult {
88
92
  [key: string]: string;
89
93
  };
90
94
  /**
91
- * (Optional) Specifies which devices and operating systems users can use to access their WorkSpaces. Defined below.
95
+ * The user identity type for the WorkSpaces directory.
96
+ */
97
+ readonly userIdentityType: string;
98
+ /**
99
+ * Specifies which devices and operating systems users can use to access their WorkSpaces.
92
100
  */
93
101
  readonly workspaceAccessProperties: outputs.workspaces.GetDirectoryWorkspaceAccessProperty[];
94
102
  /**
95
- * The default properties that are used for creating WorkSpaces. Defined below.
103
+ * The default properties that are used for creating WorkSpaces.
96
104
  */
97
105
  readonly workspaceCreationProperties: outputs.workspaces.GetDirectoryWorkspaceCreationProperty[];
98
106
  /**
99
- * The identifier of the security group that is assigned to new WorkSpaces. Defined below.
107
+ * The description of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
108
+ */
109
+ readonly workspaceDirectoryDescription: string;
110
+ /**
111
+ * The name of the WorkSpaces directory when `workspaceType` is set to `POOLS`.
112
+ */
113
+ readonly workspaceDirectoryName: string;
114
+ /**
115
+ * The identifier of the security group that is assigned to new WorkSpaces.
100
116
  */
101
117
  readonly workspaceSecurityGroupId: string;
118
+ /**
119
+ * The type of WorkSpaces directory.
120
+ */
121
+ readonly workspaceType: string;
102
122
  }
103
123
  /**
104
124
  * Retrieve information about an AWS WorkSpaces directory.
@@ -1 +1 @@
1
- {"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../../workspaces/getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAoFD;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND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