Skip to content

Commit

Permalink
chore: enable logging for DocDB example
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlove-aws committed Aug 6, 2020
1 parent 2a23ae7 commit a5bfbdb
Show file tree
Hide file tree
Showing 4 changed files with 15,937 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/kitchen-sink/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
* SPDX-License-Identifier: Apache-2.0
*/

import {
DatabaseCluster,
} from '@aws-cdk/aws-docdb';
import {
AmazonLinuxImage,
AmazonLinuxGeneration,
Expand Down Expand Up @@ -50,6 +47,7 @@ import {
} from 'aws-rfdk';
import {
DatabaseConnection,
DocumentDbClusterWithLogs,
RenderQueue,
Repository,
ThinkboxDockerRecipes,
Expand Down Expand Up @@ -124,7 +122,7 @@ export class KitchenSinkApp extends App {
/*
* DocumentDB database cluster for storing the render farm database.
*/
const database = new DatabaseCluster(infrastructureStack, 'DbCluster', {
const database = new DocumentDbClusterWithLogs(infrastructureStack, 'DbCluster', {
port: 27017,
masterUser: {
username: "master"
Expand Down
Loading

0 comments on commit a5bfbdb

Please sign in to comment.