DbInstance
Source:
src/AWS/Timestream/DbInstance.ts
An Amazon Timestream for InfluxDB DB instance — a managed, single-tenant InfluxDB engine for time-series workloads.
DbInstance owns the instance’s lifecycle and its mutable configuration
(instance type, storage, port, parameter group, log delivery, deployment
type, and tags). Networking (subnets, security groups), the initial
credentials, organization, and bucket are fixed at creation.
Creating DB Instances
Section titled “Creating DB Instances”import * as Timestream from "alchemy/AWS/Timestream";
const influx = yield* Timestream.DbInstance("Influx", { name: "my-influx", dbInstanceType: "db.influx.medium", allocatedStorage: 20, vpcSubnetIds: [subnetA.subnetId, subnetB.subnetId], vpcSecurityGroupIds: [securityGroup.groupId], password: Redacted.make("super-secret-password"),});