@pulumi/aws 4.31.0 → 4.33.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 (330) hide show
  1. package/acm/getCertificate.d.ts +2 -2
  2. package/alb/loadBalancer.d.ts +2 -2
  3. package/alb/loadBalancer.js +2 -2
  4. package/alb/targetGroup.d.ts +3 -3
  5. package/appconfig/application.d.ts +5 -5
  6. package/appconfig/configurationProfile.d.ts +5 -5
  7. package/appconfig/deployment.d.ts +5 -5
  8. package/appconfig/deploymentStrategy.d.ts +5 -5
  9. package/appconfig/environment.d.ts +5 -5
  10. package/applicationloadbalancing/loadBalancer.d.ts +2 -2
  11. package/applicationloadbalancing/loadBalancer.js +2 -2
  12. package/applicationloadbalancing/targetGroup.d.ts +3 -3
  13. package/appstream/fleet.d.ts +1 -1
  14. package/appstream/fleet.js +1 -1
  15. package/appstream/imageBuilder.d.ts +5 -5
  16. package/appsync/graphQLApi.d.ts +55 -24
  17. package/appsync/graphQLApi.js +42 -21
  18. package/appsync/graphQLApi.js.map +1 -1
  19. package/autoscaling/getAmiIds.d.ts +4 -4
  20. package/autoscaling/getAmiIds.js +4 -4
  21. package/backup/regionSettings.d.ts +25 -0
  22. package/backup/regionSettings.js +9 -0
  23. package/backup/regionSettings.js.map +1 -1
  24. package/cfg/organizationConformancePack.d.ts +1 -1
  25. package/cfg/organizationConformancePack.js +1 -1
  26. package/chime/voiceConnectorTerminationCredentials.d.ts +1 -1
  27. package/chime/voiceConnectorTerminationCredentials.js +1 -1
  28. package/cloudcontrol/getResource.d.ts +3 -0
  29. package/cloudcontrol/getResource.js.map +1 -1
  30. package/cloudcontrol/resource.d.ts +3 -3
  31. package/cloudfront/getOriginRequestPolicy.d.ts +1 -1
  32. package/cloudfront/originRequestPolicy.d.ts +3 -3
  33. package/cloudwatch/eventTarget.d.ts +4 -0
  34. package/cloudwatch/eventTarget.js +4 -0
  35. package/cloudwatch/eventTarget.js.map +1 -1
  36. package/codecommit/approvalRuleTemplateAssociation.d.ts +83 -0
  37. package/codecommit/approvalRuleTemplateAssociation.js +82 -0
  38. package/codecommit/approvalRuleTemplateAssociation.js.map +1 -0
  39. package/codecommit/index.d.ts +1 -0
  40. package/codecommit/index.js +5 -0
  41. package/codecommit/index.js.map +1 -1
  42. package/connect/botAssociation.d.ts +136 -0
  43. package/connect/botAssociation.js +134 -0
  44. package/connect/botAssociation.js.map +1 -0
  45. package/connect/contactFlow.d.ts +5 -5
  46. package/connect/getBotAssociation.d.ts +59 -0
  47. package/connect/getBotAssociation.js +43 -0
  48. package/connect/getBotAssociation.js.map +1 -0
  49. package/connect/getHoursOfOperation.d.ts +122 -0
  50. package/connect/getHoursOfOperation.js +56 -0
  51. package/connect/getHoursOfOperation.js.map +1 -0
  52. package/connect/getLambdaFunctionAssociation.d.ts +55 -0
  53. package/connect/getLambdaFunctionAssociation.js +40 -0
  54. package/connect/getLambdaFunctionAssociation.js.map +1 -0
  55. package/connect/hoursOfOperation.d.ts +201 -0
  56. package/connect/hoursOfOperation.js +128 -0
  57. package/connect/hoursOfOperation.js.map +1 -0
  58. package/connect/index.d.ts +6 -0
  59. package/connect/index.js +18 -0
  60. package/connect/index.js.map +1 -1
  61. package/connect/lambdaFunctionAssociation.d.ts +84 -0
  62. package/connect/lambdaFunctionAssociation.js +83 -0
  63. package/connect/lambdaFunctionAssociation.js.map +1 -0
  64. package/detective/graph.d.ts +103 -0
  65. package/detective/graph.js +81 -0
  66. package/detective/graph.js.map +1 -0
  67. package/detective/index.d.ts +1 -0
  68. package/detective/index.js +33 -0
  69. package/detective/index.js.map +1 -0
  70. package/dms/endpoint.d.ts +24 -0
  71. package/dms/endpoint.js +4 -0
  72. package/dms/endpoint.js.map +1 -1
  73. package/dms/replicationInstance.d.ts +3 -3
  74. package/docdb/cluster.d.ts +3 -3
  75. package/dynamodb/getTable.d.ts +1 -0
  76. package/dynamodb/getTable.js.map +1 -1
  77. package/dynamodb/table.d.ts +60 -12
  78. package/dynamodb/table.js +8 -6
  79. package/dynamodb/table.js.map +1 -1
  80. package/ebs/snapshot.d.ts +3 -3
  81. package/ebs/snapshotCopy.d.ts +3 -3
  82. package/ebs/volume.d.ts +9 -0
  83. package/ebs/volume.js.map +1 -1
  84. package/ec2/capacityReservation.d.ts +9 -0
  85. package/ec2/capacityReservation.js.map +1 -1
  86. package/ec2/carrierGateway.d.ts +9 -0
  87. package/ec2/carrierGateway.js.map +1 -1
  88. package/ec2/dedicatedHost.d.ts +9 -0
  89. package/ec2/dedicatedHost.js.map +1 -1
  90. package/ec2/egressOnlyInternetGateway.d.ts +9 -0
  91. package/ec2/egressOnlyInternetGateway.js.map +1 -1
  92. package/ec2/eip.d.ts +9 -0
  93. package/ec2/eip.js.map +1 -1
  94. package/ec2/fleet.d.ts +9 -0
  95. package/ec2/fleet.js.map +1 -1
  96. package/ec2/index.d.ts +1 -0
  97. package/ec2/index.js +5 -0
  98. package/ec2/index.js.map +1 -1
  99. package/ec2/keyPair.d.ts +9 -0
  100. package/ec2/keyPair.js.map +1 -1
  101. package/ec2/localGatewayRouteTableVpcAssociation.d.ts +9 -0
  102. package/ec2/localGatewayRouteTableVpcAssociation.js.map +1 -1
  103. package/ec2/managedPrefixList.d.ts +9 -0
  104. package/ec2/managedPrefixList.js.map +1 -1
  105. package/ec2/subnetCidrReservation.d.ts +116 -0
  106. package/ec2/subnetCidrReservation.js +92 -0
  107. package/ec2/subnetCidrReservation.js.map +1 -0
  108. package/ec2/trafficMirrorFilter.d.ts +9 -0
  109. package/ec2/trafficMirrorFilter.js.map +1 -1
  110. package/ec2/trafficMirrorSession.d.ts +9 -0
  111. package/ec2/trafficMirrorSession.js.map +1 -1
  112. package/ec2/trafficMirrorTarget.d.ts +9 -0
  113. package/ec2/trafficMirrorTarget.js.map +1 -1
  114. package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +9 -0
  115. package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +1 -1
  116. package/ec2/vpc.d.ts +28 -16
  117. package/ec2/vpc.js +1 -1
  118. package/ec2/vpc.js.map +1 -1
  119. package/ec2/vpcIpam.d.ts +5 -5
  120. package/ec2/vpcIpamPool.d.ts +9 -9
  121. package/ec2/vpcIpamPool.js +1 -1
  122. package/ec2/vpcIpv6CidrBlockAssociation.d.ts +10 -2
  123. package/ec2/vpcIpv6CidrBlockAssociation.js +1 -2
  124. package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -1
  125. package/ec2/vpcPeeringConnection.d.ts +0 -6
  126. package/ec2/vpcPeeringConnection.js +1 -1
  127. package/ec2/vpcPeeringConnection.js.map +1 -1
  128. package/ec2/vpcPeeringConnectionAccepter.d.ts +0 -6
  129. package/ec2/vpcPeeringConnectionAccepter.js +1 -1
  130. package/ec2/vpcPeeringConnectionAccepter.js.map +1 -1
  131. package/ec2clientvpn/endpoint.d.ts +9 -0
  132. package/ec2clientvpn/endpoint.js.map +1 -1
  133. package/ec2transitgateway/peeringAttachment.d.ts +9 -0
  134. package/ec2transitgateway/peeringAttachment.js.map +1 -1
  135. package/ec2transitgateway/routeTable.d.ts +9 -0
  136. package/ec2transitgateway/routeTable.js.map +1 -1
  137. package/ec2transitgateway/transitGateway.d.ts +9 -0
  138. package/ec2transitgateway/transitGateway.js.map +1 -1
  139. package/ec2transitgateway/vpcAttachment.d.ts +9 -0
  140. package/ec2transitgateway/vpcAttachment.js.map +1 -1
  141. package/ec2transitgateway/vpcAttachmentAccepter.d.ts +9 -0
  142. package/ec2transitgateway/vpcAttachmentAccepter.js.map +1 -1
  143. package/ecr/index.d.ts +2 -0
  144. package/ecr/index.js +10 -0
  145. package/ecr/index.js.map +1 -1
  146. package/ecr/pullThroughCacheRule.d.ts +94 -0
  147. package/ecr/pullThroughCacheRule.js +87 -0
  148. package/ecr/pullThroughCacheRule.js.map +1 -0
  149. package/ecr/registryScanningConfiguration.d.ts +125 -0
  150. package/ecr/registryScanningConfiguration.js +114 -0
  151. package/ecr/registryScanningConfiguration.js.map +1 -0
  152. package/ecr/repository.d.ts +9 -0
  153. package/ecr/repository.js.map +1 -1
  154. package/ecrpublic/index.d.ts +1 -0
  155. package/ecrpublic/index.js +5 -0
  156. package/ecrpublic/index.js.map +1 -1
  157. package/ecrpublic/repositoryPolicy.d.ts +113 -0
  158. package/ecrpublic/repositoryPolicy.js +115 -0
  159. package/ecrpublic/repositoryPolicy.js.map +1 -0
  160. package/ecs/accountSettingDefault.d.ts +17 -0
  161. package/ecs/accountSettingDefault.js +17 -0
  162. package/ecs/accountSettingDefault.js.map +1 -1
  163. package/ecs/capacityProvider.d.ts +9 -0
  164. package/ecs/capacityProvider.js.map +1 -1
  165. package/ecs/cluster.d.ts +9 -0
  166. package/ecs/cluster.js.map +1 -1
  167. package/ecs/index.d.ts +1 -0
  168. package/ecs/index.js +5 -0
  169. package/ecs/index.js.map +1 -1
  170. package/ecs/taskDefinition.d.ts +58 -18
  171. package/ecs/taskDefinition.js +48 -18
  172. package/ecs/taskDefinition.js.map +1 -1
  173. package/ecs/taskSet.d.ts +264 -0
  174. package/ecs/taskSet.js +107 -0
  175. package/ecs/taskSet.js.map +1 -0
  176. package/efs/accessPoint.d.ts +9 -0
  177. package/efs/accessPoint.js.map +1 -1
  178. package/efs/fileSystem.d.ts +9 -0
  179. package/efs/fileSystem.js.map +1 -1
  180. package/eks/fargateProfile.d.ts +9 -0
  181. package/eks/fargateProfile.js.map +1 -1
  182. package/eks/identityProviderConfig.d.ts +9 -0
  183. package/eks/identityProviderConfig.js.map +1 -1
  184. package/elasticache/cluster.d.ts +9 -0
  185. package/elasticache/cluster.js.map +1 -1
  186. package/elasticache/replicationGroup.d.ts +21 -0
  187. package/elasticache/replicationGroup.js +2 -0
  188. package/elasticache/replicationGroup.js.map +1 -1
  189. package/elasticbeanstalk/application.d.ts +9 -0
  190. package/elasticbeanstalk/application.js.map +1 -1
  191. package/elasticbeanstalk/applicationVersion.d.ts +9 -0
  192. package/elasticbeanstalk/applicationVersion.js.map +1 -1
  193. package/elasticbeanstalk/environment.d.ts +9 -0
  194. package/elasticbeanstalk/environment.js.map +1 -1
  195. package/elasticloadbalancing/loadBalancer.d.ts +9 -0
  196. package/elasticloadbalancing/loadBalancer.js.map +1 -1
  197. package/elasticloadbalancingv2/loadBalancer.d.ts +2 -2
  198. package/elasticloadbalancingv2/loadBalancer.js +2 -2
  199. package/elasticloadbalancingv2/targetGroup.d.ts +3 -3
  200. package/elasticsearch/domain.d.ts +12 -0
  201. package/elasticsearch/domain.js +2 -0
  202. package/elasticsearch/domain.js.map +1 -1
  203. package/elasticsearch/getDomain.d.ts +4 -0
  204. package/elasticsearch/getDomain.js.map +1 -1
  205. package/elb/loadBalancer.d.ts +9 -0
  206. package/elb/loadBalancer.js.map +1 -1
  207. package/emr/cluster.d.ts +2 -2
  208. package/emr/index.d.ts +2 -0
  209. package/emr/index.js +10 -0
  210. package/emr/index.js.map +1 -1
  211. package/emr/studio.d.ts +246 -0
  212. package/emr/studio.js +131 -0
  213. package/emr/studio.js.map +1 -0
  214. package/emr/studioSessionMapping.d.ts +121 -0
  215. package/emr/studioSessionMapping.js +93 -0
  216. package/emr/studioSessionMapping.js.map +1 -0
  217. package/fsx/backup.d.ts +55 -12
  218. package/fsx/backup.js +34 -4
  219. package/fsx/backup.js.map +1 -1
  220. package/fsx/ontapFileSystem.d.ts +5 -5
  221. package/fsx/ontapStorageVirtualMachine.d.ts +5 -5
  222. package/fsx/ontapVolume.d.ts +5 -5
  223. package/getAutoscalingGroups.d.ts +4 -4
  224. package/getAutoscalingGroups.js +4 -4
  225. package/glue/connection.d.ts +5 -5
  226. package/iam/role.d.ts +6 -6
  227. package/iam/serviceLinkedRole.d.ts +36 -0
  228. package/iam/serviceLinkedRole.js +4 -0
  229. package/iam/serviceLinkedRole.js.map +1 -1
  230. package/index.d.ts +2 -1
  231. package/index.js +5 -3
  232. package/index.js.map +1 -1
  233. package/iot/thingType.d.ts +5 -5
  234. package/kinesis/analyticsApplication.d.ts +9 -0
  235. package/kinesis/analyticsApplication.js.map +1 -1
  236. package/kinesis/firehoseDeliveryStream.d.ts +9 -0
  237. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  238. package/kinesis/getStream.d.ts +5 -0
  239. package/kinesis/getStream.js.map +1 -1
  240. package/kinesis/stream.d.ts +31 -6
  241. package/kinesis/stream.js +5 -3
  242. package/kinesis/stream.js.map +1 -1
  243. package/kinesis/videoStream.d.ts +9 -0
  244. package/kinesis/videoStream.js.map +1 -1
  245. package/kinesisanalyticsv2/application.d.ts +9 -0
  246. package/kinesisanalyticsv2/application.js.map +1 -1
  247. package/kms/key.d.ts +9 -0
  248. package/kms/key.js.map +1 -1
  249. package/kms/replicaExternalKey.d.ts +9 -0
  250. package/kms/replicaExternalKey.js.map +1 -1
  251. package/kms/replicaKey.d.ts +9 -0
  252. package/kms/replicaKey.js.map +1 -1
  253. package/lambda/eventSourceMapping.d.ts +40 -0
  254. package/lambda/eventSourceMapping.js +30 -0
  255. package/lambda/eventSourceMapping.js.map +1 -1
  256. package/lb/loadBalancer.d.ts +2 -2
  257. package/lb/loadBalancer.js +2 -2
  258. package/lb/targetGroup.d.ts +3 -3
  259. package/lightsail/instance.d.ts +38 -2
  260. package/lightsail/instance.js.map +1 -1
  261. package/package.json +2 -2
  262. package/package.json.dev +1 -1
  263. package/quicksight/dataSource.d.ts +5 -5
  264. package/quicksight/user.d.ts +4 -3
  265. package/quicksight/user.js +1 -0
  266. package/quicksight/user.js.map +1 -1
  267. package/route53/hostedZoneDnsSec.d.ts +2 -0
  268. package/route53/hostedZoneDnsSec.js +2 -0
  269. package/route53/hostedZoneDnsSec.js.map +1 -1
  270. package/route53recoveryreadiness/cell.d.ts +5 -5
  271. package/route53recoveryreadiness/readinessCheck.d.ts +5 -5
  272. package/route53recoveryreadiness/recoveryGroup.d.ts +5 -5
  273. package/route53recoveryreadiness/resourceSet.d.ts +5 -5
  274. package/s3/accessPoint.d.ts +45 -13
  275. package/s3/accessPoint.js +32 -0
  276. package/s3/accessPoint.js.map +1 -1
  277. package/s3/accountPublicAccessBlock.d.ts +3 -3
  278. package/s3/bucket.d.ts +1 -1
  279. package/s3/bucket.js +1 -1
  280. package/s3/bucketObject.d.ts +5 -5
  281. package/s3/bucketPolicy.d.ts +22 -24
  282. package/s3/bucketPolicy.js +19 -21
  283. package/s3/bucketPolicy.js.map +1 -1
  284. package/s3/bucketReplicationConfig.d.ts +2 -2
  285. package/s3/bucketReplicationConfig.js +2 -2
  286. package/s3/objectCopy.d.ts +3 -6
  287. package/s3/objectCopy.js.map +1 -1
  288. package/s3control/multiRegionAccessPoint.d.ts +9 -0
  289. package/s3control/multiRegionAccessPoint.js.map +1 -1
  290. package/sagemaker/appImageConfig.d.ts +5 -5
  291. package/sagemaker/codeRepository.d.ts +5 -5
  292. package/sagemaker/deviceFleet.d.ts +5 -5
  293. package/sagemaker/endpoint.d.ts +3 -3
  294. package/sagemaker/flowDefinition.d.ts +5 -5
  295. package/sagemaker/humanTaskUI.d.ts +5 -5
  296. package/sagemaker/studioLifecycleConfig.d.ts +5 -5
  297. package/sagemaker/workteam.d.ts +5 -5
  298. package/schemas/discoverer.d.ts +9 -0
  299. package/schemas/discoverer.js.map +1 -1
  300. package/schemas/registry.d.ts +9 -0
  301. package/schemas/registry.js.map +1 -1
  302. package/schemas/schema.d.ts +9 -0
  303. package/schemas/schema.js.map +1 -1
  304. package/secretsmanager/secret.d.ts +3 -3
  305. package/secretsmanager/secretPolicy.d.ts +3 -3
  306. package/securityhub/organizationConfiguration.d.ts +22 -0
  307. package/securityhub/organizationConfiguration.js +22 -0
  308. package/securityhub/organizationConfiguration.js.map +1 -1
  309. package/servicequotas/getServiceQuota.d.ts +6 -6
  310. package/shield/protectionGroup.d.ts +5 -5
  311. package/sns/topic.d.ts +4 -6
  312. package/sns/topic.js +4 -6
  313. package/sns/topic.js.map +1 -1
  314. package/sqs/queue.d.ts +25 -0
  315. package/sqs/queue.js +15 -0
  316. package/sqs/queue.js.map +1 -1
  317. package/storagegateway/fileSystemAssociation.d.ts +5 -5
  318. package/storagegateway/nfsFileShare.d.ts +3 -3
  319. package/storagegateway/smbFileShare.d.ts +3 -3
  320. package/timestreamwrite/database.d.ts +9 -0
  321. package/timestreamwrite/database.js.map +1 -1
  322. package/timestreamwrite/table.d.ts +9 -0
  323. package/timestreamwrite/table.js.map +1 -1
  324. package/transfer/server.d.ts +35 -3
  325. package/transfer/server.js +13 -0
  326. package/transfer/server.js.map +1 -1
  327. package/types/input.d.ts +307 -20
  328. package/types/output.d.ts +372 -17
  329. package/xray/group.d.ts +9 -0
  330. package/xray/group.js.map +1 -1
@@ -0,0 +1,55 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides details about a specific Connect Lambda Function Association.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const example = pulumi.output(aws.connect.getLambdaFunctionAssociation({
12
+ * functionArn: "arn:aws:lambda:us-west-2:123456789123:function:abcdefg",
13
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function getLambdaFunctionAssociation(args: GetLambdaFunctionAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetLambdaFunctionAssociationResult>;
18
+ /**
19
+ * A collection of arguments for invoking getLambdaFunctionAssociation.
20
+ */
21
+ export interface GetLambdaFunctionAssociationArgs {
22
+ /**
23
+ * Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
24
+ */
25
+ functionArn: string;
26
+ /**
27
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
28
+ */
29
+ instanceId: string;
30
+ }
31
+ /**
32
+ * A collection of values returned by getLambdaFunctionAssociation.
33
+ */
34
+ export interface GetLambdaFunctionAssociationResult {
35
+ readonly functionArn: string;
36
+ /**
37
+ * The provider-assigned unique ID for this managed resource.
38
+ */
39
+ readonly id: string;
40
+ readonly instanceId: string;
41
+ }
42
+ export declare function getLambdaFunctionAssociationOutput(args: GetLambdaFunctionAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLambdaFunctionAssociationResult>;
43
+ /**
44
+ * A collection of arguments for invoking getLambdaFunctionAssociation.
45
+ */
46
+ export interface GetLambdaFunctionAssociationOutputArgs {
47
+ /**
48
+ * Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
49
+ */
50
+ functionArn: pulumi.Input<string>;
51
+ /**
52
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
53
+ */
54
+ instanceId: pulumi.Input<string>;
55
+ }
@@ -0,0 +1,40 @@
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.getLambdaFunctionAssociationOutput = exports.getLambdaFunctionAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides details about a specific Connect Lambda Function Association.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = pulumi.output(aws.connect.getLambdaFunctionAssociation({
18
+ * functionArn: "arn:aws:lambda:us-west-2:123456789123:function:abcdefg",
19
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
20
+ * }));
21
+ * ```
22
+ */
23
+ function getLambdaFunctionAssociation(args, opts) {
24
+ if (!opts) {
25
+ opts = {};
26
+ }
27
+ if (!opts.version) {
28
+ opts.version = utilities.getVersion();
29
+ }
30
+ return pulumi.runtime.invoke("aws:connect/getLambdaFunctionAssociation:getLambdaFunctionAssociation", {
31
+ "functionArn": args.functionArn,
32
+ "instanceId": args.instanceId,
33
+ }, opts);
34
+ }
35
+ exports.getLambdaFunctionAssociation = getLambdaFunctionAssociation;
36
+ function getLambdaFunctionAssociationOutput(args, opts) {
37
+ return pulumi.output(args).apply(a => getLambdaFunctionAssociation(a, opts));
38
+ }
39
+ exports.getLambdaFunctionAssociationOutput = getLambdaFunctionAssociationOutput;
40
+ //# sourceMappingURL=getLambdaFunctionAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLambdaFunctionAssociation.js","sourceRoot":"","sources":["../../connect/getLambdaFunctionAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oEAYC;AA4BD,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,gFAEC"}
@@ -0,0 +1,201 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Provides an Amazon Connect Hours of Operation resource. For more information see
5
+ * [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html)
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const test = new aws.connect.HoursOfOperation("test", {
14
+ * configs: [
15
+ * {
16
+ * day: "MONDAY",
17
+ * endTime: {
18
+ * hours: 23,
19
+ * minutes: 8,
20
+ * },
21
+ * startTime: {
22
+ * hours: 8,
23
+ * minutes: 0,
24
+ * },
25
+ * },
26
+ * {
27
+ * day: "TUESDAY",
28
+ * endTime: {
29
+ * hours: 21,
30
+ * minutes: 0,
31
+ * },
32
+ * startTime: {
33
+ * hours: 9,
34
+ * minutes: 0,
35
+ * },
36
+ * },
37
+ * ],
38
+ * description: "Monday office hours",
39
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
40
+ * tags: {
41
+ * Name: "Example Hours of Operation",
42
+ * },
43
+ * timeZone: "EST",
44
+ * });
45
+ * ```
46
+ *
47
+ * ## Import
48
+ *
49
+ * Amazon Connect Hours of Operations can be imported using the `instance_id` and `hours_of_operation_id` separated by a colon (`:`), e.g.,
50
+ *
51
+ * ```sh
52
+ * $ pulumi import aws:connect/hoursOfOperation:HoursOfOperation example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5
53
+ * ```
54
+ */
55
+ export declare class HoursOfOperation extends pulumi.CustomResource {
56
+ /**
57
+ * Get an existing HoursOfOperation resource's state with the given name, ID, and optional extra
58
+ * properties used to qualify the lookup.
59
+ *
60
+ * @param name The _unique_ name of the resulting resource.
61
+ * @param id The _unique_ provider ID of the resource to lookup.
62
+ * @param state Any extra arguments used during the lookup.
63
+ * @param opts Optional settings to control the behavior of the CustomResource.
64
+ */
65
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HoursOfOperationState, opts?: pulumi.CustomResourceOptions): HoursOfOperation;
66
+ /**
67
+ * Returns true if the given object is an instance of HoursOfOperation. This is designed to work even
68
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
69
+ */
70
+ static isInstance(obj: any): obj is HoursOfOperation;
71
+ /**
72
+ * One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
73
+ */
74
+ readonly configs: pulumi.Output<outputs.connect.HoursOfOperationConfig[]>;
75
+ /**
76
+ * Specifies the description of the Hours of Operation.
77
+ */
78
+ readonly description: pulumi.Output<string | undefined>;
79
+ /**
80
+ * The Amazon Resource Name (ARN) of the Hours of Operation.
81
+ */
82
+ readonly hoursOfOperationArn: pulumi.Output<string>;
83
+ /**
84
+ * The identifier for the hours of operation.
85
+ */
86
+ readonly hoursOfOperationId: pulumi.Output<string>;
87
+ /**
88
+ * Specifies the identifier of the hosting Amazon Connect Instance.
89
+ */
90
+ readonly instanceId: pulumi.Output<string>;
91
+ /**
92
+ * Specifies the name of the Hours of Operation.
93
+ */
94
+ readonly name: pulumi.Output<string>;
95
+ /**
96
+ * Tags to apply to the Hours of Operation. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
97
+ */
98
+ readonly tags: pulumi.Output<{
99
+ [key: string]: string;
100
+ } | undefined>;
101
+ /**
102
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
103
+ */
104
+ readonly tagsAll: pulumi.Output<{
105
+ [key: string]: string;
106
+ }>;
107
+ /**
108
+ * Specifies the time zone of the Hours of Operation.
109
+ */
110
+ readonly timeZone: pulumi.Output<string>;
111
+ /**
112
+ * Create a HoursOfOperation resource with the given unique name, arguments, and options.
113
+ *
114
+ * @param name The _unique_ name of the resource.
115
+ * @param args The arguments to use to populate this resource's properties.
116
+ * @param opts A bag of options that control this resource's behavior.
117
+ */
118
+ constructor(name: string, args: HoursOfOperationArgs, opts?: pulumi.CustomResourceOptions);
119
+ }
120
+ /**
121
+ * Input properties used for looking up and filtering HoursOfOperation resources.
122
+ */
123
+ export interface HoursOfOperationState {
124
+ /**
125
+ * One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
126
+ */
127
+ configs?: pulumi.Input<pulumi.Input<inputs.connect.HoursOfOperationConfig>[]>;
128
+ /**
129
+ * Specifies the description of the Hours of Operation.
130
+ */
131
+ description?: pulumi.Input<string>;
132
+ /**
133
+ * The Amazon Resource Name (ARN) of the Hours of Operation.
134
+ */
135
+ hoursOfOperationArn?: pulumi.Input<string>;
136
+ /**
137
+ * The identifier for the hours of operation.
138
+ */
139
+ hoursOfOperationId?: pulumi.Input<string>;
140
+ /**
141
+ * Specifies the identifier of the hosting Amazon Connect Instance.
142
+ */
143
+ instanceId?: pulumi.Input<string>;
144
+ /**
145
+ * Specifies the name of the Hours of Operation.
146
+ */
147
+ name?: pulumi.Input<string>;
148
+ /**
149
+ * Tags to apply to the Hours of Operation. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
150
+ */
151
+ tags?: pulumi.Input<{
152
+ [key: string]: pulumi.Input<string>;
153
+ }>;
154
+ /**
155
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
156
+ */
157
+ tagsAll?: pulumi.Input<{
158
+ [key: string]: pulumi.Input<string>;
159
+ }>;
160
+ /**
161
+ * Specifies the time zone of the Hours of Operation.
162
+ */
163
+ timeZone?: pulumi.Input<string>;
164
+ }
165
+ /**
166
+ * The set of arguments for constructing a HoursOfOperation resource.
167
+ */
168
+ export interface HoursOfOperationArgs {
169
+ /**
170
+ * One or more config blocks which define the configuration information for the hours of operation: day, start time, and end time . Config blocks are documented below.
171
+ */
172
+ configs: pulumi.Input<pulumi.Input<inputs.connect.HoursOfOperationConfig>[]>;
173
+ /**
174
+ * Specifies the description of the Hours of Operation.
175
+ */
176
+ description?: pulumi.Input<string>;
177
+ /**
178
+ * Specifies the identifier of the hosting Amazon Connect Instance.
179
+ */
180
+ instanceId: pulumi.Input<string>;
181
+ /**
182
+ * Specifies the name of the Hours of Operation.
183
+ */
184
+ name?: pulumi.Input<string>;
185
+ /**
186
+ * Tags to apply to the Hours of Operation. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
187
+ */
188
+ tags?: pulumi.Input<{
189
+ [key: string]: pulumi.Input<string>;
190
+ }>;
191
+ /**
192
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
193
+ */
194
+ tagsAll?: pulumi.Input<{
195
+ [key: string]: pulumi.Input<string>;
196
+ }>;
197
+ /**
198
+ * Specifies the time zone of the Hours of Operation.
199
+ */
200
+ timeZone: pulumi.Input<string>;
201
+ }
@@ -0,0 +1,128 @@
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.HoursOfOperation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an Amazon Connect Hours of Operation resource. For more information see
10
+ * [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html)
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const test = new aws.connect.HoursOfOperation("test", {
19
+ * configs: [
20
+ * {
21
+ * day: "MONDAY",
22
+ * endTime: {
23
+ * hours: 23,
24
+ * minutes: 8,
25
+ * },
26
+ * startTime: {
27
+ * hours: 8,
28
+ * minutes: 0,
29
+ * },
30
+ * },
31
+ * {
32
+ * day: "TUESDAY",
33
+ * endTime: {
34
+ * hours: 21,
35
+ * minutes: 0,
36
+ * },
37
+ * startTime: {
38
+ * hours: 9,
39
+ * minutes: 0,
40
+ * },
41
+ * },
42
+ * ],
43
+ * description: "Monday office hours",
44
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
45
+ * tags: {
46
+ * Name: "Example Hours of Operation",
47
+ * },
48
+ * timeZone: "EST",
49
+ * });
50
+ * ```
51
+ *
52
+ * ## Import
53
+ *
54
+ * Amazon Connect Hours of Operations can be imported using the `instance_id` and `hours_of_operation_id` separated by a colon (`:`), e.g.,
55
+ *
56
+ * ```sh
57
+ * $ pulumi import aws:connect/hoursOfOperation:HoursOfOperation example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5
58
+ * ```
59
+ */
60
+ class HoursOfOperation extends pulumi.CustomResource {
61
+ constructor(name, argsOrState, opts) {
62
+ let inputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ inputs["configs"] = state ? state.configs : undefined;
67
+ inputs["description"] = state ? state.description : undefined;
68
+ inputs["hoursOfOperationArn"] = state ? state.hoursOfOperationArn : undefined;
69
+ inputs["hoursOfOperationId"] = state ? state.hoursOfOperationId : undefined;
70
+ inputs["instanceId"] = state ? state.instanceId : undefined;
71
+ inputs["name"] = state ? state.name : undefined;
72
+ inputs["tags"] = state ? state.tags : undefined;
73
+ inputs["tagsAll"] = state ? state.tagsAll : undefined;
74
+ inputs["timeZone"] = state ? state.timeZone : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if ((!args || args.configs === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'configs'");
80
+ }
81
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'instanceId'");
83
+ }
84
+ if ((!args || args.timeZone === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'timeZone'");
86
+ }
87
+ inputs["configs"] = args ? args.configs : undefined;
88
+ inputs["description"] = args ? args.description : undefined;
89
+ inputs["instanceId"] = args ? args.instanceId : undefined;
90
+ inputs["name"] = args ? args.name : undefined;
91
+ inputs["tags"] = args ? args.tags : undefined;
92
+ inputs["tagsAll"] = args ? args.tagsAll : undefined;
93
+ inputs["timeZone"] = args ? args.timeZone : undefined;
94
+ inputs["hoursOfOperationArn"] = undefined /*out*/;
95
+ inputs["hoursOfOperationId"] = undefined /*out*/;
96
+ }
97
+ if (!opts.version) {
98
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
99
+ }
100
+ super(HoursOfOperation.__pulumiType, name, inputs, opts);
101
+ }
102
+ /**
103
+ * Get an existing HoursOfOperation resource's state with the given name, ID, and optional extra
104
+ * properties used to qualify the lookup.
105
+ *
106
+ * @param name The _unique_ name of the resulting resource.
107
+ * @param id The _unique_ provider ID of the resource to lookup.
108
+ * @param state Any extra arguments used during the lookup.
109
+ * @param opts Optional settings to control the behavior of the CustomResource.
110
+ */
111
+ static get(name, id, state, opts) {
112
+ return new HoursOfOperation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
113
+ }
114
+ /**
115
+ * Returns true if the given object is an instance of HoursOfOperation. This is designed to work even
116
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
117
+ */
118
+ static isInstance(obj) {
119
+ if (obj === undefined || obj === null) {
120
+ return false;
121
+ }
122
+ return obj['__pulumiType'] === HoursOfOperation.__pulumiType;
123
+ }
124
+ }
125
+ exports.HoursOfOperation = HoursOfOperation;
126
+ /** @internal */
127
+ HoursOfOperation.__pulumiType = 'aws:connect/hoursOfOperation:HoursOfOperation';
128
+ //# sourceMappingURL=hoursOfOperation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hoursOfOperation.js","sourceRoot":"","sources":["../../connect/hoursOfOperation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAyEvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CA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AAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA/GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAiHC;AAnGG,gBAAgB;AACO,6BAAY,GAAG,+CAA+C,CAAC"}
@@ -1,4 +1,10 @@
1
+ export * from "./botAssociation";
1
2
  export * from "./contactFlow";
3
+ export * from "./getBotAssociation";
2
4
  export * from "./getContactFlow";
5
+ export * from "./getHoursOfOperation";
3
6
  export * from "./getInstance";
7
+ export * from "./getLambdaFunctionAssociation";
8
+ export * from "./hoursOfOperation";
4
9
  export * from "./instance";
10
+ export * from "./lambdaFunctionAssociation";
package/connect/index.js CHANGED
@@ -15,26 +15,44 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const pulumi = require("@pulumi/pulumi");
16
16
  const utilities = require("../utilities");
17
17
  // Export members:
18
+ __exportStar(require("./botAssociation"), exports);
18
19
  __exportStar(require("./contactFlow"), exports);
20
+ __exportStar(require("./getBotAssociation"), exports);
19
21
  __exportStar(require("./getContactFlow"), exports);
22
+ __exportStar(require("./getHoursOfOperation"), exports);
20
23
  __exportStar(require("./getInstance"), exports);
24
+ __exportStar(require("./getLambdaFunctionAssociation"), exports);
25
+ __exportStar(require("./hoursOfOperation"), exports);
21
26
  __exportStar(require("./instance"), exports);
27
+ __exportStar(require("./lambdaFunctionAssociation"), exports);
22
28
  // Import resources to register:
29
+ const botAssociation_1 = require("./botAssociation");
23
30
  const contactFlow_1 = require("./contactFlow");
31
+ const hoursOfOperation_1 = require("./hoursOfOperation");
24
32
  const instance_1 = require("./instance");
33
+ const lambdaFunctionAssociation_1 = require("./lambdaFunctionAssociation");
25
34
  const _module = {
26
35
  version: utilities.getVersion(),
27
36
  construct: (name, type, urn) => {
28
37
  switch (type) {
38
+ case "aws:connect/botAssociation:BotAssociation":
39
+ return new botAssociation_1.BotAssociation(name, undefined, { urn });
29
40
  case "aws:connect/contactFlow:ContactFlow":
30
41
  return new contactFlow_1.ContactFlow(name, undefined, { urn });
42
+ case "aws:connect/hoursOfOperation:HoursOfOperation":
43
+ return new hoursOfOperation_1.HoursOfOperation(name, undefined, { urn });
31
44
  case "aws:connect/instance:Instance":
32
45
  return new instance_1.Instance(name, undefined, { urn });
46
+ case "aws:connect/lambdaFunctionAssociation:LambdaFunctionAssociation":
47
+ return new lambdaFunctionAssociation_1.LambdaFunctionAssociation(name, undefined, { urn });
33
48
  default:
34
49
  throw new Error(`unknown resource type ${type}`);
35
50
  }
36
51
  },
37
52
  };
53
+ pulumi.runtime.registerResourceModule("aws", "connect/botAssociation", _module);
38
54
  pulumi.runtime.registerResourceModule("aws", "connect/contactFlow", _module);
55
+ pulumi.runtime.registerResourceModule("aws", "connect/hoursOfOperation", _module);
39
56
  pulumi.runtime.registerResourceModule("aws", "connect/instance", _module);
57
+ pulumi.runtime.registerResourceModule("aws", "connect/lambdaFunctionAssociation", _module);
40
58
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../connect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,gDAA8B;AAC9B,mDAAiC;AACjC,gDAA8B;AAC9B,6CAA2B;AAE3B,gCAAgC;AAChC,+CAA4C;AAC5C,yCAAsC;AAEtC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qCAAqC;gBACtC,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,+BAA+B;gBAChC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../connect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,mDAAiC;AACjC,gDAA8B;AAC9B,sDAAoC;AACpC,mDAAiC;AACjC,wDAAsC;AACtC,gDAA8B;AAC9B,iEAA+C;AAC/C,qDAAmC;AACnC,6CAA2B;AAC3B,8DAA4C;AAE5C,gC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AA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,84 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an Amazon Connect Lambda Function Association. For more information see
4
+ * [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html) and [Invoke AWS Lambda functions](https://docs.aws.amazon.com/connect/latest/adminguide/connect-lambda-functions.html).
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const example = new aws.connect.LambdaFunctionAssociation("example", {
13
+ * functionArn: aws_lambda_function.example.arn,
14
+ * instanceId: aws_connect_instance.example.id,
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * `aws_connect_lambda_function_association` can be imported using the `instance_id` and `function_arn` separated by a comma (`,`) e.g.,
21
+ *
22
+ * ```sh
23
+ * $ pulumi import aws:connect/lambdaFunctionAssociation:LambdaFunctionAssociation example aaaaaaaa-bbbb-cccc-dddd-111111111111,arn:aws:lambda:us-west-2:123456789123:function:example
24
+ * ```
25
+ */
26
+ export declare class LambdaFunctionAssociation extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing LambdaFunctionAssociation resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LambdaFunctionAssociationState, opts?: pulumi.CustomResourceOptions): LambdaFunctionAssociation;
37
+ /**
38
+ * Returns true if the given object is an instance of LambdaFunctionAssociation. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is LambdaFunctionAssociation;
42
+ /**
43
+ * Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
44
+ */
45
+ readonly functionArn: pulumi.Output<string>;
46
+ /**
47
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
48
+ */
49
+ readonly instanceId: pulumi.Output<string>;
50
+ /**
51
+ * Create a LambdaFunctionAssociation resource with the given unique name, arguments, and options.
52
+ *
53
+ * @param name The _unique_ name of the resource.
54
+ * @param args The arguments to use to populate this resource's properties.
55
+ * @param opts A bag of options that control this resource's behavior.
56
+ */
57
+ constructor(name: string, args: LambdaFunctionAssociationArgs, opts?: pulumi.CustomResourceOptions);
58
+ }
59
+ /**
60
+ * Input properties used for looking up and filtering LambdaFunctionAssociation resources.
61
+ */
62
+ export interface LambdaFunctionAssociationState {
63
+ /**
64
+ * Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
65
+ */
66
+ functionArn?: pulumi.Input<string>;
67
+ /**
68
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
69
+ */
70
+ instanceId?: pulumi.Input<string>;
71
+ }
72
+ /**
73
+ * The set of arguments for constructing a LambdaFunctionAssociation resource.
74
+ */
75
+ export interface LambdaFunctionAssociationArgs {
76
+ /**
77
+ * Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
78
+ */
79
+ functionArn: pulumi.Input<string>;
80
+ /**
81
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
82
+ */
83
+ instanceId: pulumi.Input<string>;
84
+ }
@@ -0,0 +1,83 @@
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.LambdaFunctionAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an Amazon Connect Lambda Function Association. For more information see
10
+ * [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html) and [Invoke AWS Lambda functions](https://docs.aws.amazon.com/connect/latest/adminguide/connect-lambda-functions.html).
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.connect.LambdaFunctionAssociation("example", {
19
+ * functionArn: aws_lambda_function.example.arn,
20
+ * instanceId: aws_connect_instance.example.id,
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * `aws_connect_lambda_function_association` can be imported using the `instance_id` and `function_arn` separated by a comma (`,`) e.g.,
27
+ *
28
+ * ```sh
29
+ * $ pulumi import aws:connect/lambdaFunctionAssociation:LambdaFunctionAssociation example aaaaaaaa-bbbb-cccc-dddd-111111111111,arn:aws:lambda:us-west-2:123456789123:function:example
30
+ * ```
31
+ */
32
+ class LambdaFunctionAssociation extends pulumi.CustomResource {
33
+ constructor(name, argsOrState, opts) {
34
+ let inputs = {};
35
+ opts = opts || {};
36
+ if (opts.id) {
37
+ const state = argsOrState;
38
+ inputs["functionArn"] = state ? state.functionArn : undefined;
39
+ inputs["instanceId"] = state ? state.instanceId : undefined;
40
+ }
41
+ else {
42
+ const args = argsOrState;
43
+ if ((!args || args.functionArn === undefined) && !opts.urn) {
44
+ throw new Error("Missing required property 'functionArn'");
45
+ }
46
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'instanceId'");
48
+ }
49
+ inputs["functionArn"] = args ? args.functionArn : undefined;
50
+ inputs["instanceId"] = args ? args.instanceId : undefined;
51
+ }
52
+ if (!opts.version) {
53
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
54
+ }
55
+ super(LambdaFunctionAssociation.__pulumiType, name, inputs, opts);
56
+ }
57
+ /**
58
+ * Get an existing LambdaFunctionAssociation resource's state with the given name, ID, and optional extra
59
+ * properties used to qualify the lookup.
60
+ *
61
+ * @param name The _unique_ name of the resulting resource.
62
+ * @param id The _unique_ provider ID of the resource to lookup.
63
+ * @param state Any extra arguments used during the lookup.
64
+ * @param opts Optional settings to control the behavior of the CustomResource.
65
+ */
66
+ static get(name, id, state, opts) {
67
+ return new LambdaFunctionAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
68
+ }
69
+ /**
70
+ * Returns true if the given object is an instance of LambdaFunctionAssociation. This is designed to work even
71
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
+ */
73
+ static isInstance(obj) {
74
+ if (obj === undefined || obj === null) {
75
+ return false;
76
+ }
77
+ return obj['__pulumiType'] === LambdaFunctionAssociation.__pulumiType;
78
+ }
79
+ }
80
+ exports.LambdaFunctionAssociation = LambdaFunctionAssociation;
81
+ /** @internal */
82
+ LambdaFunctionAssociation.__pulumiType = 'aws:connect/lambdaFunctionAssociation:LambdaFunctionAssociation';
83
+ //# sourceMappingURL=lambdaFunctionAssociation.js.map