import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AWS SES Mail Manager Archive. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.mailmanager.Archive("example", {name: "example"}); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `id` (String) Identifier of the archive. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import an SES Mail Manager Archive using its identifier. For example: * * ```sh * $ pulumi import aws:mailmanager/archive:Archive example archive-id-12345678 * ``` */ export declare class Archive extends pulumi.CustomResource { /** * Get an existing Archive 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?: ArchiveState, opts?: pulumi.CustomResourceOptions): Archive; /** * Returns true if the given object is an instance of Archive. 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 Archive; /** * ARN of the archive. */ readonly arn: pulumi.Output; /** * Timestamp of when the archive was created. */ readonly createdTimestamp: pulumi.Output; /** * ARN of the KMS key used to encrypt the archive. */ readonly kmsKeyArn: pulumi.Output; /** * Timestamp of when the archive was updated. */ readonly lastUpdatedTimestamp: pulumi.Output; /** * Name of the archive. * * The following arguments are optional: */ readonly name: 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; /** * Retention policy for the archive. See `retention` Block. */ readonly retention: pulumi.Output; /** * Effective retention policy for the archive, including the default (`SIX_MONTHS`) when no `retention` block is configured. See `retentionActual` Block below. */ readonly retentionActuals: pulumi.Output; /** * Current state of the archive. Always set to `ACTIVE` and will only be set to `PENDING_DELETION` when the archive is deleted. */ readonly state: pulumi.Output; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Create a Archive 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?: ArchiveArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Archive resources. */ export interface ArchiveState { /** * ARN of the archive. */ arn?: pulumi.Input; /** * Timestamp of when the archive was created. */ createdTimestamp?: pulumi.Input; /** * ARN of the KMS key used to encrypt the archive. */ kmsKeyArn?: pulumi.Input; /** * Timestamp of when the archive was updated. */ lastUpdatedTimestamp?: pulumi.Input; /** * Name of the archive. * * The following arguments are optional: */ name?: 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; /** * Retention policy for the archive. See `retention` Block. */ retention?: pulumi.Input; /** * Effective retention policy for the archive, including the default (`SIX_MONTHS`) when no `retention` block is configured. See `retentionActual` Block below. */ retentionActuals?: pulumi.Input[] | undefined>; /** * Current state of the archive. Always set to `ACTIVE` and will only be set to `PENDING_DELETION` when the archive is deleted. */ state?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a Archive resource. */ export interface ArchiveArgs { /** * ARN of the KMS key used to encrypt the archive. */ kmsKeyArn?: pulumi.Input; /** * Name of the archive. * * The following arguments are optional: */ name?: 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; /** * Retention policy for the archive. See `retention` Block. */ retention?: pulumi.Input; /** * Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=archive.d.ts.map