import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::Lightsail::DatabaseSnapshot */ export declare class DatabaseSnapshot extends pulumi.CustomResource { /** * Get an existing DatabaseSnapshot 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DatabaseSnapshot; /** * Returns true if the given object is an instance of DatabaseSnapshot. 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 DatabaseSnapshot; /** * The Amazon Resource Name (ARN) of the database snapshot. */ readonly arn: pulumi.Output; /** * The timestamp when the database snapshot was created. */ readonly createdAt: pulumi.Output; /** * The software of the database snapshot (for example, MySQL). */ readonly engine: pulumi.Output; /** * The database engine version for the database snapshot (for example, 5.7.23). */ readonly engineVersion: pulumi.Output; /** * The Amazon Resource Name (ARN) of the database from which the database snapshot was created. */ readonly fromRelationalDatabaseArn: pulumi.Output; /** * The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database. */ readonly fromRelationalDatabaseBlueprintId: pulumi.Output; /** * The bundle ID of the database from which the database snapshot was created. */ readonly fromRelationalDatabaseBundleId: pulumi.Output; /** * The name of the source database from which the database snapshot was created. */ readonly fromRelationalDatabaseName: pulumi.Output; /** * The Region name and Availability Zone where the database snapshot is located. */ readonly location: pulumi.Output; /** * The name of the database snapshot. */ readonly name: pulumi.Output; /** * The name of the database on which to base your new snapshot. */ readonly relationalDatabaseName: pulumi.Output; /** * The name for your new database snapshot. */ readonly relationalDatabaseSnapshotName: pulumi.Output; /** * The Lightsail resource type. */ readonly resourceType: pulumi.Output; /** * The size of the disk in GB (for example, 32) for the database snapshot. */ readonly sizeInGb: pulumi.Output; /** * The state of the database snapshot. */ readonly state: pulumi.Output; /** * The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily. */ readonly supportCode: pulumi.Output; /** * An array of key-value pairs to apply to this resource. */ readonly tags: pulumi.Output; /** * Create a DatabaseSnapshot 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: DatabaseSnapshotArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DatabaseSnapshot resource. */ export interface DatabaseSnapshotArgs { /** * The name of the database on which to base your new snapshot. */ relationalDatabaseName: pulumi.Input; /** * The name for your new database snapshot. */ relationalDatabaseSnapshotName: pulumi.Input; /** * An array of key-value pairs to apply to this resource. */ tags?: pulumi.Input[]>; }