UNPKG

@pulumi/aws

Version:

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

52 lines 1.67 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.getInstanceTypeOutput = exports.getInstanceType = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get characteristics for a single EC2 Instance Type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ec2.getInstanceType({ * instanceType: "t2.micro", * }); * ``` */ function getInstanceType(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:ec2/getInstanceType:getInstanceType", { "instanceType": args.instanceType, "region": args.region, }, opts); } exports.getInstanceType = getInstanceType; /** * Get characteristics for a single EC2 Instance Type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ec2.getInstanceType({ * instanceType: "t2.micro", * }); * ``` */ function getInstanceTypeOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:ec2/getInstanceType:getInstanceType", { "instanceType": args.instanceType, "region": args.region, }, opts); } exports.getInstanceTypeOutput = getInstanceTypeOutput; //# sourceMappingURL=getInstanceType.js.map