Advertisement
Guest User

Untitled

a guest
Feb 21st, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.69 KB | None | 0 0
  1. {
  2. "Resources": {
  3. "discribeCustomersServiceRoleAA8DAF3A": {
  4. "Type": "AWS::IAM::Role",
  5. "Properties": {
  6. "AssumeRolePolicyDocument": {
  7. "Statement": [
  8. {
  9. "Action": "sts:AssumeRole",
  10. "Effect": "Allow",
  11. "Principal": {
  12. "Service": "lambda.amazonaws.com"
  13. }
  14. }
  15. ],
  16. "Version": "2012-10-17"
  17. },
  18. "ManagedPolicyArns": [
  19. {
  20. "Fn::Join": [
  21. "",
  22. [
  23. "arn:",
  24. {
  25. "Ref": "AWS::Partition"
  26. },
  27. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  28. ]
  29. ]
  30. }
  31. ]
  32. },
  33. "Metadata": {
  34. "aws:cdk:path": "DiscoveryStack/discribeCustomers/ServiceRole/Resource"
  35. }
  36. },
  37. "discribeCustomers97E0D99F": {
  38. "Type": "AWS::Lambda::Function",
  39. "Properties": {
  40. "Code": {
  41. "S3Bucket": {
  42. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  43. },
  44. "S3Key": "3c07089370c3688de077408a0d15ae3dddffe9d4c9f40051e2da65acb6e47d8c.zip"
  45. },
  46. "Environment": {
  47. "Variables": {
  48. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  49. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  50. }
  51. },
  52. "FunctionName": "discribeCustomers",
  53. "Handler": "index.handler",
  54. "Role": {
  55. "Fn::GetAtt": [
  56. "discribeCustomersServiceRoleAA8DAF3A",
  57. "Arn"
  58. ]
  59. },
  60. "Runtime": "nodejs18.x",
  61. "Timeout": 29
  62. },
  63. "DependsOn": [
  64. "discribeCustomersServiceRoleAA8DAF3A"
  65. ],
  66. "Metadata": {
  67. "aws:cdk:path": "DiscoveryStack/discribeCustomers/Resource",
  68. "aws:asset:path": "asset.3c07089370c3688de077408a0d15ae3dddffe9d4c9f40051e2da65acb6e47d8c",
  69. "aws:asset:is-bundled": true,
  70. "aws:asset:property": "Code"
  71. }
  72. },
  73. "saveCustomersServiceRoleB191588C": {
  74. "Type": "AWS::IAM::Role",
  75. "Properties": {
  76. "AssumeRolePolicyDocument": {
  77. "Statement": [
  78. {
  79. "Action": "sts:AssumeRole",
  80. "Effect": "Allow",
  81. "Principal": {
  82. "Service": "lambda.amazonaws.com"
  83. }
  84. }
  85. ],
  86. "Version": "2012-10-17"
  87. },
  88. "ManagedPolicyArns": [
  89. {
  90. "Fn::Join": [
  91. "",
  92. [
  93. "arn:",
  94. {
  95. "Ref": "AWS::Partition"
  96. },
  97. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  98. ]
  99. ]
  100. }
  101. ]
  102. },
  103. "Metadata": {
  104. "aws:cdk:path": "DiscoveryStack/saveCustomers/ServiceRole/Resource"
  105. }
  106. },
  107. "saveCustomersA1CDF9FF": {
  108. "Type": "AWS::Lambda::Function",
  109. "Properties": {
  110. "Code": {
  111. "S3Bucket": {
  112. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  113. },
  114. "S3Key": "3a13abd82fc43ffbd484d88c7f927fd8c62ad5e7e0603cd018fd266861a99789.zip"
  115. },
  116. "Environment": {
  117. "Variables": {
  118. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  119. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  120. }
  121. },
  122. "FunctionName": "saveCustomers",
  123. "Handler": "index.handler",
  124. "Role": {
  125. "Fn::GetAtt": [
  126. "saveCustomersServiceRoleB191588C",
  127. "Arn"
  128. ]
  129. },
  130. "Runtime": "nodejs18.x",
  131. "Timeout": 29
  132. },
  133. "DependsOn": [
  134. "saveCustomersServiceRoleB191588C"
  135. ],
  136. "Metadata": {
  137. "aws:cdk:path": "DiscoveryStack/saveCustomers/Resource",
  138. "aws:asset:path": "asset.3a13abd82fc43ffbd484d88c7f927fd8c62ad5e7e0603cd018fd266861a99789",
  139. "aws:asset:is-bundled": true,
  140. "aws:asset:property": "Code"
  141. }
  142. },
  143. "discribeCategoriesServiceRoleB8AA25E0": {
  144. "Type": "AWS::IAM::Role",
  145. "Properties": {
  146. "AssumeRolePolicyDocument": {
  147. "Statement": [
  148. {
  149. "Action": "sts:AssumeRole",
  150. "Effect": "Allow",
  151. "Principal": {
  152. "Service": "lambda.amazonaws.com"
  153. }
  154. }
  155. ],
  156. "Version": "2012-10-17"
  157. },
  158. "ManagedPolicyArns": [
  159. {
  160. "Fn::Join": [
  161. "",
  162. [
  163. "arn:",
  164. {
  165. "Ref": "AWS::Partition"
  166. },
  167. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  168. ]
  169. ]
  170. }
  171. ]
  172. },
  173. "Metadata": {
  174. "aws:cdk:path": "DiscoveryStack/discribeCategories/ServiceRole/Resource"
  175. }
  176. },
  177. "discribeCategories32473403": {
  178. "Type": "AWS::Lambda::Function",
  179. "Properties": {
  180. "Code": {
  181. "S3Bucket": {
  182. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  183. },
  184. "S3Key": "9f6d6758b47557fbf3ea97a5a80c86fbaa5b9c79b9de8220d32902ecd421b4ac.zip"
  185. },
  186. "Environment": {
  187. "Variables": {
  188. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  189. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  190. }
  191. },
  192. "FunctionName": "discribeCategories",
  193. "Handler": "index.handler",
  194. "Role": {
  195. "Fn::GetAtt": [
  196. "discribeCategoriesServiceRoleB8AA25E0",
  197. "Arn"
  198. ]
  199. },
  200. "Runtime": "nodejs18.x",
  201. "Timeout": 29
  202. },
  203. "DependsOn": [
  204. "discribeCategoriesServiceRoleB8AA25E0"
  205. ],
  206. "Metadata": {
  207. "aws:cdk:path": "DiscoveryStack/discribeCategories/Resource",
  208. "aws:asset:path": "asset.9f6d6758b47557fbf3ea97a5a80c86fbaa5b9c79b9de8220d32902ecd421b4ac",
  209. "aws:asset:is-bundled": true,
  210. "aws:asset:property": "Code"
  211. }
  212. },
  213. "saveCategoriesServiceRole6F23B065": {
  214. "Type": "AWS::IAM::Role",
  215. "Properties": {
  216. "AssumeRolePolicyDocument": {
  217. "Statement": [
  218. {
  219. "Action": "sts:AssumeRole",
  220. "Effect": "Allow",
  221. "Principal": {
  222. "Service": "lambda.amazonaws.com"
  223. }
  224. }
  225. ],
  226. "Version": "2012-10-17"
  227. },
  228. "ManagedPolicyArns": [
  229. {
  230. "Fn::Join": [
  231. "",
  232. [
  233. "arn:",
  234. {
  235. "Ref": "AWS::Partition"
  236. },
  237. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  238. ]
  239. ]
  240. }
  241. ]
  242. },
  243. "Metadata": {
  244. "aws:cdk:path": "DiscoveryStack/saveCategories/ServiceRole/Resource"
  245. }
  246. },
  247. "saveCategories43CA66F4": {
  248. "Type": "AWS::Lambda::Function",
  249. "Properties": {
  250. "Code": {
  251. "S3Bucket": {
  252. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  253. },
  254. "S3Key": "7a63f12e6fac39fcc584cf8d7f953bd34260cb3dea1385b143e8594f20e9b422.zip"
  255. },
  256. "Environment": {
  257. "Variables": {
  258. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  259. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  260. }
  261. },
  262. "FunctionName": "saveCategories",
  263. "Handler": "index.handler",
  264. "Role": {
  265. "Fn::GetAtt": [
  266. "saveCategoriesServiceRole6F23B065",
  267. "Arn"
  268. ]
  269. },
  270. "Runtime": "nodejs18.x",
  271. "Timeout": 29
  272. },
  273. "DependsOn": [
  274. "saveCategoriesServiceRole6F23B065"
  275. ],
  276. "Metadata": {
  277. "aws:cdk:path": "DiscoveryStack/saveCategories/Resource",
  278. "aws:asset:path": "asset.7a63f12e6fac39fcc584cf8d7f953bd34260cb3dea1385b143e8594f20e9b422",
  279. "aws:asset:is-bundled": true,
  280. "aws:asset:property": "Code"
  281. }
  282. },
  283. "discribeAttributesServiceRoleDD087781": {
  284. "Type": "AWS::IAM::Role",
  285. "Properties": {
  286. "AssumeRolePolicyDocument": {
  287. "Statement": [
  288. {
  289. "Action": "sts:AssumeRole",
  290. "Effect": "Allow",
  291. "Principal": {
  292. "Service": "lambda.amazonaws.com"
  293. }
  294. }
  295. ],
  296. "Version": "2012-10-17"
  297. },
  298. "ManagedPolicyArns": [
  299. {
  300. "Fn::Join": [
  301. "",
  302. [
  303. "arn:",
  304. {
  305. "Ref": "AWS::Partition"
  306. },
  307. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  308. ]
  309. ]
  310. }
  311. ]
  312. },
  313. "Metadata": {
  314. "aws:cdk:path": "DiscoveryStack/discribeAttributes/ServiceRole/Resource"
  315. }
  316. },
  317. "discribeAttributes78BAF421": {
  318. "Type": "AWS::Lambda::Function",
  319. "Properties": {
  320. "Code": {
  321. "S3Bucket": {
  322. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  323. },
  324. "S3Key": "aa0c0690b3ce31e35cde1f02b4561997ad4907833286854946bd440b041f72c6.zip"
  325. },
  326. "Environment": {
  327. "Variables": {
  328. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  329. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  330. }
  331. },
  332. "FunctionName": "discribeAttributes",
  333. "Handler": "index.handler",
  334. "Role": {
  335. "Fn::GetAtt": [
  336. "discribeAttributesServiceRoleDD087781",
  337. "Arn"
  338. ]
  339. },
  340. "Runtime": "nodejs18.x",
  341. "Timeout": 29
  342. },
  343. "DependsOn": [
  344. "discribeAttributesServiceRoleDD087781"
  345. ],
  346. "Metadata": {
  347. "aws:cdk:path": "DiscoveryStack/discribeAttributes/Resource",
  348. "aws:asset:path": "asset.aa0c0690b3ce31e35cde1f02b4561997ad4907833286854946bd440b041f72c6",
  349. "aws:asset:is-bundled": true,
  350. "aws:asset:property": "Code"
  351. }
  352. },
  353. "saveAttributesServiceRole950608E4": {
  354. "Type": "AWS::IAM::Role",
  355. "Properties": {
  356. "AssumeRolePolicyDocument": {
  357. "Statement": [
  358. {
  359. "Action": "sts:AssumeRole",
  360. "Effect": "Allow",
  361. "Principal": {
  362. "Service": "lambda.amazonaws.com"
  363. }
  364. }
  365. ],
  366. "Version": "2012-10-17"
  367. },
  368. "ManagedPolicyArns": [
  369. {
  370. "Fn::Join": [
  371. "",
  372. [
  373. "arn:",
  374. {
  375. "Ref": "AWS::Partition"
  376. },
  377. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  378. ]
  379. ]
  380. }
  381. ]
  382. },
  383. "Metadata": {
  384. "aws:cdk:path": "DiscoveryStack/saveAttributes/ServiceRole/Resource"
  385. }
  386. },
  387. "saveAttributesC653E050": {
  388. "Type": "AWS::Lambda::Function",
  389. "Properties": {
  390. "Code": {
  391. "S3Bucket": {
  392. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  393. },
  394. "S3Key": "6a2fd03abff5be1456f65cb30f874f84305dfc05fdbe5fde693589aa997a10d9.zip"
  395. },
  396. "Environment": {
  397. "Variables": {
  398. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  399. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  400. }
  401. },
  402. "FunctionName": "saveAttributes",
  403. "Handler": "index.handler",
  404. "Role": {
  405. "Fn::GetAtt": [
  406. "saveAttributesServiceRole950608E4",
  407. "Arn"
  408. ]
  409. },
  410. "Runtime": "nodejs18.x",
  411. "Timeout": 29
  412. },
  413. "DependsOn": [
  414. "saveAttributesServiceRole950608E4"
  415. ],
  416. "Metadata": {
  417. "aws:cdk:path": "DiscoveryStack/saveAttributes/Resource",
  418. "aws:asset:path": "asset.6a2fd03abff5be1456f65cb30f874f84305dfc05fdbe5fde693589aa997a10d9",
  419. "aws:asset:is-bundled": true,
  420. "aws:asset:property": "Code"
  421. }
  422. },
  423. "discribeProductsServiceRole8DC4F24A": {
  424. "Type": "AWS::IAM::Role",
  425. "Properties": {
  426. "AssumeRolePolicyDocument": {
  427. "Statement": [
  428. {
  429. "Action": "sts:AssumeRole",
  430. "Effect": "Allow",
  431. "Principal": {
  432. "Service": "lambda.amazonaws.com"
  433. }
  434. }
  435. ],
  436. "Version": "2012-10-17"
  437. },
  438. "ManagedPolicyArns": [
  439. {
  440. "Fn::Join": [
  441. "",
  442. [
  443. "arn:",
  444. {
  445. "Ref": "AWS::Partition"
  446. },
  447. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  448. ]
  449. ]
  450. }
  451. ]
  452. },
  453. "Metadata": {
  454. "aws:cdk:path": "DiscoveryStack/discribeProducts/ServiceRole/Resource"
  455. }
  456. },
  457. "discribeProducts9AB64238": {
  458. "Type": "AWS::Lambda::Function",
  459. "Properties": {
  460. "Code": {
  461. "S3Bucket": {
  462. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  463. },
  464. "S3Key": "0c42ddb66b3a1616da649d8fa1bf8dee879be76cf69f7546811d28ce2a830764.zip"
  465. },
  466. "Environment": {
  467. "Variables": {
  468. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  469. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  470. }
  471. },
  472. "FunctionName": "discribeProducts",
  473. "Handler": "index.handler",
  474. "Role": {
  475. "Fn::GetAtt": [
  476. "discribeProductsServiceRole8DC4F24A",
  477. "Arn"
  478. ]
  479. },
  480. "Runtime": "nodejs18.x",
  481. "Timeout": 3600
  482. },
  483. "DependsOn": [
  484. "discribeProductsServiceRole8DC4F24A"
  485. ],
  486. "Metadata": {
  487. "aws:cdk:path": "DiscoveryStack/discribeProducts/Resource",
  488. "aws:asset:path": "asset.0c42ddb66b3a1616da649d8fa1bf8dee879be76cf69f7546811d28ce2a830764",
  489. "aws:asset:is-bundled": true,
  490. "aws:asset:property": "Code"
  491. }
  492. },
  493. "saveProductsServiceRole6320A107": {
  494. "Type": "AWS::IAM::Role",
  495. "Properties": {
  496. "AssumeRolePolicyDocument": {
  497. "Statement": [
  498. {
  499. "Action": "sts:AssumeRole",
  500. "Effect": "Allow",
  501. "Principal": {
  502. "Service": "lambda.amazonaws.com"
  503. }
  504. }
  505. ],
  506. "Version": "2012-10-17"
  507. },
  508. "ManagedPolicyArns": [
  509. {
  510. "Fn::Join": [
  511. "",
  512. [
  513. "arn:",
  514. {
  515. "Ref": "AWS::Partition"
  516. },
  517. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  518. ]
  519. ]
  520. }
  521. ]
  522. },
  523. "Metadata": {
  524. "aws:cdk:path": "DiscoveryStack/saveProducts/ServiceRole/Resource"
  525. }
  526. },
  527. "saveProducts22D2DD05": {
  528. "Type": "AWS::Lambda::Function",
  529. "Properties": {
  530. "Code": {
  531. "S3Bucket": {
  532. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  533. },
  534. "S3Key": "9596fde4c60543abd68e2e4f464076a3cf2dba91f895f67e7b5e38a77b8fc871.zip"
  535. },
  536. "Environment": {
  537. "Variables": {
  538. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  539. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  540. }
  541. },
  542. "FunctionName": "saveProducts",
  543. "Handler": "index.handler",
  544. "Role": {
  545. "Fn::GetAtt": [
  546. "saveProductsServiceRole6320A107",
  547. "Arn"
  548. ]
  549. },
  550. "Runtime": "nodejs18.x",
  551. "Timeout": 3600
  552. },
  553. "DependsOn": [
  554. "saveProductsServiceRole6320A107"
  555. ],
  556. "Metadata": {
  557. "aws:cdk:path": "DiscoveryStack/saveProducts/Resource",
  558. "aws:asset:path": "asset.9596fde4c60543abd68e2e4f464076a3cf2dba91f895f67e7b5e38a77b8fc871",
  559. "aws:asset:is-bundled": true,
  560. "aws:asset:property": "Code"
  561. }
  562. },
  563. "inrichAttributesServiceRole518C7C8A": {
  564. "Type": "AWS::IAM::Role",
  565. "Properties": {
  566. "AssumeRolePolicyDocument": {
  567. "Statement": [
  568. {
  569. "Action": "sts:AssumeRole",
  570. "Effect": "Allow",
  571. "Principal": {
  572. "Service": "lambda.amazonaws.com"
  573. }
  574. }
  575. ],
  576. "Version": "2012-10-17"
  577. },
  578. "ManagedPolicyArns": [
  579. {
  580. "Fn::Join": [
  581. "",
  582. [
  583. "arn:",
  584. {
  585. "Ref": "AWS::Partition"
  586. },
  587. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  588. ]
  589. ]
  590. }
  591. ]
  592. },
  593. "Metadata": {
  594. "aws:cdk:path": "DiscoveryStack/inrichAttributes/ServiceRole/Resource"
  595. }
  596. },
  597. "inrichAttributes6F2CD79D": {
  598. "Type": "AWS::Lambda::Function",
  599. "Properties": {
  600. "Code": {
  601. "S3Bucket": {
  602. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  603. },
  604. "S3Key": "c4fd06b39b95e708ca3ae3b3ee19fe3c4a02b980cc0f4cc3d74e6dd0c3be425b.zip"
  605. },
  606. "Environment": {
  607. "Variables": {
  608. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  609. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  610. }
  611. },
  612. "FunctionName": "inrichAttributes",
  613. "Handler": "index.handler",
  614. "Role": {
  615. "Fn::GetAtt": [
  616. "inrichAttributesServiceRole518C7C8A",
  617. "Arn"
  618. ]
  619. },
  620. "Runtime": "nodejs18.x",
  621. "Timeout": 29
  622. },
  623. "DependsOn": [
  624. "inrichAttributesServiceRole518C7C8A"
  625. ],
  626. "Metadata": {
  627. "aws:cdk:path": "DiscoveryStack/inrichAttributes/Resource",
  628. "aws:asset:path": "asset.c4fd06b39b95e708ca3ae3b3ee19fe3c4a02b980cc0f4cc3d74e6dd0c3be425b",
  629. "aws:asset:is-bundled": true,
  630. "aws:asset:property": "Code"
  631. }
  632. },
  633. "inrichCategoriesServiceRole53D67872": {
  634. "Type": "AWS::IAM::Role",
  635. "Properties": {
  636. "AssumeRolePolicyDocument": {
  637. "Statement": [
  638. {
  639. "Action": "sts:AssumeRole",
  640. "Effect": "Allow",
  641. "Principal": {
  642. "Service": "lambda.amazonaws.com"
  643. }
  644. }
  645. ],
  646. "Version": "2012-10-17"
  647. },
  648. "ManagedPolicyArns": [
  649. {
  650. "Fn::Join": [
  651. "",
  652. [
  653. "arn:",
  654. {
  655. "Ref": "AWS::Partition"
  656. },
  657. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  658. ]
  659. ]
  660. }
  661. ]
  662. },
  663. "Metadata": {
  664. "aws:cdk:path": "DiscoveryStack/inrichCategories/ServiceRole/Resource"
  665. }
  666. },
  667. "inrichCategories4A65EE84": {
  668. "Type": "AWS::Lambda::Function",
  669. "Properties": {
  670. "Code": {
  671. "S3Bucket": {
  672. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  673. },
  674. "S3Key": "52f84f26b38ca11c054dfdaa4dc8b3186d17965b35c0f066c65936371185cf14.zip"
  675. },
  676. "Environment": {
  677. "Variables": {
  678. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  679. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  680. }
  681. },
  682. "FunctionName": "inrichCategories",
  683. "Handler": "index.handler",
  684. "Role": {
  685. "Fn::GetAtt": [
  686. "inrichCategoriesServiceRole53D67872",
  687. "Arn"
  688. ]
  689. },
  690. "Runtime": "nodejs18.x",
  691. "Timeout": 29
  692. },
  693. "DependsOn": [
  694. "inrichCategoriesServiceRole53D67872"
  695. ],
  696. "Metadata": {
  697. "aws:cdk:path": "DiscoveryStack/inrichCategories/Resource",
  698. "aws:asset:path": "asset.52f84f26b38ca11c054dfdaa4dc8b3186d17965b35c0f066c65936371185cf14",
  699. "aws:asset:is-bundled": true,
  700. "aws:asset:property": "Code"
  701. }
  702. },
  703. "discribeOrdersServiceRoleB50E2778": {
  704. "Type": "AWS::IAM::Role",
  705. "Properties": {
  706. "AssumeRolePolicyDocument": {
  707. "Statement": [
  708. {
  709. "Action": "sts:AssumeRole",
  710. "Effect": "Allow",
  711. "Principal": {
  712. "Service": "lambda.amazonaws.com"
  713. }
  714. }
  715. ],
  716. "Version": "2012-10-17"
  717. },
  718. "ManagedPolicyArns": [
  719. {
  720. "Fn::Join": [
  721. "",
  722. [
  723. "arn:",
  724. {
  725. "Ref": "AWS::Partition"
  726. },
  727. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  728. ]
  729. ]
  730. }
  731. ]
  732. },
  733. "Metadata": {
  734. "aws:cdk:path": "DiscoveryStack/discribeOrders/ServiceRole/Resource"
  735. }
  736. },
  737. "discribeOrders7CF82710": {
  738. "Type": "AWS::Lambda::Function",
  739. "Properties": {
  740. "Code": {
  741. "S3Bucket": {
  742. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  743. },
  744. "S3Key": "33d402f6ac9eddf5e512853b51a4263324c1b0a620757ad5c08b6d60562de148.zip"
  745. },
  746. "Environment": {
  747. "Variables": {
  748. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  749. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  750. }
  751. },
  752. "FunctionName": "discribeOrders",
  753. "Handler": "index.handler",
  754. "Role": {
  755. "Fn::GetAtt": [
  756. "discribeOrdersServiceRoleB50E2778",
  757. "Arn"
  758. ]
  759. },
  760. "Runtime": "nodejs18.x",
  761. "Timeout": 3600
  762. },
  763. "DependsOn": [
  764. "discribeOrdersServiceRoleB50E2778"
  765. ],
  766. "Metadata": {
  767. "aws:cdk:path": "DiscoveryStack/discribeOrders/Resource",
  768. "aws:asset:path": "asset.33d402f6ac9eddf5e512853b51a4263324c1b0a620757ad5c08b6d60562de148",
  769. "aws:asset:is-bundled": true,
  770. "aws:asset:property": "Code"
  771. }
  772. },
  773. "saveOrdersServiceRole22ECCD21": {
  774. "Type": "AWS::IAM::Role",
  775. "Properties": {
  776. "AssumeRolePolicyDocument": {
  777. "Statement": [
  778. {
  779. "Action": "sts:AssumeRole",
  780. "Effect": "Allow",
  781. "Principal": {
  782. "Service": "lambda.amazonaws.com"
  783. }
  784. }
  785. ],
  786. "Version": "2012-10-17"
  787. },
  788. "ManagedPolicyArns": [
  789. {
  790. "Fn::Join": [
  791. "",
  792. [
  793. "arn:",
  794. {
  795. "Ref": "AWS::Partition"
  796. },
  797. ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
  798. ]
  799. ]
  800. }
  801. ]
  802. },
  803. "Metadata": {
  804. "aws:cdk:path": "DiscoveryStack/saveOrders/ServiceRole/Resource"
  805. }
  806. },
  807. "saveOrders74AAAAAC": {
  808. "Type": "AWS::Lambda::Function",
  809. "Properties": {
  810. "Code": {
  811. "S3Bucket": {
  812. "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
  813. },
  814. "S3Key": "7ed310549564af5dcbdc9d983a9d0ad8e270af8ab12f266f40f318eaec781803.zip"
  815. },
  816. "Environment": {
  817. "Variables": {
  818. "DB_URI": "mongodb://mongodb:27017/manage-stores-app",
  819. "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
  820. }
  821. },
  822. "FunctionName": "saveOrders",
  823. "Handler": "index.handler",
  824. "Role": {
  825. "Fn::GetAtt": [
  826. "saveOrdersServiceRole22ECCD21",
  827. "Arn"
  828. ]
  829. },
  830. "Runtime": "nodejs18.x",
  831. "Timeout": 3600
  832. },
  833. "DependsOn": [
  834. "saveOrdersServiceRole22ECCD21"
  835. ],
  836. "Metadata": {
  837. "aws:cdk:path": "DiscoveryStack/saveOrders/Resource",
  838. "aws:asset:path": "asset.7ed310549564af5dcbdc9d983a9d0ad8e270af8ab12f266f40f318eaec781803",
  839. "aws:asset:is-bundled": true,
  840. "aws:asset:property": "Code"
  841. }
  842. },
  843. "DisccoveryRoleC8099EC1": {
  844. "Type": "AWS::IAM::Role",
  845. "Properties": {
  846. "AssumeRolePolicyDocument": {
  847. "Statement": [
  848. {
  849. "Action": "sts:AssumeRole",
  850. "Effect": "Allow",
  851. "Principal": {
  852. "Service": "states.amazonaws.com"
  853. }
  854. }
  855. ],
  856. "Version": "2012-10-17"
  857. }
  858. },
  859. "Metadata": {
  860. "aws:cdk:path": "DiscoveryStack/Disccovery/Role/Resource"
  861. }
  862. },
  863. "DisccoveryRoleDefaultPolicyCA50C2E9": {
  864. "Type": "AWS::IAM::Policy",
  865. "Properties": {
  866. "PolicyDocument": {
  867. "Statement": [
  868. {
  869. "Action": [
  870. "xray:GetSamplingRules",
  871. "xray:GetSamplingTargets",
  872. "xray:PutTelemetryRecords",
  873. "xray:PutTraceSegments"
  874. ],
  875. "Effect": "Allow",
  876. "Resource": "*"
  877. },
  878. {
  879. "Action": "lambda:InvokeFunction",
  880. "Effect": "Allow",
  881. "Resource": [
  882. {
  883. "Fn::GetAtt": [
  884. "discribeAttributes78BAF421",
  885. "Arn"
  886. ]
  887. },
  888. {
  889. "Fn::GetAtt": [
  890. "discribeCategories32473403",
  891. "Arn"
  892. ]
  893. },
  894. {
  895. "Fn::GetAtt": [
  896. "discribeCustomers97E0D99F",
  897. "Arn"
  898. ]
  899. },
  900. {
  901. "Fn::GetAtt": [
  902. "discribeProducts9AB64238",
  903. "Arn"
  904. ]
  905. },
  906. {
  907. "Fn::GetAtt": [
  908. "saveAttributesC653E050",
  909. "Arn"
  910. ]
  911. },
  912. {
  913. "Fn::GetAtt": [
  914. "saveCategories43CA66F4",
  915. "Arn"
  916. ]
  917. },
  918. {
  919. "Fn::GetAtt": [
  920. "saveCustomersA1CDF9FF",
  921. "Arn"
  922. ]
  923. },
  924. {
  925. "Fn::GetAtt": [
  926. "saveProducts22D2DD05",
  927. "Arn"
  928. ]
  929. },
  930. {
  931. "Fn::Join": [
  932. "",
  933. [
  934. {
  935. "Fn::GetAtt": [
  936. "discribeAttributes78BAF421",
  937. "Arn"
  938. ]
  939. },
  940. ":*"
  941. ]
  942. ]
  943. },
  944. {
  945. "Fn::Join": [
  946. "",
  947. [
  948. {
  949. "Fn::GetAtt": [
  950. "discribeCategories32473403",
  951. "Arn"
  952. ]
  953. },
  954. ":*"
  955. ]
  956. ]
  957. },
  958. {
  959. "Fn::Join": [
  960. "",
  961. [
  962. {
  963. "Fn::GetAtt": [
  964. "discribeCustomers97E0D99F",
  965. "Arn"
  966. ]
  967. },
  968. ":*"
  969. ]
  970. ]
  971. },
  972. {
  973. "Fn::Join": [
  974. "",
  975. [
  976. {
  977. "Fn::GetAtt": [
  978. "discribeProducts9AB64238",
  979. "Arn"
  980. ]
  981. },
  982. ":*"
  983. ]
  984. ]
  985. },
  986. {
  987. "Fn::Join": [
  988. "",
  989. [
  990. {
  991. "Fn::GetAtt": [
  992. "saveAttributesC653E050",
  993. "Arn"
  994. ]
  995. },
  996. ":*"
  997. ]
  998. ]
  999. },
  1000. {
  1001. "Fn::Join": [
  1002. "",
  1003. [
  1004. {
  1005. "Fn::GetAtt": [
  1006. "saveCategories43CA66F4",
  1007. "Arn"
  1008. ]
  1009. },
  1010. ":*"
  1011. ]
  1012. ]
  1013. },
  1014. {
  1015. "Fn::Join": [
  1016. "",
  1017. [
  1018. {
  1019. "Fn::GetAtt": [
  1020. "saveCustomersA1CDF9FF",
  1021. "Arn"
  1022. ]
  1023. },
  1024. ":*"
  1025. ]
  1026. ]
  1027. },
  1028. {
  1029. "Fn::Join": [
  1030. "",
  1031. [
  1032. {
  1033. "Fn::GetAtt": [
  1034. "saveProducts22D2DD05",
  1035. "Arn"
  1036. ]
  1037. },
  1038. ":*"
  1039. ]
  1040. ]
  1041. }
  1042. ]
  1043. }
  1044. ],
  1045. "Version": "2012-10-17"
  1046. },
  1047. "PolicyName": "DisccoveryRoleDefaultPolicyCA50C2E9",
  1048. "Roles": [
  1049. {
  1050. "Ref": "DisccoveryRoleC8099EC1"
  1051. }
  1052. ]
  1053. },
  1054. "Metadata": {
  1055. "aws:cdk:path": "DiscoveryStack/Disccovery/Role/DefaultPolicy/Resource"
  1056. }
  1057. },
  1058. "DisccoveryC4EB9E1C": {
  1059. "Type": "AWS::StepFunctions::StateMachine",
  1060. "Properties": {
  1061. "DefinitionString": {
  1062. "Fn::Join": [
  1063. "",
  1064. [
  1065. "{\"StartAt\":\"invokeDiscribeCustomers\",\"States\":{\"invokeDiscribeCustomers\":{\"Next\":\"invokeSaveCustomers\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1066. {
  1067. "Ref": "AWS::Partition"
  1068. },
  1069. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1070. {
  1071. "Fn::GetAtt": [
  1072. "discribeCustomers97E0D99F",
  1073. "Arn"
  1074. ]
  1075. },
  1076. "\",\"Payload.$\":\"$\"}},\"RunAgainCustomers\":{\"Type\":\"Choice\",\"Choices\":[{\"Variable\":\"$.Payload.runAgain\",\"BooleanEquals\":true,\"Next\":\"invokeDiscribeCustomers\"}],\"Default\":\"invokeDiscribeCategories\"},\"invokeSaveCustomers\":{\"Next\":\"RunAgainCustomers\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1077. {
  1078. "Ref": "AWS::Partition"
  1079. },
  1080. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1081. {
  1082. "Fn::GetAtt": [
  1083. "saveCustomersA1CDF9FF",
  1084. "Arn"
  1085. ]
  1086. },
  1087. "\",\"Payload.$\":\"$\"}},\"invokeDiscribeCategories\":{\"Next\":\"invokeSaveCategories\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1088. {
  1089. "Ref": "AWS::Partition"
  1090. },
  1091. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1092. {
  1093. "Fn::GetAtt": [
  1094. "discribeCategories32473403",
  1095. "Arn"
  1096. ]
  1097. },
  1098. "\",\"Payload.$\":\"$\"}},\"RunAgainCategories\":{\"Type\":\"Choice\",\"Choices\":[{\"Variable\":\"$.Payload.runAgain\",\"BooleanEquals\":true,\"Next\":\"invokeDiscribeCategories\"}],\"Default\":\"invokeDiscribeAttributes\"},\"invokeSaveCategories\":{\"Next\":\"RunAgainCategories\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1099. {
  1100. "Ref": "AWS::Partition"
  1101. },
  1102. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1103. {
  1104. "Fn::GetAtt": [
  1105. "saveCategories43CA66F4",
  1106. "Arn"
  1107. ]
  1108. },
  1109. "\",\"Payload.$\":\"$\"}},\"invokeDiscribeAttributes\":{\"Next\":\"InvokeSaveAttributes\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1110. {
  1111. "Ref": "AWS::Partition"
  1112. },
  1113. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1114. {
  1115. "Fn::GetAtt": [
  1116. "discribeAttributes78BAF421",
  1117. "Arn"
  1118. ]
  1119. },
  1120. "\",\"Payload.$\":\"$\"}},\"RunAgainAttributes\":{\"Type\":\"Choice\",\"Choices\":[{\"Variable\":\"$.Payload.runAgain\",\"BooleanEquals\":true,\"Next\":\"invokeDiscribeAttributes\"}],\"Default\":\"invokeDiscribeProducts\"},\"InvokeSaveAttributes\":{\"Next\":\"RunAgainAttributes\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1121. {
  1122. "Ref": "AWS::Partition"
  1123. },
  1124. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1125. {
  1126. "Fn::GetAtt": [
  1127. "saveAttributesC653E050",
  1128. "Arn"
  1129. ]
  1130. },
  1131. "\",\"Payload.$\":\"$\"}},\"invokeDiscribeProducts\":{\"Next\":\"InvokeSaveProducts\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1132. {
  1133. "Ref": "AWS::Partition"
  1134. },
  1135. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1136. {
  1137. "Fn::GetAtt": [
  1138. "discribeProducts9AB64238",
  1139. "Arn"
  1140. ]
  1141. },
  1142. "\",\"Payload.$\":\"$\"}},\"RunAgainProducts\":{\"Type\":\"Choice\",\"Choices\":[{\"Variable\":\"$.Payload.runAgain\",\"BooleanEquals\":true,\"Next\":\"invokeDiscribeProducts\"}],\"Default\":\"END Loops Products\"},\"InvokeSaveProducts\":{\"Next\":\"RunAgainProducts\",\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
  1143. {
  1144. "Ref": "AWS::Partition"
  1145. },
  1146. ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
  1147. {
  1148. "Fn::GetAtt": [
  1149. "saveProducts22D2DD05",
  1150. "Arn"
  1151. ]
  1152. },
  1153. "\",\"Payload.$\":\"$\"}},\"END Loops Products\":{\"Type\":\"Pass\",\"End\":true}},\"Comment\":\"Discovery menchart store data like products, customers and orders\"}"
  1154. ]
  1155. ]
  1156. },
  1157. "RoleArn": {
  1158. "Fn::GetAtt": [
  1159. "DisccoveryRoleC8099EC1",
  1160. "Arn"
  1161. ]
  1162. },
  1163. "TracingConfiguration": {
  1164. "Enabled": true
  1165. }
  1166. },
  1167. "DependsOn": [
  1168. "DisccoveryRoleDefaultPolicyCA50C2E9",
  1169. "DisccoveryRoleC8099EC1"
  1170. ],
  1171. "UpdateReplacePolicy": "Delete",
  1172. "DeletionPolicy": "Delete",
  1173. "Metadata": {
  1174. "aws:cdk:path": "DiscoveryStack/Disccovery/Resource"
  1175. }
  1176. },
  1177. "CDKMetadata": {
  1178. "Type": "AWS::CDK::Metadata",
  1179. "Properties": {
  1180. "Analytics": "v2:deflate64:H4sIAAAAAAAA/1VP0WrCQBD8Ft8vW40vfa2BQsEWST8grJdVN5fsiXtRJOTfvVxsaWFhdnaGYTaHVZ7DcoE3zWztspb3MHwHtM7EUzW02O1rrMTX1Ch8JXjvxQb2Yhg7GErfkikOknDnW7b3ic7baHRdoSoFhbcJIodNbx2FDSqZOR6i/zdUA50PT6JVQHUK22T7kKt39N8Awy7Gm+Lk2ZKJxQN9oj2xpE5/+TiaktT3l+hLVaJ4ZDmm7j9C3AsvNU/Zo5m+hkZfrqtXiLNcNMqcXXoJ3BGUMz4AgJlwIEIBAAA="
  1181. },
  1182. "Metadata": {
  1183. "aws:cdk:path": "DiscoveryStack/CDKMetadata/Default"
  1184. },
  1185. "Condition": "CDKMetadataAvailable"
  1186. }
  1187. },
  1188. "Conditions": {
  1189. "CDKMetadataAvailable": {
  1190. "Fn::Or": [
  1191. {
  1192. "Fn::Or": [
  1193. {
  1194. "Fn::Equals": [
  1195. {
  1196. "Ref": "AWS::Region"
  1197. },
  1198. "af-south-1"
  1199. ]
  1200. },
  1201. {
  1202. "Fn::Equals": [
  1203. {
  1204. "Ref": "AWS::Region"
  1205. },
  1206. "ap-east-1"
  1207. ]
  1208. },
  1209. {
  1210. "Fn::Equals": [
  1211. {
  1212. "Ref": "AWS::Region"
  1213. },
  1214. "ap-northeast-1"
  1215. ]
  1216. },
  1217. {
  1218. "Fn::Equals": [
  1219. {
  1220. "Ref": "AWS::Region"
  1221. },
  1222. "ap-northeast-2"
  1223. ]
  1224. },
  1225. {
  1226. "Fn::Equals": [
  1227. {
  1228. "Ref": "AWS::Region"
  1229. },
  1230. "ap-south-1"
  1231. ]
  1232. },
  1233. {
  1234. "Fn::Equals": [
  1235. {
  1236. "Ref": "AWS::Region"
  1237. },
  1238. "ap-southeast-1"
  1239. ]
  1240. },
  1241. {
  1242. "Fn::Equals": [
  1243. {
  1244. "Ref": "AWS::Region"
  1245. },
  1246. "ap-southeast-2"
  1247. ]
  1248. },
  1249. {
  1250. "Fn::Equals": [
  1251. {
  1252. "Ref": "AWS::Region"
  1253. },
  1254. "ca-central-1"
  1255. ]
  1256. },
  1257. {
  1258. "Fn::Equals": [
  1259. {
  1260. "Ref": "AWS::Region"
  1261. },
  1262. "cn-north-1"
  1263. ]
  1264. },
  1265. {
  1266. "Fn::Equals": [
  1267. {
  1268. "Ref": "AWS::Region"
  1269. },
  1270. "cn-northwest-1"
  1271. ]
  1272. }
  1273. ]
  1274. },
  1275. {
  1276. "Fn::Or": [
  1277. {
  1278. "Fn::Equals": [
  1279. {
  1280. "Ref": "AWS::Region"
  1281. },
  1282. "eu-central-1"
  1283. ]
  1284. },
  1285. {
  1286. "Fn::Equals": [
  1287. {
  1288. "Ref": "AWS::Region"
  1289. },
  1290. "eu-north-1"
  1291. ]
  1292. },
  1293. {
  1294. "Fn::Equals": [
  1295. {
  1296. "Ref": "AWS::Region"
  1297. },
  1298. "eu-south-1"
  1299. ]
  1300. },
  1301. {
  1302. "Fn::Equals": [
  1303. {
  1304. "Ref": "AWS::Region"
  1305. },
  1306. "eu-west-1"
  1307. ]
  1308. },
  1309. {
  1310. "Fn::Equals": [
  1311. {
  1312. "Ref": "AWS::Region"
  1313. },
  1314. "eu-west-2"
  1315. ]
  1316. },
  1317. {
  1318. "Fn::Equals": [
  1319. {
  1320. "Ref": "AWS::Region"
  1321. },
  1322. "eu-west-3"
  1323. ]
  1324. },
  1325. {
  1326. "Fn::Equals": [
  1327. {
  1328. "Ref": "AWS::Region"
  1329. },
  1330. "il-central-1"
  1331. ]
  1332. },
  1333. {
  1334. "Fn::Equals": [
  1335. {
  1336. "Ref": "AWS::Region"
  1337. },
  1338. "me-central-1"
  1339. ]
  1340. },
  1341. {
  1342. "Fn::Equals": [
  1343. {
  1344. "Ref": "AWS::Region"
  1345. },
  1346. "me-south-1"
  1347. ]
  1348. },
  1349. {
  1350. "Fn::Equals": [
  1351. {
  1352. "Ref": "AWS::Region"
  1353. },
  1354. "sa-east-1"
  1355. ]
  1356. }
  1357. ]
  1358. },
  1359. {
  1360. "Fn::Or": [
  1361. {
  1362. "Fn::Equals": [
  1363. {
  1364. "Ref": "AWS::Region"
  1365. },
  1366. "us-east-1"
  1367. ]
  1368. },
  1369. {
  1370. "Fn::Equals": [
  1371. {
  1372. "Ref": "AWS::Region"
  1373. },
  1374. "us-east-2"
  1375. ]
  1376. },
  1377. {
  1378. "Fn::Equals": [
  1379. {
  1380. "Ref": "AWS::Region"
  1381. },
  1382. "us-west-1"
  1383. ]
  1384. },
  1385. {
  1386. "Fn::Equals": [
  1387. {
  1388. "Ref": "AWS::Region"
  1389. },
  1390. "us-west-2"
  1391. ]
  1392. }
  1393. ]
  1394. }
  1395. ]
  1396. }
  1397. },
  1398. "Outputs": {
  1399. "ExportsOutputRefDisccoveryC4EB9E1C068F7E49": {
  1400. "Value": {
  1401. "Ref": "DisccoveryC4EB9E1C"
  1402. },
  1403. "Export": {
  1404. "Name": "DiscoveryStack:ExportsOutputRefDisccoveryC4EB9E1C068F7E49"
  1405. }
  1406. }
  1407. },
  1408. "Parameters": {
  1409. "BootstrapVersion": {
  1410. "Type": "AWS::SSM::Parameter::Value<String>",
  1411. "Default": "/cdk-bootstrap/hnb659fds/version",
  1412. "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
  1413. }
  1414. },
  1415. "Rules": {
  1416. "CheckBootstrapVersion": {
  1417. "Assertions": [
  1418. {
  1419. "Assert": {
  1420. "Fn::Not": [
  1421. {
  1422. "Fn::Contains": [
  1423. [
  1424. "1",
  1425. "2",
  1426. "3",
  1427. "4",
  1428. "5"
  1429. ],
  1430. {
  1431. "Ref": "BootstrapVersion"
  1432. }
  1433. ]
  1434. }
  1435. ]
  1436. },
  1437. "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
  1438. }
  1439. ]
  1440. }
  1441. }
  1442. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement