UNPKG

@pulumi/aws

Version:

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

64 lines 2.41 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.getReservedCacheNodeOfferingOutput = exports.getReservedCacheNodeOffering = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Information about a single ElastiCache Reserved Cache Node Offering. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.elasticache.getReservedCacheNodeOffering({ * cacheNodeType: "cache.t4g.small", * duration: "P1Y", * offeringType: "No Upfront", * productDescription: "redis", * }); * ``` */ function getReservedCacheNodeOffering(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:elasticache/getReservedCacheNodeOffering:getReservedCacheNodeOffering", { "cacheNodeType": args.cacheNodeType, "duration": args.duration, "offeringType": args.offeringType, "productDescription": args.productDescription, "region": args.region, }, opts); } exports.getReservedCacheNodeOffering = getReservedCacheNodeOffering; /** * Information about a single ElastiCache Reserved Cache Node Offering. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.elasticache.getReservedCacheNodeOffering({ * cacheNodeType: "cache.t4g.small", * duration: "P1Y", * offeringType: "No Upfront", * productDescription: "redis", * }); * ``` */ function getReservedCacheNodeOfferingOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:elasticache/getReservedCacheNodeOffering:getReservedCacheNodeOffering", { "cacheNodeType": args.cacheNodeType, "duration": args.duration, "offeringType": args.offeringType, "productDescription": args.productDescription, "region": args.region, }, opts); } exports.getReservedCacheNodeOfferingOutput = getReservedCacheNodeOfferingOutput; //# sourceMappingURL=getReservedCacheNodeOffering.js.map