import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating a AutoStopping rule for RDS databases. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = new harness.autostopping.RuleRds("test", { * name: "name", * cloudConnectorId: "cloud_connector_id", * idleTimeMins: 10, * dryRun: true, * database: { * id: "database_id", * region: "region", * }, * tcps: [{ * proxyId: "proxy_id", * forwardRules: [{ * port: 2233, * }], * }], * }); * ``` */ export declare class RuleRds extends pulumi.CustomResource { /** * Get an existing RuleRds resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RuleRdsState, opts?: pulumi.CustomResourceOptions): RuleRds; /** * Returns true if the given object is an instance of RuleRds. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RuleRds; /** * Id of the cloud connector */ readonly cloudConnectorId: pulumi.Output; readonly database: pulumi.Output; /** * Dependent rules */ readonly depends: pulumi.Output; /** * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode */ readonly dryRun: pulumi.Output; /** * Unique identifier of the resource */ readonly identifier: pulumi.Output; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ readonly idleTimeMins: pulumi.Output; /** * Name of the rule */ readonly name: pulumi.Output; /** * TCP routing configuration */ readonly tcps: pulumi.Output; /** * Create a RuleRds resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RuleRdsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuleRds resources. */ export interface RuleRdsState { /** * Id of the cloud connector */ cloudConnectorId?: pulumi.Input; database?: pulumi.Input; /** * Dependent rules */ depends?: pulumi.Input[] | undefined>; /** * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode */ dryRun?: pulumi.Input; /** * Unique identifier of the resource */ identifier?: pulumi.Input; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ idleTimeMins?: pulumi.Input; /** * Name of the rule */ name?: pulumi.Input; /** * TCP routing configuration */ tcps?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a RuleRds resource. */ export interface RuleRdsArgs { /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input; database: pulumi.Input; /** * Dependent rules */ depends?: pulumi.Input[] | undefined>; /** * Boolean that indicates whether the AutoStopping rule should be created in DryRun mode */ dryRun?: pulumi.Input; /** * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances. */ idleTimeMins?: pulumi.Input; /** * Name of the rule */ name?: pulumi.Input; /** * TCP routing configuration */ tcps?: pulumi.Input[] | undefined>; } //# sourceMappingURL=ruleRds.d.ts.map