import * as pulumi from "@pulumi/pulumi"; /** * Manages an AWS WorkMail Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.workmail.Organization("example", { * organizationAlias: "example-workmail-org", * deleteDirectory: true, * }); * const exampleGroup = new aws.workmail.Group("example", { * organizationId: example.organizationId, * email: pulumi.interpolate`engineering@${example.defaultMailDomain}`, * name: "engineering", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `groupId` - Identifier of the group. * * `organizationId` - Identifier of the WorkMail organization where the group is managed. * * #### Optional * * * `accountId` (String) AWS account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import WorkMail Group using `organization_id,group_id`. For example: * * ```sh * $ pulumi import aws:workmail/group:Group example m-1234567890abcdef,S-1-1-12-1234567890-123456789-123456789-1234 * ``` */ export declare class Group extends pulumi.CustomResource { /** * Get an existing Group 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?: GroupState, opts?: pulumi.CustomResourceOptions): Group; /** * Returns true if the given object is an instance of Group. 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 Group; /** * Timestamp when the group was disabled from WorkMail use. */ readonly disabledDate: pulumi.Output; /** * Primary email address used to register the group with WorkMail. */ readonly email: pulumi.Output; /** * Timestamp when the group was enabled for WorkMail use. */ readonly enabledDate: pulumi.Output; /** * Identifier of the group. */ readonly groupId: pulumi.Output; /** * Whether to hide the group from the global address list. */ readonly hiddenFromGlobalAddressList: pulumi.Output; /** * Name of the group. */ readonly name: pulumi.Output; /** * Identifier of the WorkMail organization where the group is managed. * * The following arguments are optional: */ readonly organizationId: 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; /** * Current WorkMail state of the group. */ readonly state: pulumi.Output; /** * Create a Group 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: GroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Group resources. */ export interface GroupState { /** * Timestamp when the group was disabled from WorkMail use. */ disabledDate?: pulumi.Input; /** * Primary email address used to register the group with WorkMail. */ email?: pulumi.Input; /** * Timestamp when the group was enabled for WorkMail use. */ enabledDate?: pulumi.Input; /** * Identifier of the group. */ groupId?: pulumi.Input; /** * Whether to hide the group from the global address list. */ hiddenFromGlobalAddressList?: pulumi.Input; /** * Name of the group. */ name?: pulumi.Input; /** * Identifier of the WorkMail organization where the group is managed. * * The following arguments are optional: */ 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; /** * Current WorkMail state of the group. */ state?: pulumi.Input; } /** * The set of arguments for constructing a Group resource. */ export interface GroupArgs { /** * Primary email address used to register the group with WorkMail. */ email: pulumi.Input; /** * Whether to hide the group from the global address list. */ hiddenFromGlobalAddressList?: pulumi.Input; /** * Name of the group. */ name?: pulumi.Input; /** * Identifier of the WorkMail organization where the group is managed. * * The following arguments are optional: */ 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=group.d.ts.map