@pulumi/aws 4.32.0 → 4.34.0-alpha.1641422937

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 (253) hide show
  1. package/acm/getCertificate.d.ts +2 -2
  2. package/alb/targetGroup.d.ts +3 -3
  3. package/appconfig/application.d.ts +5 -5
  4. package/appconfig/configurationProfile.d.ts +5 -5
  5. package/appconfig/deployment.d.ts +5 -5
  6. package/appconfig/deploymentStrategy.d.ts +5 -5
  7. package/appconfig/environment.d.ts +5 -5
  8. package/applicationloadbalancing/targetGroup.d.ts +3 -3
  9. package/appstream/fleet.d.ts +1 -1
  10. package/appstream/fleet.js +1 -1
  11. package/appstream/imageBuilder.d.ts +5 -5
  12. package/appsync/graphQLApi.d.ts +55 -24
  13. package/appsync/graphQLApi.js +42 -21
  14. package/appsync/graphQLApi.js.map +1 -1
  15. package/cfg/organizationConformancePack.d.ts +1 -1
  16. package/cfg/organizationConformancePack.js +1 -1
  17. package/chime/voiceConnectorTerminationCredentials.d.ts +1 -1
  18. package/chime/voiceConnectorTerminationCredentials.js +1 -1
  19. package/cloudcontrol/getResource.d.ts +3 -0
  20. package/cloudcontrol/getResource.js.map +1 -1
  21. package/cloudcontrol/resource.d.ts +3 -3
  22. package/cloudfront/getOriginRequestPolicy.d.ts +1 -1
  23. package/cloudfront/originRequestPolicy.d.ts +3 -3
  24. package/connect/botAssociation.d.ts +136 -0
  25. package/connect/botAssociation.js +134 -0
  26. package/connect/botAssociation.js.map +1 -0
  27. package/connect/contactFlow.d.ts +5 -5
  28. package/connect/getBotAssociation.d.ts +59 -0
  29. package/connect/getBotAssociation.js +43 -0
  30. package/connect/getBotAssociation.js.map +1 -0
  31. package/connect/getHoursOfOperation.d.ts +122 -0
  32. package/connect/getHoursOfOperation.js +56 -0
  33. package/connect/getHoursOfOperation.js.map +1 -0
  34. package/connect/getLambdaFunctionAssociation.d.ts +55 -0
  35. package/connect/getLambdaFunctionAssociation.js +40 -0
  36. package/connect/getLambdaFunctionAssociation.js.map +1 -0
  37. package/connect/hoursOfOperation.d.ts +201 -0
  38. package/connect/hoursOfOperation.js +128 -0
  39. package/connect/hoursOfOperation.js.map +1 -0
  40. package/connect/index.d.ts +6 -0
  41. package/connect/index.js +18 -0
  42. package/connect/index.js.map +1 -1
  43. package/connect/lambdaFunctionAssociation.d.ts +84 -0
  44. package/connect/lambdaFunctionAssociation.js +83 -0
  45. package/connect/lambdaFunctionAssociation.js.map +1 -0
  46. package/detective/graph.d.ts +3 -3
  47. package/dms/endpoint.d.ts +24 -0
  48. package/dms/endpoint.js +4 -0
  49. package/dms/endpoint.js.map +1 -1
  50. package/dms/replicationInstance.d.ts +3 -3
  51. package/docdb/cluster.d.ts +3 -3
  52. package/dynamodb/table.d.ts +48 -12
  53. package/dynamodb/table.js +6 -6
  54. package/dynamodb/table.js.map +1 -1
  55. package/ebs/snapshot.d.ts +3 -3
  56. package/ebs/snapshotCopy.d.ts +3 -3
  57. package/ebs/volume.d.ts +9 -0
  58. package/ebs/volume.js.map +1 -1
  59. package/ec2/capacityReservation.d.ts +9 -0
  60. package/ec2/capacityReservation.js.map +1 -1
  61. package/ec2/carrierGateway.d.ts +9 -0
  62. package/ec2/carrierGateway.js.map +1 -1
  63. package/ec2/dedicatedHost.d.ts +9 -0
  64. package/ec2/dedicatedHost.js.map +1 -1
  65. package/ec2/egressOnlyInternetGateway.d.ts +9 -0
  66. package/ec2/egressOnlyInternetGateway.js.map +1 -1
  67. package/ec2/eip.d.ts +9 -0
  68. package/ec2/eip.js.map +1 -1
  69. package/ec2/fleet.d.ts +9 -0
  70. package/ec2/fleet.js.map +1 -1
  71. package/ec2/keyPair.d.ts +9 -0
  72. package/ec2/keyPair.js.map +1 -1
  73. package/ec2/localGatewayRouteTableVpcAssociation.d.ts +9 -0
  74. package/ec2/localGatewayRouteTableVpcAssociation.js.map +1 -1
  75. package/ec2/managedPrefixList.d.ts +9 -0
  76. package/ec2/managedPrefixList.js.map +1 -1
  77. package/ec2/trafficMirrorFilter.d.ts +9 -0
  78. package/ec2/trafficMirrorFilter.js.map +1 -1
  79. package/ec2/trafficMirrorSession.d.ts +9 -0
  80. package/ec2/trafficMirrorSession.js.map +1 -1
  81. package/ec2/trafficMirrorTarget.d.ts +9 -0
  82. package/ec2/trafficMirrorTarget.js.map +1 -1
  83. package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +9 -0
  84. package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +1 -1
  85. package/ec2/vpcIpam.d.ts +5 -5
  86. package/ec2/vpcIpamPool.d.ts +5 -5
  87. package/ec2/vpcPeeringConnection.d.ts +0 -6
  88. package/ec2/vpcPeeringConnection.js +1 -1
  89. package/ec2/vpcPeeringConnection.js.map +1 -1
  90. package/ec2/vpcPeeringConnectionAccepter.d.ts +0 -6
  91. package/ec2/vpcPeeringConnectionAccepter.js +1 -1
  92. package/ec2/vpcPeeringConnectionAccepter.js.map +1 -1
  93. package/ec2clientvpn/endpoint.d.ts +9 -0
  94. package/ec2clientvpn/endpoint.js.map +1 -1
  95. package/ec2transitgateway/peeringAttachment.d.ts +9 -0
  96. package/ec2transitgateway/peeringAttachment.js.map +1 -1
  97. package/ec2transitgateway/routeTable.d.ts +9 -0
  98. package/ec2transitgateway/routeTable.js.map +1 -1
  99. package/ec2transitgateway/transitGateway.d.ts +9 -0
  100. package/ec2transitgateway/transitGateway.js.map +1 -1
  101. package/ec2transitgateway/vpcAttachment.d.ts +9 -0
  102. package/ec2transitgateway/vpcAttachment.js.map +1 -1
  103. package/ec2transitgateway/vpcAttachmentAccepter.d.ts +9 -0
  104. package/ec2transitgateway/vpcAttachmentAccepter.js.map +1 -1
  105. package/ecr/index.d.ts +2 -0
  106. package/ecr/index.js +10 -0
  107. package/ecr/index.js.map +1 -1
  108. package/ecr/pullThroughCacheRule.d.ts +94 -0
  109. package/ecr/pullThroughCacheRule.js +87 -0
  110. package/ecr/pullThroughCacheRule.js.map +1 -0
  111. package/ecr/registryScanningConfiguration.d.ts +125 -0
  112. package/ecr/registryScanningConfiguration.js +114 -0
  113. package/ecr/registryScanningConfiguration.js.map +1 -0
  114. package/ecr/repository.d.ts +9 -0
  115. package/ecr/repository.js.map +1 -1
  116. package/ecrpublic/index.d.ts +1 -0
  117. package/ecrpublic/index.js +5 -0
  118. package/ecrpublic/index.js.map +1 -1
  119. package/ecrpublic/repositoryPolicy.d.ts +113 -0
  120. package/ecrpublic/repositoryPolicy.js +115 -0
  121. package/ecrpublic/repositoryPolicy.js.map +1 -0
  122. package/ecs/accountSettingDefault.d.ts +17 -0
  123. package/ecs/accountSettingDefault.js +17 -0
  124. package/ecs/accountSettingDefault.js.map +1 -1
  125. package/ecs/capacityProvider.d.ts +9 -0
  126. package/ecs/capacityProvider.js.map +1 -1
  127. package/ecs/cluster.d.ts +9 -0
  128. package/ecs/cluster.js.map +1 -1
  129. package/ecs/taskSet.d.ts +6 -6
  130. package/efs/accessPoint.d.ts +9 -0
  131. package/efs/accessPoint.js.map +1 -1
  132. package/efs/fileSystem.d.ts +9 -0
  133. package/efs/fileSystem.js.map +1 -1
  134. package/eks/fargateProfile.d.ts +9 -0
  135. package/eks/fargateProfile.js.map +1 -1
  136. package/eks/identityProviderConfig.d.ts +9 -0
  137. package/eks/identityProviderConfig.js.map +1 -1
  138. package/elasticache/cluster.d.ts +9 -0
  139. package/elasticache/cluster.js.map +1 -1
  140. package/elasticache/replicationGroup.d.ts +9 -0
  141. package/elasticache/replicationGroup.js.map +1 -1
  142. package/elasticbeanstalk/application.d.ts +9 -0
  143. package/elasticbeanstalk/application.js.map +1 -1
  144. package/elasticbeanstalk/applicationVersion.d.ts +9 -0
  145. package/elasticbeanstalk/applicationVersion.js.map +1 -1
  146. package/elasticbeanstalk/environment.d.ts +9 -0
  147. package/elasticbeanstalk/environment.js.map +1 -1
  148. package/elasticloadbalancing/loadBalancer.d.ts +9 -0
  149. package/elasticloadbalancing/loadBalancer.js.map +1 -1
  150. package/elasticloadbalancingv2/targetGroup.d.ts +3 -3
  151. package/elb/loadBalancer.d.ts +9 -0
  152. package/elb/loadBalancer.js.map +1 -1
  153. package/emr/cluster.d.ts +2 -2
  154. package/emr/studio.d.ts +9 -0
  155. package/emr/studio.js.map +1 -1
  156. package/fsx/backup.d.ts +55 -12
  157. package/fsx/backup.js +34 -4
  158. package/fsx/backup.js.map +1 -1
  159. package/fsx/ontapFileSystem.d.ts +5 -5
  160. package/fsx/ontapStorageVirtualMachine.d.ts +5 -5
  161. package/fsx/ontapVolume.d.ts +5 -5
  162. package/glue/connection.d.ts +5 -5
  163. package/iam/serviceLinkedRole.d.ts +36 -0
  164. package/iam/serviceLinkedRole.js +4 -0
  165. package/iam/serviceLinkedRole.js.map +1 -1
  166. package/iot/thingType.d.ts +5 -5
  167. package/kinesis/analyticsApplication.d.ts +9 -0
  168. package/kinesis/analyticsApplication.js.map +1 -1
  169. package/kinesis/firehoseDeliveryStream.d.ts +9 -0
  170. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  171. package/kinesis/stream.d.ts +9 -0
  172. package/kinesis/stream.js.map +1 -1
  173. package/kinesis/videoStream.d.ts +9 -0
  174. package/kinesis/videoStream.js.map +1 -1
  175. package/kinesisanalyticsv2/application.d.ts +9 -0
  176. package/kinesisanalyticsv2/application.js.map +1 -1
  177. package/kms/key.d.ts +9 -0
  178. package/kms/key.js.map +1 -1
  179. package/kms/replicaExternalKey.d.ts +9 -0
  180. package/kms/replicaExternalKey.js.map +1 -1
  181. package/kms/replicaKey.d.ts +9 -0
  182. package/kms/replicaKey.js.map +1 -1
  183. package/lb/targetGroup.d.ts +3 -3
  184. package/lightsail/instance.d.ts +38 -2
  185. package/lightsail/instance.js.map +1 -1
  186. package/package.json +2 -2
  187. package/package.json.dev +1 -1
  188. package/quicksight/dataSource.d.ts +5 -5
  189. package/quicksight/user.d.ts +4 -3
  190. package/quicksight/user.js +1 -0
  191. package/quicksight/user.js.map +1 -1
  192. package/route53/hostedZoneDnsSec.d.ts +2 -0
  193. package/route53/hostedZoneDnsSec.js +2 -0
  194. package/route53/hostedZoneDnsSec.js.map +1 -1
  195. package/route53recoveryreadiness/cell.d.ts +5 -5
  196. package/route53recoveryreadiness/readinessCheck.d.ts +5 -5
  197. package/route53recoveryreadiness/recoveryGroup.d.ts +5 -5
  198. package/route53recoveryreadiness/resourceSet.d.ts +5 -5
  199. package/s3/accessPoint.d.ts +45 -13
  200. package/s3/accessPoint.js +32 -0
  201. package/s3/accessPoint.js.map +1 -1
  202. package/s3/accountPublicAccessBlock.d.ts +3 -3
  203. package/s3/bucket.d.ts +1 -1
  204. package/s3/bucket.js +1 -1
  205. package/s3/bucketObject.d.ts +5 -5
  206. package/s3/bucketPolicy.d.ts +22 -24
  207. package/s3/bucketPolicy.js +19 -21
  208. package/s3/bucketPolicy.js.map +1 -1
  209. package/s3/bucketReplicationConfig.d.ts +2 -2
  210. package/s3/bucketReplicationConfig.js +2 -2
  211. package/s3/objectCopy.d.ts +3 -6
  212. package/s3/objectCopy.js.map +1 -1
  213. package/s3control/multiRegionAccessPoint.d.ts +9 -0
  214. package/s3control/multiRegionAccessPoint.js.map +1 -1
  215. package/sagemaker/appImageConfig.d.ts +5 -5
  216. package/sagemaker/codeRepository.d.ts +5 -5
  217. package/sagemaker/deviceFleet.d.ts +5 -5
  218. package/sagemaker/endpoint.d.ts +3 -3
  219. package/sagemaker/flowDefinition.d.ts +5 -5
  220. package/sagemaker/humanTaskUI.d.ts +5 -5
  221. package/sagemaker/studioLifecycleConfig.d.ts +5 -5
  222. package/sagemaker/workteam.d.ts +5 -5
  223. package/schemas/discoverer.d.ts +9 -0
  224. package/schemas/discoverer.js.map +1 -1
  225. package/schemas/registry.d.ts +9 -0
  226. package/schemas/registry.js.map +1 -1
  227. package/schemas/schema.d.ts +9 -0
  228. package/schemas/schema.js.map +1 -1
  229. package/secretsmanager/secret.d.ts +3 -3
  230. package/secretsmanager/secretPolicy.d.ts +3 -3
  231. package/securityhub/organizationConfiguration.d.ts +22 -0
  232. package/securityhub/organizationConfiguration.js +22 -0
  233. package/securityhub/organizationConfiguration.js.map +1 -1
  234. package/shield/protectionGroup.d.ts +5 -5
  235. package/sns/topic.d.ts +4 -6
  236. package/sns/topic.js +4 -6
  237. package/sns/topic.js.map +1 -1
  238. package/storagegateway/fileSystemAssociation.d.ts +5 -5
  239. package/storagegateway/nfsFileShare.d.ts +3 -3
  240. package/storagegateway/smbFileShare.d.ts +3 -3
  241. package/timestreamwrite/database.d.ts +9 -0
  242. package/timestreamwrite/database.js.map +1 -1
  243. package/timestreamwrite/table.d.ts +9 -0
  244. package/timestreamwrite/table.js.map +1 -1
  245. package/transfer/server.d.ts +9 -0
  246. package/transfer/server.js.map +1 -1
  247. package/types/enums/rds/index.d.ts +20 -0
  248. package/types/enums/rds/index.js +20 -0
  249. package/types/enums/rds/index.js.map +1 -1
  250. package/types/input.d.ts +164 -17
  251. package/types/output.d.ts +187 -16
  252. package/xray/group.d.ts +9 -0
  253. package/xray/group.js.map +1 -1
