@fy-stack/database-construct 0.0.126 → 0.0.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,8 +3,8 @@ import { IGrantable } from 'aws-cdk-lib/aws-iam';
|
|
|
3
3
|
import * as rds from 'aws-cdk-lib/aws-rds';
|
|
4
4
|
import * as secretsManager from 'aws-cdk-lib/aws-secretsmanager';
|
|
5
5
|
import { Construct } from 'constructs';
|
|
6
|
-
import { DatabaseConstructProps } from './types';
|
|
7
6
|
import { DatabaseUserConstruct } from './database-user-construct';
|
|
7
|
+
import { DatabaseConstructProps } from './types';
|
|
8
8
|
/**
|
|
9
9
|
* Represents a database construct that provisions an RDS database instance along with associated secrets.
|
|
10
10
|
* It implements both {@link Attachable `Attachable`} and {@link Grantable `Grantable`} interfaces.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-construct.d.ts","sourceRoot":"","sources":["../../src/lib/database-construct.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG7D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"database-construct.d.ts","sourceRoot":"","sources":["../../src/lib/database-construct.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG7D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;GAGG;AACH,qBAAa,iBACX,SAAQ,SACR,YAAW,UAAU,EAAE,SAAS;IAEzB,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC;IAChC,EAAE,EAAE,GAAG,CAAC,gBAAgB,CAAC;gBAEpB,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB;IAgCvE,SAAS,CAAC,KAAK,EAAE,UAAU;IAY3B,UAAU;;;;;IAQV,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAQhD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Attachable } from '@fy-stack/types';
|
|
2
2
|
import { DatabaseInstance } from 'aws-cdk-lib/aws-rds';
|
|
3
3
|
import { ISecret } from 'aws-cdk-lib/aws-secretsmanager';
|
|
4
|
-
import {
|
|
4
|
+
import { Construct } from 'constructs';
|
|
5
5
|
type Props = {
|
|
6
6
|
db: DatabaseInstance;
|
|
7
7
|
masterSecret: ISecret;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-user-construct.d.ts","sourceRoot":"","sources":["../../src/lib/database-user-construct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"database-user-construct.d.ts","sourceRoot":"","sources":["../../src/lib/database-user-construct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAkB,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,KAAK,KAAK,GAAG;IACX,EAAE,EAAE,gBAAgB,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,qBAAsB,SAAQ,SAAU,YAAW,UAAU;IACjE,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;gBAEV,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;IActD,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAOrC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DatabaseUserConstruct = void 0;
|
|
4
|
-
const constructs_1 = require("constructs");
|
|
5
4
|
const aws_rds_1 = require("aws-cdk-lib/aws-rds");
|
|
5
|
+
const constructs_1 = require("constructs");
|
|
6
6
|
class DatabaseUserConstruct extends constructs_1.Construct {
|
|
7
7
|
secrets;
|
|
8
8
|
dbName;
|
package/package.json
CHANGED