Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwmcnamara committed Apr 30, 2024
1 parent 06cb34d commit 63101f5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/constructs/dynamodb/dynamodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ export interface GuDynamoTableProps extends TableProps {
devXBackups: OptIn | OptOut;
}

/**
* DeletionProtection is enabled by default for this Table.
* We recommend enabling this enabled for all active DynamoDB tables.
* The default can be overridden in the GuDynamoTable instantiation if needed eg: for table deletion.
*/
export class GuDynamoTable extends Table {

/**
* DeletionProtection is enabled by default for this Table.
* We recommend enabling this enabled for all active DynamoDB tables.
* The default can be overridden in the GuDynamoTable instantiation if needed eg: for table deletion.
*/
export class GuDynamoTable extends Table {
constructor(scope: GuStack, id: string, props: GuDynamoTableProps) {
super(scope, id, { deletionProtection: true, ...props });
Tags.of(this).add("devx-backup-enabled", String(props.devXBackups.enabled));
Expand Down

0 comments on commit 63101f5

Please sign in to comment.