@@ -3,7 +3,7 @@ import { input as inputs, output as outputs } from "../types";
3
3
  /**
4
4
  * Manages a Config Organization Conformance Pack. More information can be found in the [Managing Conformance Packs Across all Accounts in Your Organization](https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html) and [AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html) documentation. Example conformance pack templates may be found in the [AWS Config Rules Repository](https://github.com/awslabs/aws-config-rules/tree/master/aws-config-conformance-packs).
5
5
  *
6
- * > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the [`aws.cfg.Recorder` resource](https://www.terraform.io/docs/providers/aws/r/config_configuration_recorder.html).
6
+ * > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the `aws.cfg.Recorder` resource.
7
7
  *
8
8
  * ## Example Usage
9
9
  * ### Using Template Body
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages a Config Organization Conformance Pack. More information can be found in the [Managing Conformance Packs Across all Accounts in Your Organization](https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html) and [AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html) documentation. Example conformance pack templates may be found in the [AWS Config Rules Repository](https://github.com/awslabs/aws-config-rules/tree/master/aws-config-conformance-packs).
10
10
  *
11
- * > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the [`aws.cfg.Recorder` resource](https://www.terraform.io/docs/providers/aws/r/config_configuration_recorder.html).
11
+ * > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the `aws.cfg.Recorder` resource.
12
12
  *
13
13
  * ## Example Usage
14
14
  * ### Using Template Body
@@ -3,7 +3,7 @@ import { input as inputs, output as outputs } from "../types";
3
3
  /**
4
4
  * Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
5
5
  *
6
- * > **Note:** Voice Connector Termination Credentials requires a [Voice Connector Termination](https://www.terraform.io/docs/providers/aws/r/chime_voice_connector_termination.html) to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.
6
+ * > **Note:** Voice Connector Termination Credentials requires a Voice Connector Termination to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.
7
7
  *
8
8
  * ## Example Usage
9
9
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
10
10
  *
11
- * > **Note:** Voice Connector Termination Credentials requires a [Voice Connector Termination](https://www.terraform.io/docs/providers/aws/r/chime_voice_connector_termination.html) to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.
11
+ * > **Note:** Voice Connector Termination Credentials requires a Voice Connector Termination to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.
12
12
  *
13
13
  * ## Example Usage
14
14
  *
@@ -45,6 +45,9 @@ export interface GetResourceResult {
45
45
  */
