"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDiskSnapshotOutput = exports.getDiskSnapshot = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::Lightsail::DiskSnapshot
 */
function getDiskSnapshot(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:lightsail:getDiskSnapshot", {
        "diskSnapshotName": args.diskSnapshotName,
    }, opts);
}
exports.getDiskSnapshot = getDiskSnapshot;
/**
 * Resource Type definition for AWS::Lightsail::DiskSnapshot
 */
function getDiskSnapshotOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:lightsail:getDiskSnapshot", {
        "diskSnapshotName": args.diskSnapshotName,
    }, opts);
}
exports.getDiskSnapshotOutput = getDiskSnapshotOutput;
//# sourceMappingURL=getDiskSnapshot.js.map