import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an RDS database cluster snapshot copy. For managing RDS database instance snapshot copies, see the `aws.rds.SnapshotCopy` resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.rds.Cluster("example", { * clusterIdentifier: "aurora-cluster-demo", * databaseName: "test", * engine: aws.rds.EngineType.AuroraMysql, * masterUsername: "tfacctest", * masterPassword: "avoid-plaintext-passwords", * skipFinalSnapshot: true, * }); * const exampleClusterSnapshot = new aws.rds.ClusterSnapshot("example", { * dbClusterIdentifier: example.clusterIdentifier, * dbClusterSnapshotIdentifier: "example", * }); * const exampleClusterSnapshotCopy = new aws.rds.ClusterSnapshotCopy("example", { * sourceDbClusterSnapshotIdentifier: exampleClusterSnapshot.dbClusterSnapshotArn, * targetDbClusterSnapshotIdentifier: "example-copy", * }); * ``` * * ## Import * * Using `pulumi import`, import `aws.rds.ClusterSnapshotCopy` using the `id`. For example: * * ```sh * $ pulumi import aws:rds/clusterSnapshotCopy:ClusterSnapshotCopy example my-snapshot * ``` */ export declare class ClusterSnapshotCopy extends pulumi.CustomResource { /** * Get an existing ClusterSnapshotCopy 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?: ClusterSnapshotCopyState, opts?: pulumi.CustomResourceOptions): ClusterSnapshotCopy; /** * Returns true if the given object is an instance of ClusterSnapshotCopy. 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 ClusterSnapshotCopy; /** * Allocated storage size in gigabytes (GB). */ readonly allocatedStorage: pulumi.Output; /** * Whether to copy existing tags. Defaults to `false`. */ readonly copyTags: pulumi.Output; /** * ARN for the DB cluster snapshot. */ readonly dbClusterSnapshotArn: pulumi.Output; /** * Destination region to place the snapshot copy. */ readonly destinationRegion: pulumi.Output; /** * Name of the database engine. */ readonly engine: pulumi.Output; /** * Version of the database engine. */ readonly engineVersion: pulumi.Output; /** * KMS key ID. */ readonly kmsKeyId: pulumi.Output; /** * License model information for the restored DB instance. */ readonly licenseModel: pulumi.Output; /** * URL that contains a Signature Version 4 signed request. */ readonly presignedUrl: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public. */ readonly sharedAccounts: pulumi.Output; /** * Type of the DB cluster snapshot. */ readonly snapshotType: pulumi.Output; /** * Identifier of the source snapshot. */ readonly sourceDbClusterSnapshotIdentifier: pulumi.Output; /** * Whether the DB cluster snapshot is encrypted. */ readonly storageEncrypted: pulumi.Output; /** * Storage type associated with DB cluster snapshot. */ readonly storageType: pulumi.Output; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Identifier for the snapshot. * * The following arguments are optional: */ readonly targetDbClusterSnapshotIdentifier: pulumi.Output; readonly timeouts: pulumi.Output; /** * Provides the VPC ID associated with the DB cluster snapshot. */ readonly vpcId: pulumi.Output; /** * Create a ClusterSnapshotCopy 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: ClusterSnapshotCopyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ClusterSnapshotCopy resources. */ export interface ClusterSnapshotCopyState { /** * Allocated storage size in gigabytes (GB). */ allocatedStorage?: pulumi.Input; /** * Whether to copy existing tags. Defaults to `false`. */ copyTags?: pulumi.Input; /** * ARN for the DB cluster snapshot. */ dbClusterSnapshotArn?: pulumi.Input; /** * Destination region to place the snapshot copy. */ destinationRegion?: pulumi.Input; /** * Name of the database engine. */ engine?: pulumi.Input; /** * Version of the database engine. */ engineVersion?: pulumi.Input; /** * KMS key ID. */ kmsKeyId?: pulumi.Input; /** * License model information for the restored DB instance. */ licenseModel?: pulumi.Input; /** * URL that contains a Signature Version 4 signed request. */ presignedUrl?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public. */ sharedAccounts?: pulumi.Input[] | undefined>; /** * Type of the DB cluster snapshot. */ snapshotType?: pulumi.Input; /** * Identifier of the source snapshot. */ sourceDbClusterSnapshotIdentifier?: pulumi.Input; /** * Whether the DB cluster snapshot is encrypted. */ storageEncrypted?: pulumi.Input; /** * Storage type associated with DB cluster snapshot. */ storageType?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Identifier for the snapshot. * * The following arguments are optional: */ targetDbClusterSnapshotIdentifier?: pulumi.Input; timeouts?: pulumi.Input; /** * Provides the VPC ID associated with the DB cluster snapshot. */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a ClusterSnapshotCopy resource. */ export interface ClusterSnapshotCopyArgs { /** * Whether to copy existing tags. Defaults to `false`. */ copyTags?: pulumi.Input; /** * Destination region to place the snapshot copy. */ destinationRegion?: pulumi.Input; /** * KMS key ID. */ kmsKeyId?: pulumi.Input; /** * URL that contains a Signature Version 4 signed request. */ presignedUrl?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public. */ sharedAccounts?: pulumi.Input[] | undefined>; /** * Identifier of the source snapshot. */ sourceDbClusterSnapshotIdentifier: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Identifier for the snapshot. * * The following arguments are optional: */ targetDbClusterSnapshotIdentifier: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=clusterSnapshotCopy.d.ts.map