46
46
  readonly id: string;
47
47
  readonly identifier: string;
48
+ /**
49
+ * JSON string matching the CloudFormation resource type schema with current configuration.
50
+ */
48
51
  readonly properties: string;
49
52
  readonly roleArn?: string;
50
53
  readonly typeName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getResource.js","sourceRoot":"","sources":["../../cloudcontrol/getResource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,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,0CAA0C,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;AAuCD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getResource.js","sourceRoot":"","sources":["../../cloudcontrol/getResource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,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,0CAA0C,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;AA0CD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -43,7 +43,7 @@ export declare class Resource extends pulumi.CustomResource {
43
43
  */
44
44
  readonly roleArn: pulumi.Output<string | undefined>;
45
45
  /**
46
- * JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the [`aws.cloudformation.CloudFormationType` data source](https://www.terraform.io/docs/providers/aws/d/cloudformation_type.html) and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
46
+ * JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
47
47
  */
48
48
  readonly schema: pulumi.Output<string>;
49
49
  /**
@@ -74,7 +74,7 @@ export interface ResourceState {
74
74
  */
75
75
  roleArn?: pulumi.Input<string>;
76
76
  /**
77
- * JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the [`aws.cloudformation.CloudFormationType` data source](https://www.terraform.io/docs/providers/aws/d/cloudformation_type.html) and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
77
+ * JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
78
78
  */
79
79
  schema?: pulumi.Input<string>;
80
80
  /**
@@ -96,7 +96,7 @@ export interface ResourceArgs {
96
96
  */
97
97
  roleArn?: pulumi.Input<string>;
98
98
  /**
99
- * JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the [`aws.cloudformation.CloudFormationType` data source](https://www.terraform.io/docs/providers/aws/d/cloudformation_type.html) and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
99
+ * JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
100
100
  */
101
101
  schema?: pulumi.Input<string>;
102
102
  /**
@@ -51,7 +51,7 @@ export interface GetOriginRequestPolicyResult {
51
51
  readonly id?: string;
52
52
  readonly name?: string;
53
53
  /**
54
- * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query Strings Config for more information.
54
+ * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
55
55
  */
56
56
  readonly queryStringsConfigs: outputs.cloudfront.GetOriginRequestPolicyQueryStringsConfig[];
57
57
  }
