@pulumi/aws 5.4.0 → 5.5.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 (249) hide show
  1. package/acm/certificate.d.ts +33 -6
  2. package/acm/certificate.js +17 -0
  3. package/acm/certificate.js.map +1 -1
  4. package/acm/getCertificate.d.ts +8 -0
  5. package/acm/getCertificate.js.map +1 -1
  6. package/appconfig/eventIntegration.d.ts +158 -0
  7. package/appconfig/eventIntegration.js +96 -0
  8. package/appconfig/eventIntegration.js.map +1 -0
  9. package/appconfig/index.d.ts +1 -0
  10. package/appconfig/index.js +5 -0
  11. package/appconfig/index.js.map +1 -1
  12. package/appflow/connectorProfile.d.ts +133 -0
  13. package/appflow/connectorProfile.js +89 -0
  14. package/appflow/connectorProfile.js.map +1 -0
  15. package/appflow/flow.d.ts +279 -0
  16. package/appflow/flow.js +193 -0
  17. package/appflow/flow.js.map +1 -0
  18. package/appflow/index.d.ts +2 -0
  19. package/appflow/index.js +42 -0
  20. package/appflow/index.js.map +1 -0
  21. package/apprunner/service.d.ts +2 -1
  22. package/apprunner/service.js +2 -1
  23. package/apprunner/service.js.map +1 -1
  24. package/athena/dataCatalog.d.ts +210 -0
  25. package/athena/dataCatalog.js +146 -0
  26. package/athena/dataCatalog.js.map +1 -0
  27. package/athena/index.d.ts +1 -0
  28. package/athena/index.js +5 -0
  29. package/athena/index.js.map +1 -1
  30. package/autoscaling/getGroup.d.ts +4 -0
  31. package/autoscaling/getGroup.js.map +1 -1
  32. package/cloudfront/getOriginAccessIdentities.d.ts +71 -0
  33. package/cloudfront/getOriginAccessIdentities.js +51 -0
  34. package/cloudfront/getOriginAccessIdentities.js.map +1 -0
  35. package/cloudfront/index.d.ts +1 -0
  36. package/cloudfront/index.js +1 -0
  37. package/cloudfront/index.js.map +1 -1
  38. package/cloudtrail/trail.d.ts +1 -1
  39. package/cloudtrail/trail.js +1 -1
  40. package/cloudwatch/dashboard.d.ts +1 -1
  41. package/cloudwatch/dashboard.js +1 -1
  42. package/codebuild/reportGroup.d.ts +4 -3
  43. package/codebuild/reportGroup.js +4 -3
  44. package/codebuild/reportGroup.js.map +1 -1
  45. package/codestarconnections/getConnection.d.ts +23 -4
  46. package/codestarconnections/getConnection.js +13 -0
  47. package/codestarconnections/getConnection.js.map +1 -1
  48. package/config/vars.d.ts +1 -0
  49. package/config/vars.js +6 -0
  50. package/config/vars.js.map +1 -1
  51. package/connect/getRoutingProfile.d.ts +117 -0
  52. package/connect/getRoutingProfile.js +54 -0
  53. package/connect/getRoutingProfile.js.map +1 -0
  54. package/connect/getSecurityProfile.d.ts +112 -0
  55. package/connect/getSecurityProfile.js +54 -0
  56. package/connect/getSecurityProfile.js.map +1 -0
  57. package/connect/getUserHierarchyStructure.d.ts +50 -0
  58. package/connect/getUserHierarchyStructure.js +36 -0
  59. package/connect/getUserHierarchyStructure.js.map +1 -0
  60. package/connect/index.d.ts +4 -0
  61. package/connect/index.js +8 -0
  62. package/connect/index.js.map +1 -1
  63. package/connect/userHierarchyGroup.d.ts +193 -0
  64. package/connect/userHierarchyGroup.js +117 -0
  65. package/connect/userHierarchyGroup.js.map +1 -0
  66. package/costexplorer/costCategory.d.ts +175 -0
  67. package/costexplorer/costCategory.js +123 -0
  68. package/costexplorer/costCategory.js.map +1 -0
  69. package/costexplorer/getCostCategory.d.ts +67 -0
  70. package/costexplorer/getCostCategory.js +36 -0
  71. package/costexplorer/getCostCategory.js.map +1 -0
  72. package/costexplorer/getTags.d.ts +89 -0
  73. package/costexplorer/getTags.js +43 -0
  74. package/costexplorer/getTags.js.map +1 -0
  75. package/costexplorer/index.d.ts +3 -0
  76. package/costexplorer/index.js +39 -0
  77. package/costexplorer/index.js.map +1 -0
  78. package/dlm/lifecyclePolicy.d.ts +4 -4
  79. package/dlm/lifecyclePolicy.js +4 -4
  80. package/docdb/eventSubscription.d.ts +195 -0
  81. package/docdb/eventSubscription.js +113 -0
  82. package/docdb/eventSubscription.js.map +1 -0
  83. package/docdb/index.d.ts +1 -0
  84. package/docdb/index.js +5 -0
  85. package/docdb/index.js.map +1 -1
  86. package/ebs/volume.d.ts +3 -3
  87. package/ec2/ami.d.ts +12 -0
  88. package/ec2/ami.js +2 -0
  89. package/ec2/ami.js.map +1 -1
  90. package/ec2/amiCopy.d.ts +12 -0
  91. package/ec2/amiCopy.js +2 -0
  92. package/ec2/amiCopy.js.map +1 -1
  93. package/ec2/amiFromInstance.d.ts +12 -0
  94. package/ec2/amiFromInstance.js +2 -0
  95. package/ec2/amiFromInstance.js.map +1 -1
  96. package/ec2/getAmi.d.ts +4 -0
  97. package/ec2/getAmi.js.map +1 -1
  98. package/ec2/getInstance.d.ts +5 -1
  99. package/ec2/getInstance.js.map +1 -1
  100. package/ec2/getLaunchTemplate.d.ts +2 -0
  101. package/ec2/getLaunchTemplate.js.map +1 -1
  102. package/ec2/instance.d.ts +12 -0
  103. package/ec2/instance.js +2 -0
  104. package/ec2/instance.js.map +1 -1
  105. package/ec2/launchTemplate.d.ts +27 -3
  106. package/ec2/launchTemplate.js +4 -0
  107. package/ec2/launchTemplate.js.map +1 -1
  108. package/ec2/securityGroup.d.ts +0 -84
  109. package/ec2/securityGroup.js +0 -84
  110. package/ec2/securityGroup.js.map +1 -1
  111. package/ec2/spotFleetRequest.d.ts +18 -0
  112. package/ec2/spotFleetRequest.js +2 -0
  113. package/ec2/spotFleetRequest.js.map +1 -1
  114. package/ec2/spotInstanceRequest.d.ts +12 -0
  115. package/ec2/spotInstanceRequest.js +2 -0
  116. package/ec2/spotInstanceRequest.js.map +1 -1
  117. package/ec2/vpcIpam.d.ts +1 -1
  118. package/ec2/vpcIpam.js +1 -1
  119. package/elasticache/cluster.d.ts +17 -8
  120. package/elasticache/cluster.js.map +1 -1
  121. package/elasticache/replicationGroup.d.ts +17 -5
  122. package/elasticache/replicationGroup.js.map +1 -1
  123. package/emr/cluster.d.ts +12 -12
  124. package/emr/cluster.js +2 -2
  125. package/emr/cluster.js.map +1 -1
  126. package/emrcontainers/getVirtualCluster.d.ts +86 -0
  127. package/emrcontainers/getVirtualCluster.js +39 -0
  128. package/emrcontainers/getVirtualCluster.js.map +1 -0
  129. package/emrcontainers/index.d.ts +2 -0
  130. package/emrcontainers/index.js +38 -0
  131. package/emrcontainers/index.js.map +1 -0
  132. package/emrcontainers/virtualCluster.d.ts +134 -0
  133. package/emrcontainers/virtualCluster.js +89 -0
  134. package/emrcontainers/virtualCluster.js.map +1 -0
  135. package/getAmi.d.ts +4 -0
  136. package/getAmi.js.map +1 -1
  137. package/globalaccelerator/accelerator.d.ts +1 -1
  138. package/globalaccelerator/accelerator.js +1 -1
  139. package/grafana/getWorkspace.d.ts +18 -0
  140. package/grafana/getWorkspace.js +1 -0
  141. package/grafana/getWorkspace.js.map +1 -1
  142. package/grafana/workspace.d.ts +39 -3
  143. package/grafana/workspace.js +4 -0
  144. package/grafana/workspace.js.map +1 -1
  145. package/iam/getInstanceProfiles.d.ts +59 -0
  146. package/iam/getInstanceProfiles.js +38 -0
  147. package/iam/getInstanceProfiles.js.map +1 -0
  148. package/iam/index.d.ts +1 -0
  149. package/iam/index.js +1 -0
  150. package/iam/index.js.map +1 -1
  151. package/index.d.ts +5 -1
  152. package/index.js +12 -4
  153. package/index.js.map +1 -1
  154. package/iot/index.d.ts +1 -0
  155. package/iot/index.js +5 -0
  156. package/iot/index.js.map +1 -1
  157. package/iot/topicRule.d.ts +12 -3
  158. package/iot/topicRule.js +6 -0
  159. package/iot/topicRule.js.map +1 -1
  160. package/iot/topicRuleDestination.d.ts +78 -0
  161. package/iot/topicRuleDestination.js +65 -0
  162. package/iot/topicRuleDestination.js.map +1 -0
  163. package/kinesis/firehoseDeliveryStream.d.ts +46 -0
  164. package/kinesis/firehoseDeliveryStream.js +46 -0
  165. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  166. package/kms/key.d.ts +3 -3
  167. package/lambda/permission.d.ts +13 -1
  168. package/lambda/permission.js +2 -0
  169. package/lambda/permission.js.map +1 -1
  170. package/location/getMap.d.ts +84 -0
  171. package/location/getMap.js +37 -0
  172. package/location/getMap.js.map +1 -0
  173. package/location/index.d.ts +2 -0
  174. package/location/index.js +38 -0
  175. package/location/index.js.map +1 -0
  176. package/location/map.d.ts +140 -0
  177. package/location/map.js +94 -0
  178. package/location/map.js.map +1 -0
  179. package/mq/getInstanceTypeOfferings.d.ts +89 -0
  180. package/mq/getInstanceTypeOfferings.js +51 -0
  181. package/mq/getInstanceTypeOfferings.js.map +1 -0
  182. package/mq/index.d.ts +1 -0
  183. package/mq/index.js +1 -0
  184. package/mq/index.js.map +1 -1
  185. package/msk/cluster.d.ts +27 -3
  186. package/msk/cluster.js +6 -0
  187. package/msk/cluster.js.map +1 -1
  188. package/msk/getCluster.d.ts +12 -0
  189. package/msk/getCluster.js.map +1 -1
  190. package/package.json +2 -2
  191. package/package.json.dev +2 -2
  192. package/provider.d.ts +1 -0
  193. package/provider.js +1 -0
  194. package/provider.js.map +1 -1
  195. package/rds/cluster.d.ts +12 -0
  196. package/rds/cluster.js +2 -0
  197. package/rds/cluster.js.map +1 -1
  198. package/route53/hostedZoneDnsSec.d.ts +13 -4
  199. package/route53/hostedZoneDnsSec.js +13 -4
  200. package/route53/hostedZoneDnsSec.js.map +1 -1
  201. package/sagemaker/app.d.ts +2 -2
  202. package/sagemaker/app.js +2 -2
  203. package/sagemaker/appImageConfig.d.ts +2 -2
  204. package/sagemaker/appImageConfig.js +2 -2
  205. package/sagemaker/codeRepository.d.ts +2 -2
  206. package/sagemaker/codeRepository.js +2 -2
  207. package/sagemaker/device.d.ts +2 -2
  208. package/sagemaker/device.js +2 -2
  209. package/sagemaker/deviceFleet.d.ts +2 -2
  210. package/sagemaker/deviceFleet.js +2 -2
  211. package/sagemaker/domain.d.ts +2 -2
  212. package/sagemaker/domain.js +2 -2
  213. package/sagemaker/flowDefinition.d.ts +2 -2
  214. package/sagemaker/flowDefinition.js +2 -2
  215. package/sagemaker/humanTaskUI.d.ts +2 -2
  216. package/sagemaker/humanTaskUI.js +2 -2
  217. package/sagemaker/image.d.ts +2 -2
  218. package/sagemaker/image.js +2 -2
  219. package/sagemaker/imageVersion.d.ts +2 -2
  220. package/sagemaker/imageVersion.js +2 -2
  221. package/sagemaker/modelPackageGroup.d.ts +2 -2
  222. package/sagemaker/modelPackageGroup.js +2 -2
  223. package/sagemaker/modelPackageGroupPolicy.d.ts +2 -2
  224. package/sagemaker/modelPackageGroupPolicy.js +2 -2
  225. package/sagemaker/notebookInstance.d.ts +2 -2
  226. package/sagemaker/notebookInstance.js +2 -2
  227. package/sagemaker/project.d.ts +3 -3
  228. package/sagemaker/project.js +3 -3
  229. package/sagemaker/studioLifecycleConfig.d.ts +2 -2
  230. package/sagemaker/studioLifecycleConfig.js +2 -2
  231. package/sagemaker/userProfile.d.ts +2 -2
  232. package/sagemaker/userProfile.js +2 -2
  233. package/sagemaker/workforce.d.ts +2 -2
  234. package/sagemaker/workforce.js +2 -2
  235. package/sagemaker/workteam.d.ts +2 -2
  236. package/sagemaker/workteam.js +2 -2
  237. package/secretsmanager/getSecrets.d.ts +57 -0
  238. package/secretsmanager/getSecrets.js +40 -0
  239. package/secretsmanager/getSecrets.js.map +1 -0
  240. package/secretsmanager/index.d.ts +1 -0
  241. package/secretsmanager/index.js +1 -0
  242. package/secretsmanager/index.js.map +1 -1
  243. package/ssm/getPatchBaseline.d.ts +34 -1
  244. package/ssm/getPatchBaseline.js.map +1 -1
  245. package/types/input.d.ts +7702 -4520
  246. package/types/output.d.ts +8512 -5004
  247. package/xray/encryptionConfig.d.ts +4 -3
  248. package/xray/encryptionConfig.js +4 -3
  249. package/xray/encryptionConfig.js.map +1 -1
