File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
deployments/cdk/src/deployments/sns
lib/custom-resources/logs-add-subscription-filter/src Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ function createSnsTopics(props: {
206206 handler : 'index.createSnsPublishToCentralRegion' ,
207207 code : lambdaCode ,
208208 role,
209+ memorySize : 512 ,
209210 environment : {
210211 CENTRAL_LOG_SERVICES_REGION : centralServicesRegion ,
211212 CENTRAL_LOG_ACCOUNT : centralAccount ,
@@ -224,6 +225,7 @@ function createSnsTopics(props: {
224225 handler : 'index.createIgnoreAction' ,
225226 code : lambdaCode ,
226227 role,
228+ memorySize : 512 ,
227229 timeout : cdk . Duration . minutes ( 15 ) ,
228230 } ) ;
229231
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ export class CentralLoggingSubscriptionFilter extends Construct {
141141 code : lambda . Code . fromAsset ( lambdaDir ) ,
142142 handler : 'index.handler' ,
143143 role : this . role ,
144+ memorySize : 1024 ,
144145 environment : environment ! ,
145146 // Set timeout to maximum timeout
146147 timeout : cdk . Duration . minutes ( 15 ) ,
You can’t perform that action at this time.
0 commit comments