UNPKG

@pulumi/aws

Version:

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

52 lines 1.71 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.getContactsRotationOutput = exports.getContactsRotation = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssm.getContactsRotation({ * arn: "arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example", * }); * ``` */ function getContactsRotation(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:ssm/getContactsRotation:getContactsRotation", { "arn": args.arn, "region": args.region, }, opts); } exports.getContactsRotation = getContactsRotation; /** * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ssm.getContactsRotation({ * arn: "arn:aws:ssm-contacts:us-east-1:012345678910:rotation/example", * }); * ``` */ function getContactsRotationOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:ssm/getContactsRotation:getContactsRotation", { "arn": args.arn, "region": args.region, }, opts); } exports.getContactsRotationOutput = getContactsRotationOutput; //# sourceMappingURL=getContactsRotation.js.map