Skip to content

Instantly share code, notes, and snippets.

@matheus1lva
Created April 10, 2024 13:23
Show Gist options
  • Save matheus1lva/5d335089322f688a6c6dd69d276cafd9 to your computer and use it in GitHub Desktop.
Save matheus1lva/5d335089322f688a6c6dd69d276cafd9 to your computer and use it in GitHub Desktop.
const baseName = "SOME_CONSTANT_NAME_FOR_THIS"
const repository = new Repository(this, `${baseName}Repository`, {
repositoryName: snakeCase(`${baseName}Repository`),
});
const logGroup = new LogGroup(this, `${baseName}LogGroup`, {
retention: 90,
logGroupName: '/aws/ecs/graphql-api',
});
new GraphqlApiStack(app, 'graphql-api', {
...props,
vpc: networkStack.vpc,
databaseStack: database,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment