UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

40 lines 3.04 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.getLaunchTemplateOutput = exports.getLaunchTemplate = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Specifies the properties for creating a launch template. * The minimum required properties for specifying a launch template are as follows: * + You must specify at least one property for the launch template data. * + You can optionally specify a name for the launch template. If you do not specify a name, CFN creates a name for you. * * A launch template can contain some or all of the configuration information to launch an instance. When you launch an instance using a launch template, instance properties that are not specified in the launch template use default values, except the ``ImageId`` property, which has no default value. If you do not specify an AMI ID for the launch template ``ImageId`` property, you must specify an AMI ID for the instance ``ImageId`` property. * For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*. */ function getLaunchTemplate(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getLaunchTemplate", { "launchTemplateId": args.launchTemplateId, }, opts); } exports.getLaunchTemplate = getLaunchTemplate; /** * Specifies the properties for creating a launch template. * The minimum required properties for specifying a launch template are as follows: * + You must specify at least one property for the launch template data. * + You can optionally specify a name for the launch template. If you do not specify a name, CFN creates a name for you. * * A launch template can contain some or all of the configuration information to launch an instance. When you launch an instance using a launch template, instance properties that are not specified in the launch template use default values, except the ``ImageId`` property, which has no default value. If you do not specify an AMI ID for the launch template ``ImageId`` property, you must specify an AMI ID for the instance ``ImageId`` property. * For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*. */ function getLaunchTemplateOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws-native:ec2:getLaunchTemplate", { "launchTemplateId": args.launchTemplateId, }, opts); } exports.getLaunchTemplateOutput = getLaunchTemplateOutput; //# sourceMappingURL=getLaunchTemplate.js.map