@pulumi/aws 5.2.0-alpha.1650047579 → 5.2.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 (324) hide show
  1. package/apigateway/stage.d.ts +18 -6
  2. package/apigateway/stage.js +2 -0
  3. package/apigateway/stage.js.map +1 -1
  4. package/athena/database.d.ts +42 -0
  5. package/athena/database.js +26 -0
  6. package/athena/database.js.map +1 -1
  7. package/autoscaling/attachment.d.ts +1 -1
  8. package/autoscaling/attachment.js +1 -1
  9. package/autoscaling/group.d.ts +19 -10
  10. package/autoscaling/group.js +4 -1
  11. package/autoscaling/group.js.map +1 -1
  12. package/backup/plan.d.ts +3 -0
  13. package/backup/plan.js +3 -0
  14. package/backup/plan.js.map +1 -1
  15. package/cfg/rule.d.ts +39 -12
  16. package/cfg/rule.js +27 -0
  17. package/cfg/rule.js.map +1 -1
  18. package/cloudformation/stackSet.d.ts +12 -0
  19. package/cloudformation/stackSet.js +2 -0
  20. package/cloudformation/stackSet.js.map +1 -1
  21. package/cloudformation/stackSetInstance.d.ts +19 -1
  22. package/cloudformation/stackSetInstance.js +9 -1
  23. package/cloudformation/stackSetInstance.js.map +1 -1
  24. package/cloudtrail/trail.d.ts +31 -30
  25. package/cloudtrail/trail.js +31 -30
  26. package/cloudtrail/trail.js.map +1 -1
  27. package/cloudwatch/getEventBus.d.ts +51 -0
  28. package/cloudwatch/getEventBus.js +38 -0
  29. package/cloudwatch/getEventBus.js.map +1 -0
  30. package/cloudwatch/index.d.ts +1 -0
  31. package/cloudwatch/index.js +1 -0
  32. package/cloudwatch/index.js.map +1 -1
  33. package/cognito/index.d.ts +1 -0
  34. package/cognito/index.js +5 -0
  35. package/cognito/index.js.map +1 -1
  36. package/cognito/userInGroup.d.ts +100 -0
  37. package/cognito/userInGroup.js +90 -0
  38. package/cognito/userInGroup.js.map +1 -0
  39. package/cognito/userPoolClient.d.ts +22 -0
  40. package/cognito/userPoolClient.js +22 -0
  41. package/cognito/userPoolClient.js.map +1 -1
  42. package/datasync/fsxOpenZfsFileSystem.d.ts +175 -0
  43. package/datasync/fsxOpenZfsFileSystem.js +104 -0
  44. package/datasync/fsxOpenZfsFileSystem.js.map +1 -0
  45. package/datasync/index.d.ts +1 -0
  46. package/datasync/index.js +5 -0
  47. package/datasync/index.js.map +1 -1
  48. package/dynamodb/contributorInsights.d.ts +82 -0
  49. package/dynamodb/contributorInsights.js +76 -0
  50. package/dynamodb/contributorInsights.js.map +1 -0
  51. package/dynamodb/index.d.ts +1 -0
  52. package/dynamodb/index.js +5 -0
  53. package/dynamodb/index.js.map +1 -1
  54. package/dynamodb/tableItem.d.ts +6 -9
  55. package/dynamodb/tableItem.js.map +1 -1
  56. package/ec2/amiLaunchPermission.d.ts +70 -10
  57. package/ec2/amiLaunchPermission.js +32 -5
  58. package/ec2/amiLaunchPermission.js.map +1 -1
  59. package/ec2/defaultNetworkAcl.d.ts +1 -1
  60. package/ec2/defaultNetworkAcl.js +1 -1
  61. package/ec2/getEips.d.ts +1 -1
  62. package/ec2/getNatGateways.d.ts +65 -0
  63. package/ec2/getNatGateways.js +28 -0
  64. package/ec2/getNatGateways.js.map +1 -0
  65. package/ec2/getRoute.d.ts +9 -0
  66. package/ec2/getRoute.js +1 -0
  67. package/ec2/getRoute.js.map +1 -1
  68. package/ec2/index.d.ts +1 -0
  69. package/ec2/index.js +1 -0
  70. package/ec2/index.js.map +1 -1
  71. package/ec2/instance.d.ts +18 -6
  72. package/ec2/instance.js +2 -0
  73. package/ec2/instance.js.map +1 -1
  74. package/ec2/keyPair.d.ts +3 -12
  75. package/ec2/keyPair.js.map +1 -1
  76. package/ec2/route.d.ts +12 -0
  77. package/ec2/route.js +2 -0
  78. package/ec2/route.js.map +1 -1
  79. package/ec2/spotInstanceRequest.d.ts +18 -6
  80. package/ec2/spotInstanceRequest.js +2 -0
  81. package/ec2/spotInstanceRequest.js.map +1 -1
  82. package/ec2/vpc.d.ts +3 -3
  83. package/ec2/vpcEndpointService.d.ts +4 -4
  84. package/ec2/vpcIpam.d.ts +12 -0
  85. package/ec2/vpcIpam.js +2 -0
  86. package/ec2/vpcIpam.js.map +1 -1
  87. package/ec2/vpnConnection.d.ts +16 -0
  88. package/ec2/vpnConnection.js +4 -0
  89. package/ec2/vpnConnection.js.map +1 -1
  90. package/eks/addon.d.ts +18 -6
  91. package/eks/addon.js +2 -0
  92. package/eks/addon.js.map +1 -1
  93. package/eks/getAddonVersion.d.ts +82 -0
  94. package/eks/getAddonVersion.js +51 -0
  95. package/eks/getAddonVersion.js.map +1 -0
  96. package/eks/index.d.ts +1 -0
  97. package/eks/index.js +1 -0
  98. package/eks/index.js.map +1 -1
  99. package/elasticache/cluster.d.ts +64 -3
  100. package/elasticache/cluster.js +32 -0
  101. package/elasticache/cluster.js.map +1 -1
  102. package/elasticache/getCluster.d.ts +4 -0
  103. package/elasticache/getCluster.js.map +1 -1
  104. package/elasticache/getReplicationGroup.d.ts +5 -0
  105. package/elasticache/getReplicationGroup.js.map +1 -1
  106. package/elasticache/index.d.ts +1 -0
  107. package/elasticache/index.js +5 -0
  108. package/elasticache/index.js.map +1 -1
  109. package/elasticache/replicationGroup.d.ts +54 -6
  110. package/elasticache/replicationGroup.js +32 -0
  111. package/elasticache/replicationGroup.js.map +1 -1
  112. package/elasticache/userGroupAssociation.d.ts +100 -0
  113. package/elasticache/userGroupAssociation.js +97 -0
  114. package/elasticache/userGroupAssociation.js.map +1 -0
  115. package/emr/cluster.d.ts +6 -6
  116. package/gamelift/alias.d.ts +2 -2
  117. package/gamelift/alias.js +2 -2
  118. package/gamelift/build.d.ts +6 -6
  119. package/gamelift/build.js +2 -2
  120. package/gamelift/fleet.d.ts +10 -14
  121. package/gamelift/fleet.js +2 -2
  122. package/gamelift/fleet.js.map +1 -1
  123. package/gamelift/gameServerGroup.d.ts +5 -5
  124. package/gamelift/gameServerGroup.js +3 -3
  125. package/gamelift/gameSessionQueue.d.ts +2 -2
  126. package/gamelift/gameSessionQueue.js +2 -2
  127. package/gamelift/script.d.ts +4 -4
  128. package/gamelift/script.js +2 -2
  129. package/getCanonicalUserId.d.ts +2 -0
  130. package/getCanonicalUserId.js +2 -0
  131. package/getCanonicalUserId.js.map +1 -1
  132. package/glue/schema.d.ts +3 -3
  133. package/grafana/index.d.ts +1 -0
  134. package/grafana/index.js +5 -0
  135. package/grafana/index.js.map +1 -1
  136. package/grafana/roleAssociation.d.ts +121 -0
  137. package/grafana/roleAssociation.js +98 -0
  138. package/grafana/roleAssociation.js.map +1 -0
  139. package/guardduty/ipset.d.ts +0 -1
  140. package/guardduty/ipset.js +0 -1
  141. package/guardduty/ipset.js.map +1 -1
  142. package/iam/getSamlProvider.d.ts +81 -0
  143. package/iam/getSamlProvider.js +39 -0
  144. package/iam/getSamlProvider.js.map +1 -0
  145. package/iam/group.d.ts +0 -2
  146. package/iam/group.js +0 -2
  147. package/iam/group.js.map +1 -1
  148. package/iam/index.d.ts +1 -0
  149. package/iam/index.js +1 -0
  150. package/iam/index.js.map +1 -1
  151. package/imagebuilder/getImagePipelines.d.ts +57 -0
  152. package/imagebuilder/getImagePipelines.js +40 -0
  153. package/imagebuilder/getImagePipelines.js.map +1 -0
  154. package/imagebuilder/index.d.ts +1 -0
  155. package/imagebuilder/index.js +1 -0
  156. package/imagebuilder/index.js.map +1 -1
  157. package/index.d.ts +3 -1
  158. package/index.js +7 -3
  159. package/index.js.map +1 -1
  160. package/iot/authorizer.d.ts +12 -0
  161. package/iot/authorizer.js +2 -0
  162. package/iot/authorizer.js.map +1 -1
  163. package/iot/index.d.ts +3 -0
  164. package/iot/index.js +15 -0
  165. package/iot/index.js.map +1 -1
  166. package/iot/indexingConfiguration.d.ts +98 -0
  167. package/iot/indexingConfiguration.js +88 -0
  168. package/iot/indexingConfiguration.js.map +1 -0
  169. package/iot/loggingOptions.d.ts +87 -0
  170. package/iot/loggingOptions.js +74 -0
  171. package/iot/loggingOptions.js.map +1 -0
  172. package/iot/provisioningTemplate.d.ts +232 -0
  173. package/iot/provisioningTemplate.js +144 -0
  174. package/iot/provisioningTemplate.js.map +1 -0
  175. package/keyspaces/index.d.ts +1 -0
  176. package/keyspaces/index.js +37 -0
  177. package/keyspaces/index.js.map +1 -0
  178. package/keyspaces/keyspace.d.ts +114 -0
  179. package/keyspaces/keyspace.js +77 -0
  180. package/keyspaces/keyspace.js.map +1 -0
  181. package/lambda/function.d.ts +44 -0
  182. package/lambda/function.js +34 -0
  183. package/lambda/function.js.map +1 -1
  184. package/lambda/functionUrl.d.ts +153 -0
  185. package/lambda/functionUrl.js +111 -0
  186. package/lambda/functionUrl.js.map +1 -0
  187. package/lambda/getFunction.d.ts +4 -0
  188. package/lambda/getFunction.js.map +1 -1
  189. package/lambda/getFunctionUrl.d.ts +85 -0
  190. package/lambda/getFunctionUrl.js +39 -0
  191. package/lambda/getFunctionUrl.js.map +1 -0
  192. package/lambda/index.d.ts +2 -0
  193. package/lambda/index.js +6 -0
  194. package/lambda/index.js.map +1 -1
  195. package/lambda/permission.d.ts +18 -6
  196. package/lambda/permission.js +2 -0
  197. package/lambda/permission.js.map +1 -1
  198. package/memorydb/getAcl.d.ts +75 -0
  199. package/memorydb/getAcl.js +37 -0
  200. package/memorydb/getAcl.js.map +1 -0
  201. package/memorydb/getCluster.d.ts +152 -0
  202. package/memorydb/getCluster.js +37 -0
  203. package/memorydb/getCluster.js.map +1 -0
  204. package/memorydb/getParameterGroup.d.ts +83 -0
  205. package/memorydb/getParameterGroup.js +37 -0
  206. package/memorydb/getParameterGroup.js.map +1 -0
  207. package/memorydb/getSnapshot.d.ts +87 -0
  208. package/memorydb/getSnapshot.js +37 -0
  209. package/memorydb/getSnapshot.js.map +1 -0
  210. package/memorydb/getSubnetGroup.d.ts +79 -0
  211. package/memorydb/getSubnetGroup.js +37 -0
  212. package/memorydb/getSubnetGroup.js.map +1 -0
  213. package/memorydb/getUser.d.ts +80 -0
  214. package/memorydb/getUser.js +37 -0
  215. package/memorydb/getUser.js.map +1 -0
  216. package/memorydb/index.d.ts +6 -0
  217. package/memorydb/index.js +6 -0
  218. package/memorydb/index.js.map +1 -1
  219. package/msk/getCluster.d.ts +4 -0
  220. package/msk/getCluster.js.map +1 -1
  221. package/mskconnect/connector.d.ts +270 -0
  222. package/mskconnect/connector.js +166 -0
  223. package/mskconnect/connector.js.map +1 -0
  224. package/mskconnect/getConnector.d.ts +57 -0
  225. package/mskconnect/getConnector.js +36 -0
  226. package/mskconnect/getConnector.js.map +1 -0
  227. package/mskconnect/index.d.ts +2 -0
  228. package/mskconnect/index.js +6 -0
  229. package/mskconnect/index.js.map +1 -1
  230. package/mwaa/environment.d.ts +12 -0
  231. package/mwaa/environment.js +2 -0
  232. package/mwaa/environment.js.map +1 -1
  233. package/neptune/clusterEndpoint.d.ts +9 -0
  234. package/neptune/clusterEndpoint.js.map +1 -1
  235. package/opensearch/domain.d.ts +445 -0
  236. package/opensearch/domain.js +273 -0
  237. package/opensearch/domain.js.map +1 -0
  238. package/opensearch/domainPolicy.d.ts +93 -0
  239. package/opensearch/domainPolicy.js +90 -0
  240. package/opensearch/domainPolicy.js.map +1 -0
  241. package/opensearch/domainSamlOptions.d.ts +105 -0
  242. package/opensearch/domainSamlOptions.js +98 -0
  243. package/opensearch/domainSamlOptions.js.map +1 -0
  244. package/opensearch/getDomain.d.ts +144 -0
  245. package/opensearch/getDomain.js +37 -0
  246. package/opensearch/getDomain.js.map +1 -0
  247. package/opensearch/index.d.ts +4 -0
  248. package/opensearch/index.js +48 -0
  249. package/opensearch/index.js.map +1 -0
  250. package/organizations/account.d.ts +17 -5
  251. package/organizations/account.js +4 -2
  252. package/organizations/account.js.map +1 -1
  253. package/package.json +2 -2
  254. package/package.json.dev +2 -2
  255. package/qldb/getLedger.d.ts +10 -0
  256. package/qldb/getLedger.js +1 -0
  257. package/qldb/getLedger.js.map +1 -1
  258. package/qldb/index.d.ts +1 -0
  259. package/qldb/index.js +5 -0
  260. package/qldb/index.js.map +1 -1
  261. package/qldb/ledger.d.ts +12 -0
  262. package/qldb/ledger.js +2 -0
  263. package/qldb/ledger.js.map +1 -1
  264. package/qldb/stream.d.ts +159 -0
  265. package/qldb/stream.js +104 -0
  266. package/qldb/stream.js.map +1 -0
  267. package/rds/cluster.d.ts +3 -3
  268. package/rds/clusterActivityStream.d.ts +138 -0
  269. package/rds/clusterActivityStream.js +112 -0
  270. package/rds/clusterActivityStream.js.map +1 -0
  271. package/rds/index.d.ts +2 -0
  272. package/rds/index.js +10 -0
  273. package/rds/index.js.map +1 -1
  274. package/rds/instance.d.ts +3 -3
  275. package/rds/instanceAutomatedBackupsReplication.d.ts +153 -0
  276. package/rds/instanceAutomatedBackupsReplication.js +127 -0
  277. package/rds/instanceAutomatedBackupsReplication.js.map +1 -0
  278. package/route53/getTrafficPolicyDocument.d.ts +125 -0
  279. package/route53/getTrafficPolicyDocument.js +72 -0
  280. package/route53/getTrafficPolicyDocument.js.map +1 -0
  281. package/route53/index.d.ts +3 -0
  282. package/route53/index.js +11 -0
  283. package/route53/index.js.map +1 -1
  284. package/route53/trafficPolicy.d.ts +122 -0
  285. package/route53/trafficPolicy.js +94 -0
  286. package/route53/trafficPolicy.js.map +1 -0
  287. package/route53/trafficPolicyInstance.d.ts +121 -0
  288. package/route53/trafficPolicyInstance.js +94 -0
  289. package/route53/trafficPolicyInstance.js.map +1 -0
  290. package/s3/bucketObject.d.ts +2 -12
  291. package/s3/bucketObject.js +2 -0
  292. package/s3/bucketObject.js.map +1 -1
  293. package/s3/bucketObjectLockConfigurationV2.d.ts +35 -2
  294. package/s3/bucketObjectLockConfigurationV2.js +35 -2
  295. package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
  296. package/s3/bucketV2.d.ts +518 -32
  297. package/s3/bucketV2.js +378 -12
  298. package/s3/bucketV2.js.map +1 -1
  299. package/s3/getCanonicalUserId.d.ts +2 -0
  300. package/s3/getCanonicalUserId.js +2 -0
  301. package/s3/getCanonicalUserId.js.map +1 -1
  302. package/ses/identityNotificationTopic.d.ts +10 -10
  303. package/ses/identityNotificationTopic.js +1 -1
  304. package/ssm/getDocument.d.ts +3 -3
  305. package/ssm/getMaintenanceWindows.d.ts +53 -0
  306. package/ssm/getMaintenanceWindows.js +40 -0
  307. package/ssm/getMaintenanceWindows.js.map +1 -0
  308. package/ssm/index.d.ts +1 -0
  309. package/ssm/index.js +1 -0
  310. package/ssm/index.js.map +1 -1
  311. package/ssm/maintenanceWindowTask.d.ts +30 -2
  312. package/ssm/maintenanceWindowTask.js +6 -6
  313. package/ssm/maintenanceWindowTask.js.map +1 -1
  314. package/storagegateway/gateway.d.ts +12 -0
  315. package/storagegateway/gateway.js +2 -0
  316. package/storagegateway/gateway.js.map +1 -1
  317. package/storagegateway/nfsFileShare.d.ts +24 -0
  318. package/storagegateway/nfsFileShare.js +4 -0
  319. package/storagegateway/nfsFileShare.js.map +1 -1
  320. package/types/input.d.ts +1658 -413
  321. package/types/output.d.ts +1672 -285
  322. package/xray/group.d.ts +17 -0
  323. package/xray/group.js +6 -0
  324. package/xray/group.js.map +1 -1
