UNPKG

@pulumi/aws

Version:

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

58 lines 1.85 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.getEmailIdentityOutput = exports.getEmailIdentity = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS SESv2 (Simple Email V2) Email Identity. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.sesv2.getEmailIdentity({ * emailIdentity: "example.com", * }); * ``` */ function getEmailIdentity(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:sesv2/getEmailIdentity:getEmailIdentity", { "emailIdentity": args.emailIdentity, "region": args.region, "tags": args.tags, }, opts); } exports.getEmailIdentity = getEmailIdentity; /** * Data source for managing an AWS SESv2 (Simple Email V2) Email Identity. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.sesv2.getEmailIdentity({ * emailIdentity: "example.com", * }); * ``` */ function getEmailIdentityOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:sesv2/getEmailIdentity:getEmailIdentity", { "emailIdentity": args.emailIdentity, "region": args.region, "tags": args.tags, }, opts); } exports.getEmailIdentityOutput = getEmailIdentityOutput; //# sourceMappingURL=getEmailIdentity.js.map