UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

52 lines 1.75 kB
"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.getLaunchConfigurationOutput = exports.getLaunchConfiguration = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides information about a Launch Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const ubuntu = aws.ec2.getLaunchConfiguration({ * name: "test-launch-config", * }); * ``` */ function getLaunchConfiguration(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:ec2/getLaunchConfiguration:getLaunchConfiguration", { "name": args.name, "region": args.region, }, opts); } exports.getLaunchConfiguration = getLaunchConfiguration; /** * Provides information about a Launch Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const ubuntu = aws.ec2.getLaunchConfiguration({ * name: "test-launch-config", * }); * ``` */ function getLaunchConfigurationOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:ec2/getLaunchConfiguration:getLaunchConfiguration", { "name": args.name, "region": args.region, }, opts); } exports.getLaunchConfigurationOutput = getLaunchConfigurationOutput; //# sourceMappingURL=getLaunchConfiguration.js.map