import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a mail domain registered to an AWS WorkMail organization. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.workmail.Domain("example", { * organizationId: exampleAwsWorkmailOrganization.id, * domainName: "example.com", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `domainName` (String) Mail domain name. * * `organizationId` (String) Identifier of the WorkMail organization. * * #### Optional * * * `accountId` (String) Account ID where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import WorkMail Domain using `organization_id,domain_name`. For example: * * ```sh * $ pulumi import aws:workmail/domain:Domain example "m-1234567890abcdef0,example.com" * ``` */ export declare class Domain extends pulumi.CustomResource { /** * Get an existing Domain 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?: DomainState, opts?: pulumi.CustomResourceOptions): Domain; /** * Returns true if the given object is an instance of Domain. 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 Domain; /** * DKIM verification status. Values: `PENDING`, `VERIFIED`, `FAILED`. */ readonly dkimVerificationStatus: pulumi.Output; /** * Mail domain name to register. Changing this forces a new resource. */ readonly domainName: pulumi.Output; /** * Whether this domain is the default mail domain for the organization. */ readonly isDefault: pulumi.Output; /** * Whether this is the auto-provisioned test domain. */ readonly isTestDomain: pulumi.Output; /** * Identifier of the WorkMail organization. Changing this forces a new resource. */ readonly organizationId: pulumi.Output; /** * Domain ownership verification status. Values: `PENDING`, `VERIFIED`, `FAILED`. */ readonly ownershipVerificationStatus: pulumi.Output; /** * List of DNS records required for domain verification. See `records` Block below. */ readonly records: 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 Domain 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: DomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Domain resources. */ export interface DomainState { /** * DKIM verification status. Values: `PENDING`, `VERIFIED`, `FAILED`. */ dkimVerificationStatus?: pulumi.Input; /** * Mail domain name to register. Changing this forces a new resource. */ domainName?: pulumi.Input; /** * Whether this domain is the default mail domain for the organization. */ isDefault?: pulumi.Input; /** * Whether this is the auto-provisioned test domain. */ isTestDomain?: pulumi.Input; /** * Identifier of the WorkMail organization. Changing this forces a new resource. */ organizationId?: pulumi.Input; /** * Domain ownership verification status. Values: `PENDING`, `VERIFIED`, `FAILED`. */ ownershipVerificationStatus?: pulumi.Input; /** * List of DNS records required for domain verification. See `records` Block below. */ records?: pulumi.Input[] | undefined>; /** * 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 Domain resource. */ export interface DomainArgs { /** * Mail domain name to register. Changing this forces a new resource. */ domainName: pulumi.Input; /** * Identifier of the WorkMail organization. Changing this forces a new resource. */ organizationId: 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=domain.d.ts.map