@@ -175,11 +175,15 @@ export declare class Permission extends pulumi.CustomResource {
175
175
  */
176
176
  readonly function: pulumi.Output<string>;
177
177
  /**
178
- * The principal who is getting this permissionE.g., `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
178
+ * The principal who is getting this permission e.g., `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
179
179
  */
180
180
  readonly principal: pulumi.Output<string>;
181
181
  /**
182
- * Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARNE.g., `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
182
+ * The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization.
183
+ */
184
+ readonly principalOrgId: pulumi.Output<string | undefined>;
185
+ /**
186
+ * Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN e.g., `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
183
187
  */
184
188
  readonly qualifier: pulumi.Output<string | undefined>;
185
189
  /**
@@ -228,11 +232,15 @@ export interface PermissionState {
228
232
  */
229
233
  function?: pulumi.Input<string | Function>;
230
234
  /**
231
- * The principal who is getting this permissionE.g., `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
235
+ * The principal who is getting this permission e.g., `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
232
236
  */
233
237
  principal?: pulumi.Input<string>;
234
238
  /**
235
- * Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARNE.g., `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
239
+ * The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization.
240
+ */
241
+ principalOrgId?: pulumi.Input<string>;
242
+ /**
243
+ * Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN e.g., `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
236
244
  */
237
245
  qualifier?: pulumi.Input<string>;
238
246
  /**
@@ -273,11 +281,15 @@ export interface PermissionArgs {
273
281
  */
274
282
  function: pulumi.Input<string | Function>;
275
283
  /**
276
- * The principal who is getting this permissionE.g., `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
284
+ * The principal who is getting this permission e.g., `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
277
285
  */
278
286
  principal: pulumi.Input<string>;
279
287
  /**
280
- * Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARNE.g., `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
288
+ * The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization.
289
+ */
290
+ principalOrgId?: pulumi.Input<string>;
291
+ /**
292
+ * Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN e.g., `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
281
293
  */
282
294
  qualifier?: pulumi.Input<string>;
283
295
  /**
@@ -161,6 +161,7 @@ class Permission extends pulumi.CustomResource {
161
161
  resourceInputs["eventSourceToken"] = state ? state.eventSourceToken : undefined;
162
162
  resourceInputs["function"] = state ? state.function : undefined;
163
163
  resourceInputs["principal"] = state ? state.principal : undefined;
164
+ resourceInputs["principalOrgId"] = state ? state.principalOrgId : undefined;
164
165
  resourceInputs["qualifier"] = state ? state.qualifier : undefined;
165
166
  resourceInputs["sourceAccount"] = state ? state.sourceAccount : undefined;
166
167
  resourceInputs["sourceArn"] = state ? state.sourceArn : undefined;
@@ -182,6 +183,7 @@ class Permission extends pulumi.CustomResource {
182
183
  resourceInputs["eventSourceToken"] = args ? args.eventSourceToken : undefined;
183
184
  resourceInputs["function"] = args ? args.function : undefined;
184
185
  resourceInputs["principal"] = args ? args.principal : undefined;
186
+ resourceInputs["principalOrgId"] = args ? args.principalOrgId : undefined;
185
187
  resourceInputs["qualifier"] = args ? args.qualifier : undefined;
186
188
  resourceInputs["sourceAccount"] = args ? args.sourceAccount : undefined;
187
189
  resourceInputs["sourceArn"] = args ? args.sourceArn : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"permission.js","sourceRoot":"","sources":["../../lambda/permission.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiJG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA6EjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,C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
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const example = pulumi.output(aws.memorydb.getAcl({
12
+ * name: "my-acl",
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function getAcl(args: GetAclArgs, opts?: pulumi.InvokeOptions): Promise<GetAclResult>;
17
+ /**
18
+ * A collection of arguments for invoking getAcl.
19
+ */
20
+ export interface GetAclArgs {
21
+ /**
22
+ * Name of the ACL.
23
+ */
24
+ name: string;
25
+ /**
26
+ * A map of tags assigned to the ACL.
27
+ */
28
+ tags?: {
29
+ [key: string]: string;
30
+ };
31
+ }
32
+ /**
33
+ * A collection of values returned by getAcl.
34
+ */
35
+ export interface GetAclResult {
36
+ /**
37
+ * ARN of the ACL.
38
+ */
39
+ readonly arn: string;
40
+ /**
41
+ * The provider-assigned unique ID for this managed resource.
42
+ */
43
+ readonly id: string;
44
+ /**
45
+ * The minimum engine version supported by the ACL.
46
+ */
47
+ readonly minimumEngineVersion: string;
48
+ readonly name: string;
49
+ /**
50
+ * A map of tags assigned to the ACL.
51
+ */
52
+ readonly tags: {
53
+ [key: string]: string;
54
+ };
55
+ /**
56
+ * Set of MemoryDB user names included in this ACL.
57
+ */
58
+ readonly userNames: string[];
59
+ }
60
+ export declare function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAclResult>;
61
+ /**
62
+ * A collection of arguments for invoking getAcl.
63
+ */
64
+ export interface GetAclOutputArgs {
65
+ /**
66
+ * Name of the ACL.
67
+ */
68
+ name: pulumi.Input<string>;
69
+ /**
70
+ * A map of tags assigned to the ACL.
71
+ */
72
+ tags?: pulumi.Input<{
73
+ [key: string]: pulumi.Input<string>;
74
+ }>;
75
+ }
@@ -0,0 +1,37 @@
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.getAclOutput = exports.getAcl = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides information about a MemoryDB ACL.
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.memorydb.getAcl({
18
+ * name: "my-acl",
19
+ * }));
20
+ * ```
21
+ */
22
+ function getAcl(args, opts) {
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("aws:memorydb/getAcl:getAcl", {
28
+ "name": args.name,
29
+ "tags": args.tags,
30
+ }, opts);
31
+ }
32
+ exports.getAcl = getAcl;
33
+ function getAclOutput(args, opts) {
34
+ return pulumi.output(args).apply(a => getAcl(a, opts));
35
+ }
36
+ exports.getAclOutput = getAclOutput;
37
+ //# sourceMappingURL=getAcl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAcl.js","sourceRoot":"","sources":["../../memorydb/getAcl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wBAUC;AA2CD,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC"}
@@ -0,0 +1,152 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Provides information about a MemoryDB Cluster.
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 = pulumi.output(aws.memorydb.getCluster({
13
+ * name: "my-cluster",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
18
+ /**
19
+ * A collection of arguments for invoking getCluster.
20
+ */
21
+ export interface GetClusterArgs {
22
+ /**
23
+ * Name of the cluster.
24
+ */
25
+ name: string;
26
+ /**
27
+ * A map of tags assigned to the cluster.
28
+ */
29
+ tags?: {
30
+ [key: string]: string;
31
+ };
32
+ }
33
+ /**
34
+ * A collection of values returned by getCluster.
35
+ */
36
+ export interface GetClusterResult {
37
+ /**
38
+ * The name of the Access Control List associated with the cluster.
39
+ */
40
+ readonly aclName: string;
41
+ /**
42
+ * The ARN of the cluster.
43
+ */
44
+ readonly arn: string;
45
+ /**
46
+ * True when the cluster allows automatic minor version upgrades.
47
+ * * `clusterEndpoint`
48
+ */
49
+ readonly autoMinorVersionUpgrade: boolean;
50
+ readonly clusterEndpoints: outputs.memorydb.GetClusterClusterEndpoint[];
51
+ /**
52
+ * Description for the cluster.
53
+ */
54
+ readonly description: string;
55
+ /**
56
+ * Patch version number of the Redis engine used by the cluster.
57
+ */
58
+ readonly enginePatchVersion: string;
59
+ /**
60
+ * Version number of the Redis engine used by the cluster.
61
+ */
62
+ readonly engineVersion: string;
63
+ /**
64
+ * Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
65
+ */
66
+ readonly finalSnapshotName: string;
67
+ /**
68
+ * The provider-assigned unique ID for this managed resource.
69
+ */
70
+ readonly id: string;
71
+ /**
72
+ * ARN of the KMS key used to encrypt the cluster at rest.
73
+ */
74
+ readonly kmsKeyArn: string;
75
+ /**
76
+ * The weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). Example: `sun:23:00-mon:01:30`.
77
+ */
78
+ readonly maintenanceWindow: string;
79
+ /**
80
+ * Name of this node.
81
+ * * `endpoint`
82
+ */
83
+ readonly name: string;
84
+ /**
85
+ * The compute and memory capacity of the nodes in the cluster.
86
+ */
87
+ readonly nodeType: string;
88
+ /**
89
+ * The number of replicas to apply to each shard.
90
+ */
91
+ readonly numReplicasPerShard: number;
92
+ /**
93
+ * The number of shards in the cluster.
94
+ */
95
+ readonly numShards: number;
96
+ /**
97
+ * The name of the parameter group associated with the cluster.
98
+ */
99
+ readonly parameterGroupName: string;
100
+ /**
101
+ * Port number that this node is listening on.
102
+ */
103
+ readonly port: number;
104
+ /**
105
+ * Set of VPC Security Group ID-s associated with this cluster.
106
+ */
107
+ readonly securityGroupIds: string[];
108
+ /**
109
+ * Set of shards in this cluster.
110
+ */
111
+ readonly shards: outputs.memorydb.GetClusterShard[];
112
+ /**
113
+ * The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled.
114
+ */
115
+ readonly snapshotRetentionLimit: number;
116
+ /**
117
+ * The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`.
118
+ */
119
+ readonly snapshotWindow: string;
120
+ /**
121
+ * ARN of the SNS topic to which cluster notifications are sent.
122
+ * * `subnetGroupName` -The name of the subnet group used for the cluster.
123
+ */
124
+ readonly snsTopicArn: string;
125
+ readonly subnetGroupName: string;
126
+ /**
127
+ * A map of tags assigned to the cluster.
128
+ */
129
+ readonly tags: {
130
+ [key: string]: string;
131
+ };
132
+ /**
133
+ * When true, in-transit encryption is enabled for the cluster.
134
+ */
135
+ readonly tlsEnabled: boolean;
136
+ }
137
+ export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterResult>;
138
+ /**
139
+ * A collection of arguments for invoking getCluster.
140
+ */
141
+ export interface GetClusterOutputArgs {
142
+ /**
143
+ * Name of the cluster.
144
+ */
145
+ name: pulumi.Input<string>;
146
+ /**
147
+ * A map of tags assigned to the cluster.
148
+ */
149
+ tags?: pulumi.Input<{
150
+ [key: string]: pulumi.Input<string>;
151
+ }>;
152
+ }
@@ -0,0 +1,37 @@
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.getClusterOutput = exports.getCluster = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides information about a MemoryDB Cluster.
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.memorydb.getCluster({
18
+ * name: "my-cluster",
19
+ * }));
20
+ * ```
21
+ */
22
+ function getCluster(args, opts) {
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("aws:memorydb/getCluster:getCluster", {
28
+ "name": args.name,
29
+ "tags": args.tags,
30
+ }, opts);
31
+ }
32
+ exports.getCluster = getCluster;
33
+ function getClusterOutput(args, opts) {
34
+ return pulumi.output(args).apply(a => getCluster(a, opts));
35
+ }
36
+ exports.getClusterOutput = getClusterOutput;
37
+ //# sourceMappingURL=getCluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../memorydb/getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AAuHD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Provides information about a MemoryDB Parameter Group.
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 = pulumi.output(aws.memorydb.getParameterGroup({
13
+ * name: "my-parameter-group",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function getParameterGroup(args: GetParameterGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetParameterGroupResult>;
18
+ /**
19
+ * A collection of arguments for invoking getParameterGroup.
20
+ */
21
+ export interface GetParameterGroupArgs {
22
+ /**
23
+ * Name of the parameter group.
24
+ */
25
+ name: string;
26
+ /**
27
+ * A map of tags assigned to the parameter group.
28
+ */
29
+ tags?: {
30
+ [key: string]: string;
31
+ };
32
+ }
33
+ /**
34
+ * A collection of values returned by getParameterGroup.
35
+ */
36
+ export interface GetParameterGroupResult {
37
+ /**
38
+ * ARN of the parameter group.
39
+ */
40
+ readonly arn: string;
41
+ /**
42
+ * Description of the parameter group.
43
+ */
44
+ readonly description: string;
45
+ /**
46
+ * The engine version that the parameter group can be used with.
47
+ */
48
+ readonly family: string;
49
+ /**
50
+ * The provider-assigned unique ID for this managed resource.
51
+ */
52
+ readonly id: string;
53
+ /**
54
+ * Name of the parameter.
55
+ */
56
+ readonly name: string;
57
+ /**
58
+ * Set of user-defined MemoryDB parameters applied by the parameter group.
59
+ */
60
+ readonly parameters: outputs.memorydb.GetParameterGroupParameter[];
61
+ /**
62
+ * A map of tags assigned to the parameter group.
63
+ */
64
+ readonly tags: {
65
+ [key: string]: string;
66
+ };
67
+ }
68
+ export declare function getParameterGroupOutput(args: GetParameterGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetParameterGroupResult>;
69
+ /**
70
+ * A collection of arguments for invoking getParameterGroup.
71
+ */
72
+ export interface GetParameterGroupOutputArgs {
73
+ /**
74
+ * Name of the parameter group.
75
+ */
76
+ name: pulumi.Input<string>;
77
+ /**
78
+ * A map of tags assigned to the parameter group.
79
+ */
80
+ tags?: pulumi.Input<{
81
+ [key: string]: pulumi.Input<string>;
82
+ }>;
83
+ }
@@ -0,0 +1,37 @@
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.getParameterGroupOutput = exports.getParameterGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides information about a MemoryDB Parameter Group.
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.memorydb.getParameterGroup({
18
+ * name: "my-parameter-group",
19
+ * }));
20
+ * ```
21
+ */
22
+ function getParameterGroup(args, opts) {
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("aws:memorydb/getParameterGroup:getParameterGroup", {
28
+ "name": args.name,
29
+ "tags": args.tags,
30
+ }, opts);
31
+ }
32
+ exports.getParameterGroup = getParameterGroup;
33
+ function getParameterGroupOutput(args, opts) {
34
+ return pulumi.output(args).apply(a => getParameterGroup(a, opts));
35
+ }
36
+ exports.getParameterGroupOutput = getParameterGroupOutput;
37
+ //# sourceMappingURL=getParameterGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParameterGroup.js","sourceRoot":"","sources":["../../memorydb/getParameterGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;AAkDD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
@@ -0,0 +1,87 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Provides information about a MemoryDB Snapshot.
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 = pulumi.output(aws.memorydb.getSnapshot({
13
+ * name: "my-snapshot",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function getSnapshot(args: GetSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetSnapshotResult>;
18
+ /**
19
+ * A collection of arguments for invoking getSnapshot.
20
+ */
21
+ export interface GetSnapshotArgs {
22
+ /**
23
+ * Name of the snapshot.
24
+ */
25
+ name: string;
26
+ /**
27
+ * A map of tags assigned to the snapshot.
28
+ */
29
+ tags?: {
30
+ [key: string]: string;
31
+ };
32
+ }
33
+ /**
34
+ * A collection of values returned by getSnapshot.
35
+ */
36
+ export interface GetSnapshotResult {
37
+ /**
38
+ * The ARN of the snapshot.
39
+ */
40
+ readonly arn: string;
41
+ /**
42
+ * The configuration of the cluster from which the snapshot was taken.
43
+ */
44
+ readonly clusterConfigurations: outputs.memorydb.GetSnapshotClusterConfiguration[];
45
+ /**
46
+ * Name of the MemoryDB cluster that this snapshot was taken from.
47
+ */
48
+ readonly clusterName: string;
49
+ /**
50
+ * The provider-assigned unique ID for this managed resource.
51
+ */
52
+ readonly id: string;
53
+ /**
54
+ * ARN of the KMS key used to encrypt the snapshot at rest.
55
+ */
56
+ readonly kmsKeyArn: string;
57
+ /**
58
+ * Name of the cluster.
59
+ */
60
+ readonly name: string;
61
+ /**
62
+ * Indicates whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`).
63
+ */
64
+ readonly source: string;
65
+ /**
66
+ * A map of tags assigned to the snapshot.
67
+ */
68
+ readonly tags: {
69
+ [key: string]: string;
70
+ };
71
+ }
72
+ export declare function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSnapshotResult>;
73
+ /**
74
+ * A collection of arguments for invoking getSnapshot.
75
+ */
76
+ export interface GetSnapshotOutputArgs {
77
+ /**
78
+ * Name of the snapshot.
79
+ */
80
+ name: pulumi.Input<string>;
81
+ /**
82
+ * A map of tags assigned to the snapshot.
83
+ */
84
+ tags?: pulumi.Input<{
85
+ [key: string]: pulumi.Input<string>;
86
+ }>;
87
+ }
@@ -0,0 +1,37 @@
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.getSnapshotOutput = exports.getSnapshot = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides information about a MemoryDB Snapshot.
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.memorydb.getSnapshot({
18
+ * name: "my-snapshot",
19
+ * }));
20
+ * ```
21
+ */
22
+ function getSnapshot(args, opts) {
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("aws:memorydb/getSnapshot:getSnapshot", {
28
+ "name": args.name,
29
+ "tags": args.tags,
30
+ }, opts);
31
+ }
32
+ exports.getSnapshot = getSnapshot;
33
+ function getSnapshotOutput(args, opts) {
34
+ return pulumi.output(args).apply(a => getSnapshot(a, opts));
35
+ }
36
+ exports.getSnapshotOutput = getSnapshotOutput;
37
+ //# sourceMappingURL=getSnapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSnapshot.js","sourceRoot":"","sources":["../../memorydb/getSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC;AAsDD,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"}