@@ -69,7 +69,7 @@ export declare class OriginRequestPolicy extends pulumi.CustomResource {
69
69
  */
70
70
  readonly name: pulumi.Output<string>;
71
71
  /**
72
- * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query Strings Config for more information.
72
+ * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
73
73
  */
74
74
  readonly queryStringsConfig: pulumi.Output<outputs.cloudfront.OriginRequestPolicyQueryStringsConfig>;
75
75
  /**
@@ -106,7 +106,7 @@ export interface OriginRequestPolicyState {
106
106
  */
107
107
  name?: pulumi.Input<string>;
108
108
  /**
109
- * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query Strings Config for more information.
109
+ * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
110
110
  */
111
111
  queryStringsConfig?: pulumi.Input<inputs.cloudfront.OriginRequestPolicyQueryStringsConfig>;
112
112
  }
@@ -131,7 +131,7 @@ export interface OriginRequestPolicyArgs {
131
131
  */
132
132
  name?: pulumi.Input<string>;
133
133
  /**
134
- * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query Strings Config for more information.
134
+ * Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
135
135
  */
136
136
  queryStringsConfig: pulumi.Input<inputs.cloudfront.OriginRequestPolicyQueryStringsConfig>;
137
137
  }
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Allows the specified Amazon Connect instance to access the specified Amazon Lex (V1) bot. For more information see
5
+ * [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html) and [Add an Amazon Lex bot](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-lex.html).
6
+ *
7
+ * > **NOTE:** This resource only currently supports Amazon Lex (V1) Associations.
8
+ *
9
+ * ## Example Usage
10
+ * ### Basic
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as aws from "@pulumi/aws";
15
+ *
16
+ * const example = new aws.connect.BotAssociation("example", {
17
+ * instanceId: aws_connect_instance.example.id,
18
+ * lexBot: {
19
+ * lexRegion: "us-west-2",
20
+ * name: "Test",
21
+ * },
22
+ * });
23
+ * ```
24
+ * ### Including a sample Lex bot
25
+ *
26
+ * ```typescript
27
+ * import * as pulumi from "@pulumi/pulumi";
28
+ * import * as aws from "@pulumi/aws";
29
+ *
30
+ * const current = aws.getRegion({});
31
+ * const exampleIntent = new aws.lex.Intent("exampleIntent", {
32
+ * createVersion: true,
33
+ * name: "connect_lex_intent",
34
+ * fulfillmentActivity: {
35
+ * type: "ReturnIntent",
36
+ * },
37
+ * sampleUtterances: ["I would like to pick up flowers."],
38
+ * });
39
+ * const exampleBot = new aws.lex.Bot("exampleBot", {
40
+ * abortStatement: {
41
+ * messages: [{
42
+ * content: "Sorry, I am not able to assist at this time.",
43
+ * contentType: "PlainText",
44
+ * }],
45
+ * },
46
+ * clarificationPrompt: {
47
+ * maxAttempts: 2,
48
+ * messages: [{
49
+ * content: "I didn't understand you, what would you like to do?",
50
+ * contentType: "PlainText",
51
+ * }],
52
+ * },
53
+ * intents: [{
54
+ * intentName: exampleIntent.name,
55
+ * intentVersion: "1",
56
+ * }],
57
+ * childDirected: false,
58
+ * name: "connect_lex_bot",
59
+ * processBehavior: "BUILD",
60
+ * });
61
+ * const exampleBotAssociation = new aws.connect.BotAssociation("exampleBotAssociation", {
62
+ * instanceId: aws_connect_instance.example.id,
63
+ * lexBot: {
64
+ * lexRegion: current.then(current => current.name),
65
+ * name: exampleBot.name,
66
+ * },
67
+ * });
68
+ * ```
69
+ *
70
+ * ## Import
71
+ *
72
+ * `aws_connect_bot_association` can be imported by using the Amazon Connect instance ID, Lex (V1) bot name, and Lex (V1) bot region separated by colons (`:`), e.g.
73
+ *
74
+ * ```sh
75
+ * $ pulumi import aws:connect/botAssociation:BotAssociation example aaaaaaaa-bbbb-cccc-dddd-111111111111:Example:us-west-2
76
+ * ```
77
+ */
78
+ export declare class BotAssociation extends pulumi.CustomResource {
79
+ /**
80
+ * Get an existing BotAssociation resource's state with the given name, ID, and optional extra
81
+ * properties used to qualify the lookup.
82
+ *
83
+ * @param name The _unique_ name of the resulting resource.
84
+ * @param id The _unique_ provider ID of the resource to lookup.
85
+ * @param state Any extra arguments used during the lookup.
86
+ * @param opts Optional settings to control the behavior of the CustomResource.
87
+ */
88
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BotAssociationState, opts?: pulumi.CustomResourceOptions): BotAssociation;
89
+ /**
90
+ * Returns true if the given object is an instance of BotAssociation. This is designed to work even
91
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
92
+ */
93
+ static isInstance(obj: any): obj is BotAssociation;
94
+ /**
95
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
96
+ */
97
+ readonly instanceId: pulumi.Output<string>;
98
+ /**
99
+ * Configuration information of an Amazon Lex (V1) bot. Detailed below.
100
+ */
101
+ readonly lexBot: pulumi.Output<outputs.connect.BotAssociationLexBot>;
102
+ /**
103
+ * Create a BotAssociation resource with the given unique name, arguments, and options.
104
+ *
105
+ * @param name The _unique_ name of the resource.
106
+ * @param args The arguments to use to populate this resource's properties.
107
+ * @param opts A bag of options that control this resource's behavior.
108
+ */
109
+ constructor(name: string, args: BotAssociationArgs, opts?: pulumi.CustomResourceOptions);
110
+ }
111
+ /**
112
+ * Input properties used for looking up and filtering BotAssociation resources.
113
+ */
114
+ export interface BotAssociationState {
115
+ /**
116
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
117
+ */
118
+ instanceId?: pulumi.Input<string>;
119
+ /**
120
+ * Configuration information of an Amazon Lex (V1) bot. Detailed below.
121
+ */
122
+ lexBot?: pulumi.Input<inputs.connect.BotAssociationLexBot>;
123
+ }
124
+ /**
125
+ * The set of arguments for constructing a BotAssociation resource.
126
+ */
127
+ export interface BotAssociationArgs {
128
+ /**
129
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
130
+ */
131
+ instanceId: pulumi.Input<string>;
132
+ /**
133
+ * Configuration information of an Amazon Lex (V1) bot. Detailed below.
134
+ */
135
+ lexBot: pulumi.Input<inputs.connect.BotAssociationLexBot>;
136
+ }
@@ -0,0 +1,134 @@
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.BotAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Allows the specified Amazon Connect instance to access the specified Amazon Lex (V1) bot. For more information see
10
+ * [Amazon Connect: Getting Started](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-get-started.html) and [Add an Amazon Lex bot](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-lex.html).
11
+ *
12
+ * > **NOTE:** This resource only currently supports Amazon Lex (V1) Associations.
13
+ *
14
+ * ## Example Usage
15
+ * ### Basic
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as aws from "@pulumi/aws";
20
+ *
21
+ * const example = new aws.connect.BotAssociation("example", {
22
+ * instanceId: aws_connect_instance.example.id,
23
+ * lexBot: {
24
+ * lexRegion: "us-west-2",
25
+ * name: "Test",
26
+ * },
27
+ * });
28
+ * ```
29
+ * ### Including a sample Lex bot
30
+ *
31
+ * ```typescript
32
+ * import * as pulumi from "@pulumi/pulumi";
33
+ * import * as aws from "@pulumi/aws";
34
+ *
35
+ * const current = aws.getRegion({});
36
+ * const exampleIntent = new aws.lex.Intent("exampleIntent", {
37
+ * createVersion: true,
38
+ * name: "connect_lex_intent",
39
+ * fulfillmentActivity: {
40
+ * type: "ReturnIntent",
41
+ * },
42
+ * sampleUtterances: ["I would like to pick up flowers."],
43
+ * });
44
+ * const exampleBot = new aws.lex.Bot("exampleBot", {
45
+ * abortStatement: {
46
+ * messages: [{
47
+ * content: "Sorry, I am not able to assist at this time.",
48
+ * contentType: "PlainText",
49
+ * }],
50
+ * },
51
+ * clarificationPrompt: {
52
+ * maxAttempts: 2,
53
+ * messages: [{
54
+ * content: "I didn't understand you, what would you like to do?",
55
+ * contentType: "PlainText",
56
+ * }],
57
+ * },
58
+ * intents: [{
59
+ * intentName: exampleIntent.name,
60
+ * intentVersion: "1",
61
+ * }],
62
+ * childDirected: false,
63
+ * name: "connect_lex_bot",
64
+ * processBehavior: "BUILD",
65
+ * });
66
+ * const exampleBotAssociation = new aws.connect.BotAssociation("exampleBotAssociation", {
67
+ * instanceId: aws_connect_instance.example.id,
68
+ * lexBot: {
69
+ * lexRegion: current.then(current => current.name),
70
+ * name: exampleBot.name,
71
+ * },
72
+ * });
73
+ * ```
74
+ *
75
+ * ## Import
76
+ *
77
+ * `aws_connect_bot_association` can be imported by using the Amazon Connect instance ID, Lex (V1) bot name, and Lex (V1) bot region separated by colons (`:`), e.g.
78
+ *
79
+ * ```sh
80
+ * $ pulumi import aws:connect/botAssociation:BotAssociation example aaaaaaaa-bbbb-cccc-dddd-111111111111:Example:us-west-2
81
+ * ```
82
+ */
83
+ class BotAssociation extends pulumi.CustomResource {
84
+ constructor(name, argsOrState, opts) {
85
+ let inputs = {};
86
+ opts = opts || {};
87
+ if (opts.id) {
88
+ const state = argsOrState;
89
+ inputs["instanceId"] = state ? state.instanceId : undefined;
90
+ inputs["lexBot"] = state ? state.lexBot : undefined;
91
+ }
92
+ else {
93
+ const args = argsOrState;
94
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'instanceId'");
96
+ }
97
+ if ((!args || args.lexBot === undefined) && !opts.urn) {
98
+ throw new Error("Missing required property 'lexBot'");
99
+ }
100
+ inputs["instanceId"] = args ? args.instanceId : undefined;
101
+ inputs["lexBot"] = args ? args.lexBot : undefined;
102
+ }
103
+ if (!opts.version) {
104
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
105
+ }
106
+ super(BotAssociation.__pulumiType, name, inputs, opts);
107
+ }
108
+ /**
109
+ * Get an existing BotAssociation resource's state with the given name, ID, and optional extra
110
+ * properties used to qualify the lookup.
111
+ *
112
+ * @param name The _unique_ name of the resulting resource.
113
+ * @param id The _unique_ provider ID of the resource to lookup.
114
+ * @param state Any extra arguments used during the lookup.
115
+ * @param opts Optional settings to control the behavior of the CustomResource.
116
+ */
117
+ static get(name, id, state, opts) {
118
+ return new BotAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
119
+ }
120
+ /**
121
+ * Returns true if the given object is an instance of BotAssociation. This is designed to work even
122
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
123
+ */
124
+ static isInstance(obj) {
125
+ if (obj === undefined || obj === null) {
126
+ return false;
127
+ }
128
+ return obj['__pulumiType'] === BotAssociation.__pulumiType;
129
+ }
130
+ }
131
+ exports.BotAssociation = BotAssociation;
132
+ /** @internal */
133
+ BotAssociation.__pulumiType = 'aws:connect/botAssociation:BotAssociation';
134
+ //# sourceMappingURL=botAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"botAssociation.js","sourceRoot":"","sources":["../../connect/botAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA6CrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SACrD;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,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAlED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAoEC;AAtDG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
@@ -109,13 +109,13 @@ export declare class ContactFlow extends pulumi.CustomResource {
109
109
  */
110
110
  readonly name: pulumi.Output<string>;
111
111
  /**
112
- * Tags to apply to the Contact Flow. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
112
+ * Tags to apply to the Contact Flow. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
113
113
  */
114
114
  readonly tags: pulumi.Output<{
115
115
  [key: string]: string;
116
116
  } | undefined>;
117
117
  /**
118
- * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
118
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
119
119
  */
120
120
  readonly tagsAll: pulumi.Output<{
121
121
  [key: string]: string;
@@ -167,13 +167,13 @@ export interface ContactFlowState {
167
167
  */
168
168
  name?: pulumi.Input<string>;
169
169
  /**
170
- * Tags to apply to the Contact Flow. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
170
+ * Tags to apply to the Contact Flow. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
171
171
  */
172
172
  tags?: pulumi.Input<{
173
173
  [key: string]: pulumi.Input<string>;
174
174
  }>;
175
175
  /**
176
- * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
176
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
177
177
  */
178
178
  tagsAll?: pulumi.Input<{
179
179
  [key: string]: pulumi.Input<string>;
@@ -209,7 +209,7 @@ export interface ContactFlowArgs {
209
209
  */
210
210
  name?: pulumi.Input<string>;
211
211
  /**
212
- * Tags to apply to the Contact Flow. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
212
+ * Tags to apply to the Contact Flow. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
213
213
  */
214
214
  tags?: pulumi.Input<{
215
215
  [key: string]: pulumi.Input<string>;
@@ -0,0 +1,59 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Provides details about a specific Lex (V1) Bot associated with an Amazon Connect instance.
5
+ *
6
+ * ## Example Usage
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.getBotAssociation({
14
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
15
+ * lexBot: {
16
+ * name: "Test",
17
+ * },
18
+ * }));
19
+ * ```
20
+ */
21
+ export declare function getBotAssociation(args: GetBotAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetBotAssociationResult>;
22
+ /**
23
+ * A collection of arguments for invoking getBotAssociation.
24
+ */
25
+ export interface GetBotAssociationArgs {
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
+ * Configuration information of an Amazon Lex (V1) bot. Detailed below.
32
+ */
33
+ lexBot: inputs.connect.GetBotAssociationLexBot;
34
+ }
35
+ /**
36
+ * A collection of values returned by getBotAssociation.
37
+ */
38
+ export interface GetBotAssociationResult {
39
+ /**
40
+ * The provider-assigned unique ID for this managed resource.
41
+ */
42
+ readonly id: string;
43
+ readonly instanceId: string;
44
+ readonly lexBot: outputs.connect.GetBotAssociationLexBot;
45
+ }
46
+ export declare function getBotAssociationOutput(args: GetBotAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBotAssociationResult>;
47
+ /**
48
+ * A collection of arguments for invoking getBotAssociation.
49
+ */
50
+ export interface GetBotAssociationOutputArgs {
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
+ /**
56
+ * Configuration information of an Amazon Lex (V1) bot. Detailed below.
57
+ */
58
+ lexBot: pulumi.Input<inputs.connect.GetBotAssociationLexBotArgs>;
59
+ }
@@ -0,0 +1,43 @@
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.getBotAssociationOutput = exports.getBotAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides details about a specific Lex (V1) Bot associated with an Amazon Connect instance.
10
+ *
11
+ * ## Example Usage
12
+ * ### By name
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = pulumi.output(aws.connect.getBotAssociation({
19
+ * instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
20
+ * lexBot: {
21
+ * name: "Test",
22
+ * },
23
+ * }));
24
+ * ```
25
+ */
26
+ function getBotAssociation(args, opts) {
27
+ if (!opts) {
28
+ opts = {};
29
+ }
30
+ if (!opts.version) {
31
+ opts.version = utilities.getVersion();
32
+ }
33
+ return pulumi.runtime.invoke("aws:connect/getBotAssociation:getBotAssociation", {
34
+ "instanceId": args.instanceId,
35
+ "lexBot": args.lexBot,
36
+ }, opts);
37
+ }
38
+ exports.getBotAssociation = getBotAssociation;
39
+ function getBotAssociationOutput(args, opts) {
40
+ return pulumi.output(args).apply(a => getBotAssociation(a, opts));
41
+ }
42
+ exports.getBotAssociationOutput = getBotAssociationOutput;
43
+ //# sourceMappingURL=getBotAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBotAssociation.js","sourceRoot":"","sources":["../../connect/getBotAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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,iDAAiD,EAAE;QAC5E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8CAYC;AA4BD,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"}