@@ -169,10 +169,10 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
169169 },
170170 "Type": "AWS::OpenSearchServerless::Collection",
171171 },
172- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536 ": {
172+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBB049752D ": {
173173 "DependsOn": [
174- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRoleDefaultPolicy88902FDF ",
175- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ",
174+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRoleDefaultPolicy0801355D ",
175+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ",
176176 ],
177177 "Properties": {
178178 "Code": {
@@ -190,9 +190,10 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
190190 "Ref": "DeployDocsAwsCliLayer98E5B499",
191191 },
192192 ],
193+ "MemorySize": 1024,
193194 "Role": {
194195 "Fn::GetAtt": [
195- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ",
196+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ",
196197 "Arn",
197198 ],
198199 },
@@ -201,7 +202,7 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
201202 },
202203 "Type": "AWS::Lambda::Function",
203204 },
204- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ": {
205+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ": {
205206 "Properties": {
206207 "AssumeRolePolicyDocument": {
207208 "Statement": [
@@ -232,7 +233,7 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
232233 },
233234 "Type": "AWS::IAM::Role",
234235 },
235- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRoleDefaultPolicy88902FDF ": {
236+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRoleDefaultPolicy0801355D ": {
236237 "Properties": {
237238 "PolicyDocument": {
238239 "Statement": [
@@ -310,10 +311,10 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
310311 ],
311312 "Version": "2012-10-17",
312313 },
313- "PolicyName": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRoleDefaultPolicy88902FDF ",
314+ "PolicyName": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRoleDefaultPolicy0801355D ",
314315 "Roles": [
315316 {
316- "Ref": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ",
317+ "Ref": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ",
317318 },
318319 ],
319320 },
@@ -582,7 +583,7 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
582583 "Value": "true",
583584 },
584585 {
585- "Key": "aws-cdk:cr-owned:8fde40be ",
586+ "Key": "aws-cdk:cr-owned:af230d0d ",
586587 "Value": "true",
587588 },
588589 ],
@@ -705,7 +706,7 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
705706 },
706707 "Type": "AWS::Lambda::LayerVersion",
707708 },
708- "DeployDocsCustomResourceED24FA89 ": {
709+ "DeployDocsCustomResource1024MiB91B30E63 ": {
709710 "DeletionPolicy": "Delete",
710711 "Properties": {
711712 "DestinationBucketName": {
@@ -719,7 +720,7 @@ exports[`GenerativeAiUseCases matches the snapshot 2`] = `
719720 "Prune": true,
720721 "ServiceToken": {
721722 "Fn::GetAtt": [
722- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536 ",
723+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBB049752D ",
723724 "Arn",
724725 ],
725726 },
@@ -14663,11 +14664,11 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1466314664 "Type": "AWS::Cognito::UserPoolClient",
1466414665 "UpdateReplacePolicy": "Delete",
1466514666 },
14666- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiB6723FB92 ": {
14667+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBB049752D ": {
1466714668 "DeletionPolicy": "Delete",
1466814669 "DependsOn": [
14669- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleDefaultPolicy96C3E726 ",
14670- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ",
14670+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRoleDefaultPolicy0801355D ",
14671+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ",
1467114672 ],
1467214673 "Properties": {
1467314674 "Code": {
@@ -14682,13 +14683,13 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1468214683 "Handler": "index.handler",
1468314684 "Layers": [
1468414685 {
14685- "Ref": "ApiBuildWebDeployAwsCliLayer187512BE ",
14686+ "Ref": "RagDeployDocsAwsCliLayerB3D6B7FC ",
1468614687 },
1468714688 ],
14688- "MemorySize": 512 ,
14689+ "MemorySize": 1024 ,
1468914690 "Role": {
1469014691 "Fn::GetAtt": [
14691- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ",
14692+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ",
1469214693 "Arn",
1469314694 ],
1469414695 },
@@ -14698,7 +14699,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1469814699 "Type": "AWS::Lambda::Function",
1469914700 "UpdateReplacePolicy": "Delete",
1470014701 },
14701- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ": {
14702+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ": {
1470214703 "DeletionPolicy": "Delete",
1470314704 "Properties": {
1470414705 "AssumeRolePolicyDocument": {
@@ -14731,7 +14732,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1473114732 "Type": "AWS::IAM::Role",
1473214733 "UpdateReplacePolicy": "Delete",
1473314734 },
14734- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleDefaultPolicy96C3E726 ": {
14735+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRoleDefaultPolicy0801355D ": {
1473514736 "DeletionPolicy": "Delete",
1473614737 "Properties": {
1473714738 "PolicyDocument": {
@@ -14787,7 +14788,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1478714788 "Resource": [
1478814789 {
1478914790 "Fn::GetAtt": [
14790- "ApiWebS3Bucket26EF98D6 ",
14791+ "RagDataSourceBucket091872DB ",
1479114792 "Arn",
1479214793 ],
1479314794 },
@@ -14797,7 +14798,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1479714798 [
1479814799 {
1479914800 "Fn::GetAtt": [
14800- "ApiWebS3Bucket26EF98D6 ",
14801+ "RagDataSourceBucket091872DB ",
1480114802 "Arn",
1480214803 ],
1480314804 },
@@ -14807,32 +14808,24 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1480714808 },
1480814809 ],
1480914810 },
14810- {
14811- "Action": [
14812- "cloudfront:GetInvalidation",
14813- "cloudfront:CreateInvalidation",
14814- ],
14815- "Effect": "Allow",
14816- "Resource": "*",
14817- },
1481814811 ],
1481914812 "Version": "2012-10-17",
1482014813 },
14821- "PolicyName": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleDefaultPolicy96C3E726 ",
14814+ "PolicyName": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRoleDefaultPolicy0801355D ",
1482214815 "Roles": [
1482314816 {
14824- "Ref": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ",
14817+ "Ref": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBServiceRole739949D8 ",
1482514818 },
1482614819 ],
1482714820 },
1482814821 "Type": "AWS::IAM::Policy",
1482914822 "UpdateReplacePolicy": "Delete",
1483014823 },
14831- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536 ": {
14824+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiB6723FB92 ": {
1483214825 "DeletionPolicy": "Delete",
1483314826 "DependsOn": [
14834- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRoleDefaultPolicy88902FDF ",
14835- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ",
14827+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleDefaultPolicy96C3E726 ",
14828+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ",
1483614829 ],
1483714830 "Properties": {
1483814831 "Code": {
@@ -14847,12 +14840,13 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1484714840 "Handler": "index.handler",
1484814841 "Layers": [
1484914842 {
14850- "Ref": "RagDeployDocsAwsCliLayerB3D6B7FC ",
14843+ "Ref": "ApiBuildWebDeployAwsCliLayer187512BE ",
1485114844 },
1485214845 ],
14846+ "MemorySize": 512,
1485314847 "Role": {
1485414848 "Fn::GetAtt": [
14855- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ",
14849+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ",
1485614850 "Arn",
1485714851 ],
1485814852 },
@@ -14862,7 +14856,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1486214856 "Type": "AWS::Lambda::Function",
1486314857 "UpdateReplacePolicy": "Delete",
1486414858 },
14865- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ": {
14859+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ": {
1486614860 "DeletionPolicy": "Delete",
1486714861 "Properties": {
1486814862 "AssumeRolePolicyDocument": {
@@ -14895,7 +14889,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1489514889 "Type": "AWS::IAM::Role",
1489614890 "UpdateReplacePolicy": "Delete",
1489714891 },
14898- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRoleDefaultPolicy88902FDF ": {
14892+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleDefaultPolicy96C3E726 ": {
1489914893 "DeletionPolicy": "Delete",
1490014894 "Properties": {
1490114895 "PolicyDocument": {
@@ -14951,7 +14945,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1495114945 "Resource": [
1495214946 {
1495314947 "Fn::GetAtt": [
14954- "RagDataSourceBucket091872DB ",
14948+ "ApiWebS3Bucket26EF98D6 ",
1495514949 "Arn",
1495614950 ],
1495714951 },
@@ -14961,7 +14955,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1496114955 [
1496214956 {
1496314957 "Fn::GetAtt": [
14964- "RagDataSourceBucket091872DB ",
14958+ "ApiWebS3Bucket26EF98D6 ",
1496514959 "Arn",
1496614960 ],
1496714961 },
@@ -14971,13 +14965,21 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1497114965 },
1497214966 ],
1497314967 },
14968+ {
14969+ "Action": [
14970+ "cloudfront:GetInvalidation",
14971+ "cloudfront:CreateInvalidation",
14972+ ],
14973+ "Effect": "Allow",
14974+ "Resource": "*",
14975+ },
1497414976 ],
1497514977 "Version": "2012-10-17",
1497614978 },
14977- "PolicyName": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRoleDefaultPolicy88902FDF ",
14979+ "PolicyName": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleDefaultPolicy96C3E726 ",
1497814980 "Roles": [
1497914981 {
14980- "Ref": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756CServiceRole89A01265 ",
14982+ "Ref": "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C512MiBServiceRoleBA21DBC1 ",
1498114983 },
1498214984 ],
1498314985 },
@@ -15376,7 +15378,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1537615378 "Value": "true",
1537715379 },
1537815380 {
15379- "Key": "aws-cdk:cr-owned:894706c8 ",
15381+ "Key": "aws-cdk:cr-owned:3a24f5d1 ",
1538015382 "Value": "true",
1538115383 },
1538215384 ],
@@ -15584,7 +15586,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1558415586 "Type": "AWS::Lambda::LayerVersion",
1558515587 "UpdateReplacePolicy": "Delete",
1558615588 },
15587- "RagDeployDocsCustomResource65E647DC ": {
15589+ "RagDeployDocsCustomResource1024MiB43EE2539 ": {
1558815590 "DeletionPolicy": "Delete",
1558915591 "Properties": {
1559015592 "DestinationBucketName": {
@@ -15600,7 +15602,7 @@ exports[`GenerativeAiUseCases matches the snapshot 5`] = `
1560015602 "Prune": true,
1560115603 "ServiceToken": {
1560215604 "Fn::GetAtt": [
15603- "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536 ",
15605+ "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C1024MiBB049752D ",
1560415606 "Arn",
1560515607 ],
1560615608 },
0 commit comments