import * as pulumi from "@pulumi/pulumi"; /** * Provides an SES domain DKIM generation resource. * * Domain ownership needs to be confirmed first using sesDomainIdentity Resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.ses.DomainIdentity("example", {domain: "example.com"}); * const exampleDomainDkim = new aws.ses.DomainDkim("example", {domain: example.domain}); * const exampleAmazonsesDkimRecord: aws.route53.Record[] = []; * for (let range = 0; range < 3; range++) { * exampleAmazonsesDkimRecord.push(new aws.route53.Record(`example_amazonses_dkim_record-${range}`, { * zoneId: "ABCDEFGHIJ123", * name: exampleDomainDkim.dkimTokens.apply(dkimTokens => `${dkimTokens[range]}._domainkey`), * type: aws.route53.RecordType.CNAME, * ttl: 600, * records: [exampleDomainDkim.dkimTokens.apply(dkimTokens => `${dkimTokens[range]}.dkim.amazonses.com`)], * })); * } * ``` * * ## Import * * Using `pulumi import`, import DKIM tokens using the `domain` attribute. For example: * * ```sh * $ pulumi import aws:ses/domainDkim:DomainDkim example example.com * ``` */ export declare class DomainDkim extends pulumi.CustomResource { /** * Get an existing DomainDkim resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DomainDkimState, opts?: pulumi.CustomResourceOptions): DomainDkim; /** * Returns true if the given object is an instance of DomainDkim. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DomainDkim; /** * DKIM tokens generated by SES. These tokens should be used to create CNAME records used to verify SES Easy DKIM. See below for an example of how this might be achieved when the domain is hosted in Route 53 and managed by Terraform. Find out more about verifying domains in Amazon SES in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html). */ readonly dkimTokens: pulumi.Output; /** * Verified domain name to generate DKIM tokens for. */ readonly domain: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Create a DomainDkim resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DomainDkimArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DomainDkim resources. */ export interface DomainDkimState { /** * DKIM tokens generated by SES. These tokens should be used to create CNAME records used to verify SES Easy DKIM. See below for an example of how this might be achieved when the domain is hosted in Route 53 and managed by Terraform. Find out more about verifying domains in Amazon SES in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html). */ dkimTokens?: pulumi.Input[] | undefined>; /** * Verified domain name to generate DKIM tokens for. */ domain?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; } /** * The set of arguments for constructing a DomainDkim resource. */ export interface DomainDkimArgs { /** * Verified domain name to generate DKIM tokens for. */ domain: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; } //# sourceMappingURL=domainDkim.d.ts.map