UNPKG

@pulumi/aws

Version:

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

62 lines 2.42 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.getEmailIdentityMailFromAttributesOutput = exports.getEmailIdentityMailFromAttributes = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS SESv2 (Simple Email V2) Email Identity Mail From Attributes. * * ## 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", * }); * const exampleGetEmailIdentityMailFromAttributes = example.then(example => aws.sesv2.getEmailIdentityMailFromAttributes({ * emailIdentity: example.emailIdentity, * })); * ``` */ function getEmailIdentityMailFromAttributes(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:sesv2/getEmailIdentityMailFromAttributes:getEmailIdentityMailFromAttributes", { "emailIdentity": args.emailIdentity, "region": args.region, }, opts); } exports.getEmailIdentityMailFromAttributes = getEmailIdentityMailFromAttributes; /** * Data source for managing an AWS SESv2 (Simple Email V2) Email Identity Mail From Attributes. * * ## 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", * }); * const exampleGetEmailIdentityMailFromAttributes = example.then(example => aws.sesv2.getEmailIdentityMailFromAttributes({ * emailIdentity: example.emailIdentity, * })); * ``` */ function getEmailIdentityMailFromAttributesOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:sesv2/getEmailIdentityMailFromAttributes:getEmailIdentityMailFromAttributes", { "emailIdentity": args.emailIdentity, "region": args.region, }, opts); } exports.getEmailIdentityMailFromAttributesOutput = getEmailIdentityMailFromAttributesOutput; //# sourceMappingURL=getEmailIdentityMailFromAttributes.js.map