Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Fn.Ref(ResourceConstants.PARAMETERS.Env),
]),
Fn.Join('-', [
SyncResourceIDs.syncTableName,
Fn.GetAtt(ResourceConstants.RESOURCES.GraphQLAPILogicalID, 'ApiId'),
])
),
}),
]
: []),
],
},
],
},
}),
...(syncConfig && SyncUtils.isLambdaSyncConfig(syncConfig)
? [SyncUtils.createSyncLambdaIAMPolicy(syncConfig.LambdaConflictHandler)]
: []),
],
});
}