import * as core from "@terrascript/core"; export interface RdsDbInstanceArgs extends core.ResourceArgs { /** * (Required) A db password */ dbPassword: string | core.StringOut; /** * (Required) A db username */ dbUser: string | core.StringOut; /** * (Required) The db instance to register for this stack. Changing this will force a new resource. */ rdsDbInstanceArn: string | core.StringOut; /** * (Required) The stack to register a db instance for. Changing this will force a new resource. */ stackId: string | core.StringOut; } export class RdsDbInstance extends core.Resource { /** * (Required) A db password */ @core.attr(String) public dbPassword!: string | core.StringOut; /** * (Required) A db username */ @core.attr(String) public dbUser!: string | core.StringOut; /** * The computed id. Please note that this is only used internally to identify the stack <-> instance re * lation. This value is not used in aws. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The db instance to register for this stack. Changing this will force a new resource. */ @core.attr(String) public rdsDbInstanceArn!: string | core.StringOut; /** * (Required) The stack to register a db instance for. Changing this will force a new resource. */ @core.attr(String) public stackId!: string | core.StringOut; constructor(name: string, args?: RdsDbInstanceArgs) { super(name, "aws_opsworks_rds_db_instance", args); } public override getNamespace(): string { return "aws_opsworks"; } }