@@ -9,10 +9,11 @@ import { input as inputs, output as outputs } from "../types";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as aws from "@pulumi/aws";
11
11
  *
12
+ * const current = aws.getCallerIdentity({});
12
13
  * const exampleKey = new aws.kms.Key("exampleKey", {
13
14
  * description: "my test kms key",
14
15
  * deletionWindowInDays: 7,
15
- * policy: `{
16
+ * policy: current.then(current => `{
16
17
  * "Version": "2012-10-17",
17
18
  * "Id": "kms-tf-1",
18
19
  * "Statement": [
@@ -20,14 +21,14 @@ import { input as inputs, output as outputs } from "../types";
20
21
  * "Sid": "Enable IAM User Permissions",
21
22
  * "Effect": "Allow",
22
23
  * "Principal": {
23
- * "AWS": "*"
24
+ * "AWS": "arn:aws:iam::${current.accountId}:root"
24
25
  * },
25
26
  * "Action": "kms:*",
26
27
  * "Resource": "*"
27
28
  * }
28
29
  * ]
29
30
  * }
30
- * `,
31
+ * `),
31
32
  * });
32
33
  * const exampleBucketV2 = new aws.s3.BucketV2("exampleBucketV2", {});
33
34
  * const exampleReportGroup = new aws.codebuild.ReportGroup("exampleReportGroup", {
@@ -14,10 +14,11 @@ const utilities = require("../utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as aws from "@pulumi/aws";
16
16
  *
17
+ * const current = aws.getCallerIdentity({});
17
18
  * const exampleKey = new aws.kms.Key("exampleKey", {
18
19
  * description: "my test kms key",
19
20
  * deletionWindowInDays: 7,
20
- * policy: `{
21
+ * policy: current.then(current => `{
21
22
  * "Version": "2012-10-17",
22
23
  * "Id": "kms-tf-1",
23
24
  * "Statement": [
@@ -25,14 +26,14 @@ const utilities = require("../utilities");
25
26
  * "Sid": "Enable IAM User Permissions",
26
27
  * "Effect": "Allow",
27
28
  * "Principal": {
28
- * "AWS": "*"
29
+ * "AWS": "arn:aws:iam::${current.accountId}:root"
29
30
  * },
30
31
  * "Action": "kms:*",
31
32
  * "Resource": "*"
32
33
  * }
33
34
  * ]
34
35
  * }
35
- * `,
36
+ * `),
36
37
  * });
37
38
  * const exampleBucketV2 = new aws.s3.BucketV2("exampleBucketV2", {});
38
39
  * const exampleReportGroup = new aws.codebuild.ReportGroup("exampleReportGroup", {
@@ -1 +1 @@
1
- {"version":3,"file":"reportGroup.js","sourceRoot":"","sources":["../../codebuild/reportGroup.ts"],"names":[],"mappings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@@ -3,6 +3,7 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * Provides details about CodeStar Connection.
4
4
  *
5
5
  * ## Example Usage
6
+ * ### By ARN
6
7
  *
7
8
  * ```typescript
8
9
  * import * as pulumi from "@pulumi/pulumi";
@@ -12,8 +13,18 @@ import * as pulumi from "@pulumi/pulumi";
12
13
  * arn: aws_codestarconnections_connection.example.arn,
13
14
  * });
14
15
  * ```
16
+ * ### By Name
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as aws from "@pulumi/aws";
21
+ *
22
+ * const example = aws.codestarconnections.getConnection({
23
+ * name: aws_codestarconnections_connection.example.name,
24
+ * });
25
+ * ```
15
26
  */
16
- export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
27
+ export declare function getConnection(args?: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
17
28
  /**
18
29
  * A collection of arguments for invoking getConnection.
19
30
  */
@@ -21,7 +32,11 @@ export interface GetConnectionArgs {
21
32
  /**
22
33
  * The CodeStar Connection ARN.
23
34
  */
24
- arn: string;
35
+ arn?: string;
36
+ /**
37
+ * The CodeStar Connection name.
38
+ */
39
+ name?: string;
25
40
  /**
26
41
  * Map of key-value resource tags to associate with the resource.
27
42
  */
@@ -61,7 +76,7 @@ export interface GetConnectionResult {
61
76
  [key: string]: string;
62
77
  };
63
78
  }
64
- export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionResult>;
79
+ export declare function getConnectionOutput(args?: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionResult>;
65
80
  /**
66
81
  * A collection of arguments for invoking getConnection.
67
82
  */
@@ -69,7 +84,11 @@ export interface GetConnectionOutputArgs {
69
84
  /**
70
85
  * The CodeStar Connection ARN.
71
86
  */
72
- arn: pulumi.Input<string>;
87
+ arn?: pulumi.Input<string>;
88
+ /**
89
+ * The CodeStar Connection name.
90
+ */
91
+ name?: pulumi.Input<string>;
73
92
  /**
74
93
  * Map of key-value resource tags to associate with the resource.
75
94
  */
@@ -9,6 +9,7 @@ const utilities = require("../utilities");
9
9
  * Provides details about CodeStar Connection.
10
10
  *
11
11
  * ## Example Usage
12
+ * ### By ARN
12
13
  *
13
14
  * ```typescript
14
15
  * import * as pulumi from "@pulumi/pulumi";
@@ -18,14 +19,26 @@ const utilities = require("../utilities");
18
19
  * arn: aws_codestarconnections_connection.example.arn,
19
20
  * });
20
21
  * ```
22
+ * ### By Name
23
+ *
24
+ * ```typescript
25
+ * import * as pulumi from "@pulumi/pulumi";
26
+ * import * as aws from "@pulumi/aws";
27
+ *
28
+ * const example = aws.codestarconnections.getConnection({
29
+ * name: aws_codestarconnections_connection.example.name,
30
+ * });
31
+ * ```
21
32
  */
22
33
  function getConnection(args, opts) {
34
+ args = args || {};
23
35
  if (!opts) {
24
36
  opts = {};
25
37
  }
26
38
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
39
  return pulumi.runtime.invoke("aws:codestarconnections/getConnection:getConnection", {
28
40
  "arn": args.arn,
41
+ "name": args.name,
29
42
  "tags": args.tags,
30
43
  }, opts);
31
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../../codestarconnections/getConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA+CD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../../codestarconnections/getConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AAmDD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
package/config/vars.d.ts CHANGED
@@ -6,6 +6,7 @@ import { Region } from "..";
6
6
  export declare const accessKey: string | undefined;
7
7
  export declare const allowedAccountIds: string[] | undefined;
8
8
  export declare const assumeRole: outputs.config.AssumeRole | undefined;
9
+ export declare const assumeRoleWithWebIdentity: outputs.config.AssumeRoleWithWebIdentity | undefined;
9
10
  /**
10
11
  * File containing custom root and intermediate certificates. Can also be configured using the `AWS_CA_BUNDLE` environment
11
12
  * variable. (Setting `ca_bundle` in the shared config file is not supported.)
package/config/vars.js CHANGED
@@ -23,6 +23,12 @@ Object.defineProperty(exports, "assumeRole", {
23
23
  },
24
24
  enumerable: true,
25
25
  });
26
+ Object.defineProperty(exports, "assumeRoleWithWebIdentity", {
27
+ get() {
28
+ return __config.getObject("assumeRoleWithWebIdentity");
29
+ },
30
+ enumerable: true,
31
+ });
26
32
  Object.defineProperty(exports, "customCaBundle", {
27
33
  get() {
28
34
  return __config.get("customCaBundle");
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAK1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAM1C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,mBAAmB,EAAE;IAChD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAW,mBAAmB,CAAC,CAAC;IAC7D,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAA4B,YAAY,C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BAAsB,CAAC,mCAAI,IAAI,CAAC;IACvE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,yBAAyB,EAAE;IACtD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,yBAAyB,CAAC,CAAC;IAClE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,sBAAsB,EAAE;IACnD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,sBAAsB,CAAC,CAAC;IAC/D,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE;IAC9C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,iBAAiB,CAAC,CAAC;IAC1D,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -0,0 +1,117 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Provides details about a specific Amazon Connect Routing Profile.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * By `name`
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = pulumi.output(aws.connect.getRoutingProfile({
15
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
16
+ * name: "Example",
17
+ * }));
18
+ * ```
19
+ *
20
+ * By `routingProfileId`
21
+ *
22
+ * ```typescript
23
+ * import * as pulumi from "@pulumi/pulumi";
24
+ * import * as aws from "@pulumi/aws";
25
+ *
26
+ * const example = pulumi.output(aws.connect.getRoutingProfile({
27
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
28
+ * routingProfileId: "cccccccc-bbbb-cccc-dddd-111111111111",
29
+ * }));
30
+ * ```
31
+ */
32
+ export declare function getRoutingProfile(args: GetRoutingProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutingProfileResult>;
33
+ /**
34
+ * A collection of arguments for invoking getRoutingProfile.
35
+ */
36
+ export interface GetRoutingProfileArgs {
37
+ /**
38
+ * Reference to the hosting Amazon Connect Instance
39
+ */
40
+ instanceId: string;
41
+ /**
42
+ * Returns information on a specific Routing Profile by name
43
+ */
44
+ name?: string;
45
+ /**
46
+ * Returns information on a specific Routing Profile by Routing Profile id
47
+ */
48
+ routingProfileId?: string;
49
+ /**
50
+ * A map of tags to assign to the Routing Profile.
51
+ */
52
+ tags?: {
53
+ [key: string]: string;
54
+ };
55
+ }
56
+ /**
57
+ * A collection of values returned by getRoutingProfile.
58
+ */
59
+ export interface GetRoutingProfileResult {
60
+ /**
61
+ * The Amazon Resource Name (ARN) of the Routing Profile.
62
+ */
63
+ readonly arn: string;
64
+ /**
65
+ * Specifies the default outbound queue for the Routing Profile.
66
+ */
67
+ readonly defaultOutboundQueueId: string;
68
+ /**
69
+ * Specifies the description of the Routing Profile.
70
+ */
71
+ readonly description: string;
72
+ /**
73
+ * The provider-assigned unique ID for this managed resource.
74
+ */
75
+ readonly id: string;
76
+ readonly instanceId: string;
77
+ /**
78
+ * One or more `mediaConcurrencies` blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The `mediaConcurrencies` block is documented below.
79
+ */
80
+ readonly mediaConcurrencies: outputs.connect.GetRoutingProfileMediaConcurrency[];
81
+ readonly name: string;
82
+ /**
83
+ * One or more `queueConfigs` blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The `queueConfigs` block is documented below.
84
+ */
85
+ readonly queueConfigs: outputs.connect.GetRoutingProfileQueueConfig[];
86
+ readonly routingProfileId: string;
87
+ /**
88
+ * A map of tags to assign to the Routing Profile.
89
+ */
90
+ readonly tags: {
91
+ [key: string]: string;
92
+ };
93
+ }
94
+ export declare function getRoutingProfileOutput(args: GetRoutingProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoutingProfileResult>;
95
+ /**
96
+ * A collection of arguments for invoking getRoutingProfile.
97
+ */
98
+ export interface GetRoutingProfileOutputArgs {
99
+ /**
100
+ * Reference to the hosting Amazon Connect Instance
101
+ */
102
+ instanceId: pulumi.Input<string>;
103
+ /**
104
+ * Returns information on a specific Routing Profile by name
105
+ */
106
+ name?: pulumi.Input<string>;
107
+ /**
108
+ * Returns information on a specific Routing Profile by Routing Profile id
109
+ */
110
+ routingProfileId?: pulumi.Input<string>;
111
+ /**
112
+ * A map of tags to assign to the Routing Profile.
113
+ */
114
+ tags?: pulumi.Input<{
115
+ [key: string]: pulumi.Input<string>;
116
+ }>;
117
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getRoutingProfileOutput = exports.getRoutingProfile = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides details about a specific Amazon Connect Routing Profile.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * By `name`
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = pulumi.output(aws.connect.getRoutingProfile({
20
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
21
+ * name: "Example",
22
+ * }));
23
+ * ```
24
+ *
25
+ * By `routingProfileId`
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as aws from "@pulumi/aws";
30
+ *
31
+ * const example = pulumi.output(aws.connect.getRoutingProfile({
32
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
33
+ * routingProfileId: "cccccccc-bbbb-cccc-dddd-111111111111",
34
+ * }));
35
+ * ```
36
+ */
37
+ function getRoutingProfile(args, opts) {
38
+ if (!opts) {
39
+ opts = {};
40
+ }
41
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
42
+ return pulumi.runtime.invoke("aws:connect/getRoutingProfile:getRoutingProfile", {
43
+ "instanceId": args.instanceId,
44
+ "name": args.name,
45
+ "routingProfileId": args.routingProfileId,
46
+ "tags": args.tags,
47
+ }, opts);
48
+ }
49
+ exports.getRoutingProfile = getRoutingProfile;
50
+ function getRoutingProfileOutput(args, opts) {
51
+ return pulumi.output(args).apply(a => getRoutingProfile(a, opts));
52
+ }
53
+ exports.getRoutingProfileOutput = getRoutingProfileOutput;
54
+ //# sourceMappingURL=getRoutingProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRoutingProfile.js","sourceRoot":"","sources":["../../connect/getRoutingProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8CAYC;AA6DD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
@@ -0,0 +1,112 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides details about a specific Amazon Connect Security Profile.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * By `name`
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = pulumi.output(aws.connect.getSecurityProfile({
14
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
15
+ * name: "Example",
16
+ * }));
17
+ * ```
18
+ *
19
+ * By `securityProfileId`
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as aws from "@pulumi/aws";
24
+ *
25
+ * const example = pulumi.output(aws.connect.getSecurityProfile({
26
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
27
+ * securityProfileId: "cccccccc-bbbb-cccc-dddd-111111111111",
28
+ * }));
29
+ * ```
30
+ */
31
+ export declare function getSecurityProfile(args: GetSecurityProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityProfileResult>;
32
+ /**
33
+ * A collection of arguments for invoking getSecurityProfile.
34
+ */
35
+ export interface GetSecurityProfileArgs {
36
+ /**
37
+ * Reference to the hosting Amazon Connect Instance
38
+ */
39
+ instanceId: string;
40
+ /**
41
+ * Returns information on a specific Security Profile by name
42
+ */
43
+ name?: string;
44
+ /**
45
+ * Returns information on a specific Security Profile by Security Profile id
46
+ */
47
+ securityProfileId?: string;
48
+ /**
49
+ * A map of tags to assign to the Security Profile.
50
+ */
51
+ tags?: {
52
+ [key: string]: string;
53
+ };
54
+ }
55
+ /**
56
+ * A collection of values returned by getSecurityProfile.
57
+ */
58
+ export interface GetSecurityProfileResult {
59
+ /**
60
+ * The Amazon Resource Name (ARN) of the Security Profile.
61
+ */
62
+ readonly arn: string;
63
+ /**
64
+ * Specifies the description of the Security Profile.
65
+ */
66
+ readonly description: string;
67
+ /**
68
+ * The provider-assigned unique ID for this managed resource.
69
+ */
70
+ readonly id: string;
71
+ readonly instanceId: string;
72
+ readonly name: string;
73
+ /**
74
+ * The organization resource identifier for the security profile.
75
+ */
76
+ readonly organizationResourceId: string;
77
+ /**
78
+ * Specifies a list of permissions assigned to the security profile.
79
+ */
80
+ readonly permissions: string[];
81
+ readonly securityProfileId: string;
82
+ /**
83
+ * A map of tags to assign to the Security Profile.
84
+ */
85
+ readonly tags: {
86
+ [key: string]: string;
87
+ };
88
+ }
89
+ export declare function getSecurityProfileOutput(args: GetSecurityProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecurityProfileResult>;
90
+ /**
91
+ * A collection of arguments for invoking getSecurityProfile.
92
+ */
93
+ export interface GetSecurityProfileOutputArgs {
94
+ /**
95
+ * Reference to the hosting Amazon Connect Instance
96
+ */
97
+ instanceId: pulumi.Input<string>;
98
+ /**
99
+ * Returns information on a specific Security Profile by name
100
+ */
101
+ name?: pulumi.Input<string>;
102
+ /**
103
+ * Returns information on a specific Security Profile by Security Profile id
104
+ */
105
+ securityProfileId?: pulumi.Input<string>;
106
+ /**
107
+ * A map of tags to assign to the Security Profile.
108
+ */
109
+ tags?: pulumi.Input<{
110
+ [key: string]: pulumi.Input<string>;
111
+ }>;
112
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getSecurityProfileOutput = exports.getSecurityProfile = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides details about a specific Amazon Connect Security Profile.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * By `name`
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = pulumi.output(aws.connect.getSecurityProfile({
20
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
21
+ * name: "Example",
22
+ * }));
23
+ * ```
24
+ *
25
+ * By `securityProfileId`
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as aws from "@pulumi/aws";
30
+ *
31
+ * const example = pulumi.output(aws.connect.getSecurityProfile({
32
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
33
+ * securityProfileId: "cccccccc-bbbb-cccc-dddd-111111111111",
34
+ * }));
35
+ * ```
36
+ */
37
+ function getSecurityProfile(args, opts) {
38
+ if (!opts) {
39
+ opts = {};
40
+ }
41
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
42
+ return pulumi.runtime.invoke("aws:connect/getSecurityProfile:getSecurityProfile", {
43
+ "instanceId": args.instanceId,
44
+ "name": args.name,
45
+ "securityProfileId": args.securityProfileId,
46
+ "tags": args.tags,
47
+ }, opts);
48
+ }
49
+ exports.getSecurityProfile = getSecurityProfile;
50
+ function getSecurityProfileOutput(args, opts) {
51
+ return pulumi.output(args).apply(a => getSecurityProfile(a, opts));
52
+ }
53
+ exports.getSecurityProfileOutput = getSecurityProfileOutput;
54
+ //# sourceMappingURL=getSecurityProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityProfile.js","sourceRoot":"","sources":["../../connect/getSecurityProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gDAYC;AAyDD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
@@ -0,0 +1,50 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Provides details about a specific Amazon Connect User Hierarchy Structure
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const test = aws.connect.getUserHierarchyStructure({
13
+ * instanceId: aws_connect_instance.test.id,
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getUserHierarchyStructure(args: GetUserHierarchyStructureArgs, opts?: pulumi.InvokeOptions): Promise<GetUserHierarchyStructureResult>;
18
+ /**
19
+ * A collection of arguments for invoking getUserHierarchyStructure.
20
+ */
21
+ export interface GetUserHierarchyStructureArgs {
22
+ /**
23
+ * Reference to the hosting Amazon Connect Instance
24
+ */
25
+ instanceId: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getUserHierarchyStructure.
29
+ */
30
+ export interface GetUserHierarchyStructureResult {
31
+ /**
32
+ * A block that defines the hierarchy structure's levels. The `hierarchyStructure` block is documented below.
33
+ */
34
+ readonly hierarchyStructures: outputs.connect.GetUserHierarchyStructureHierarchyStructure[];
35
+ /**
36
+ * The provider-assigned unique ID for this managed resource.
37
+ */
38
+ readonly id: string;
39
+ readonly instanceId: string;
40
+ }
41
+ export declare function getUserHierarchyStructureOutput(args: GetUserHierarchyStructureOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserHierarchyStructureResult>;
42
+ /**
43
+ * A collection of arguments for invoking getUserHierarchyStructure.
44
+ */
45
+ export interface GetUserHierarchyStructureOutputArgs {
46
+ /**
47
+ * Reference to the hosting Amazon Connect Instance
48
+ */
49
+ instanceId: pulumi.Input<string>;
50
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getUserHierarchyStructureOutput = exports.getUserHierarchyStructure = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides details about a specific Amazon Connect User Hierarchy Structure
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const test = aws.connect.getUserHierarchyStructure({
18
+ * instanceId: aws_connect_instance.test.id,
19
+ * });
20
+ * ```
21
+ */
22
+ function getUserHierarchyStructure(args, opts) {
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("aws:connect/getUserHierarchyStructure:getUserHierarchyStructure", {
28
+ "instanceId": args.instanceId,
29
+ }, opts);
30
+ }
31
+ exports.getUserHierarchyStructure = getUserHierarchyStructure;
32
+ function getUserHierarchyStructureOutput(args, opts) {
33
+ return pulumi.output(args).apply(a => getUserHierarchyStructure(a, opts));
34
+ }
35
+ exports.getUserHierarchyStructureOutput = getUserHierarchyStructureOutput;
36
+ //# sourceMappingURL=getUserHierarchyStructure.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUserHierarchyStructure.js","sourceRoot":"","sources":["../../connect/getUserHierarchyStructure.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8DASC;AA2BD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,0EAEC"}