1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. mailmanager
  6. Archive
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Manages an AWS SES Mail Manager Archive.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mailmanager.Archive("example", {name: "example"});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mailmanager.Archive("example", name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/mailmanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mailmanager.NewArchive(ctx, "example", &mailmanager.ArchiveArgs{
    			Name: pulumi.String("example"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.MailManager.Archive("example", new()
        {
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.mailmanager.Archive;
    import com.pulumi.aws.mailmanager.ArchiveArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Archive("example", ArchiveArgs.builder()
                .name("example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:mailmanager:Archive
        properties:
          name: example
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_mailmanager_archive" "example" {
      name = "example"
    }
    

    Create Archive Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Archive(name: string, args?: ArchiveArgs, opts?: CustomResourceOptions);
    @overload
    def Archive(resource_name: str,
                args: Optional[ArchiveArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Archive(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                kms_key_arn: Optional[str] = None,
                name: Optional[str] = None,
                region: Optional[str] = None,
                retention: Optional[ArchiveRetentionArgs] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewArchive(ctx *Context, name string, args *ArchiveArgs, opts ...ResourceOption) (*Archive, error)
    public Archive(string name, ArchiveArgs? args = null, CustomResourceOptions? opts = null)
    public Archive(String name, ArchiveArgs args)
    public Archive(String name, ArchiveArgs args, CustomResourceOptions options)
    
    type: aws:mailmanager:Archive
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_mailmanager_archive" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var archiveResource = new Aws.MailManager.Archive("archiveResource", new()
    {
        KmsKeyArn = "string",
        Name = "string",
        Region = "string",
        Retention = new Aws.MailManager.Inputs.ArchiveRetentionArgs
        {
            RetentionPeriod = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := mailmanager.NewArchive(ctx, "archiveResource", &mailmanager.ArchiveArgs{
    	KmsKeyArn: pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	Region:    pulumi.String("string"),
    	Retention: &mailmanager.ArchiveRetentionArgs{
    		RetentionPeriod: pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "aws_mailmanager_archive" "archiveResource" {
      lifecycle {
        create_before_destroy = true
      }
      kms_key_arn = "string"
      name        = "string"
      region      = "string"
      retention = {
        retention_period = "string"
      }
      tags = {
        "string" = "string"
      }
    }
    
    var archiveResource = new Archive("archiveResource", ArchiveArgs.builder()
        .kmsKeyArn("string")
        .name("string")
        .region("string")
        .retention(ArchiveRetentionArgs.builder()
            .retentionPeriod("string")
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    archive_resource = aws.mailmanager.Archive("archiveResource",
        kms_key_arn="string",
        name="string",
        region="string",
        retention={
            "retention_period": "string",
        },
        tags={
            "string": "string",
        })
    
    const archiveResource = new aws.mailmanager.Archive("archiveResource", {
        kmsKeyArn: "string",
        name: "string",
        region: "string",
        retention: {
            retentionPeriod: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    type: aws:mailmanager:Archive
    properties:
        kmsKeyArn: string
        name: string
        region: string
        retention:
            retentionPeriod: string
        tags:
            string: string
    

    Archive Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Archive resource accepts the following input properties:

    KmsKeyArn string
    ARN of the KMS key used to encrypt the archive.
    Name string

    Name of the archive.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Retention ArchiveRetention
    Retention policy for the archive. See retention Block.
    Tags Dictionary<string, string>
    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.
    KmsKeyArn string
    ARN of the KMS key used to encrypt the archive.
    Name string

    Name of the archive.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Retention ArchiveRetentionArgs
    Retention policy for the archive. See retention Block.
    Tags map[string]string
    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.
    kms_key_arn string
    ARN of the KMS key used to encrypt the archive.
    name string

    Name of the archive.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention object
    Retention policy for the archive. See retention Block.
    tags map(string)
    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.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the archive.
    name String

    Name of the archive.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention ArchiveRetention
    Retention policy for the archive. See retention Block.
    tags Map<String,String>
    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.
    kmsKeyArn string
    ARN of the KMS key used to encrypt the archive.
    name string

    Name of the archive.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention ArchiveRetention
    Retention policy for the archive. See retention Block.
    tags {[key: string]: string}
    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.
    kms_key_arn str
    ARN of the KMS key used to encrypt the archive.
    name str

    Name of the archive.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention ArchiveRetentionArgs
    Retention policy for the archive. See retention Block.
    tags Mapping[str, str]
    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.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the archive.
    name String

    Name of the archive.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention Property Map
    Retention policy for the archive. See retention Block.
    tags Map<String>
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Archive resource produces the following output properties:

    Arn string
    ARN of the archive.
    CreatedTimestamp string
    Timestamp of when the archive was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTimestamp string
    Timestamp of when the archive was updated.
    RetentionActuals List<ArchiveRetentionActual>
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    State string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the archive.
    CreatedTimestamp string
    Timestamp of when the archive was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTimestamp string
    Timestamp of when the archive was updated.
    RetentionActuals []ArchiveRetentionActual
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    State string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the archive.
    created_timestamp string
    Timestamp of when the archive was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated_timestamp string
    Timestamp of when the archive was updated.
    retention_actuals list(object)
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the archive.
    createdTimestamp String
    Timestamp of when the archive was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTimestamp String
    Timestamp of when the archive was updated.
    retentionActuals List<ArchiveRetentionActual>
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state String
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the archive.
    createdTimestamp string
    Timestamp of when the archive was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTimestamp string
    Timestamp of when the archive was updated.
    retentionActuals ArchiveRetentionActual[]
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the archive.
    created_timestamp str
    Timestamp of when the archive was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_timestamp str
    Timestamp of when the archive was updated.
    retention_actuals Sequence[ArchiveRetentionActual]
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state str
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the archive.
    createdTimestamp String
    Timestamp of when the archive was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTimestamp String
    Timestamp of when the archive was updated.
    retentionActuals List<Property Map>
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state String
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing Archive Resource

    Get an existing Archive resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ArchiveState, opts?: CustomResourceOptions): Archive
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            created_timestamp: Optional[str] = None,
            kms_key_arn: Optional[str] = None,
            last_updated_timestamp: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            retention: Optional[ArchiveRetentionArgs] = None,
            retention_actuals: Optional[Sequence[ArchiveRetentionActualArgs]] = None,
            state: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> Archive
    func GetArchive(ctx *Context, name string, id IDInput, state *ArchiveState, opts ...ResourceOption) (*Archive, error)
    public static Archive Get(string name, Input<string> id, ArchiveState? state, CustomResourceOptions? opts = null)
    public static Archive get(String name, Output<String> id, ArchiveState state, CustomResourceOptions options)
    resources:  _:    type: aws:mailmanager:Archive    get:      id: ${id}
    import {
      to = aws_mailmanager_archive.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the archive.
    CreatedTimestamp string
    Timestamp of when the archive was created.
    KmsKeyArn string
    ARN of the KMS key used to encrypt the archive.
    LastUpdatedTimestamp string
    Timestamp of when the archive was updated.
    Name string

    Name of the archive.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Retention ArchiveRetention
    Retention policy for the archive. See retention Block.
    RetentionActuals List<ArchiveRetentionActual>
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    State string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    Tags Dictionary<string, string>
    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.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the archive.
    CreatedTimestamp string
    Timestamp of when the archive was created.
    KmsKeyArn string
    ARN of the KMS key used to encrypt the archive.
    LastUpdatedTimestamp string
    Timestamp of when the archive was updated.
    Name string

    Name of the archive.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Retention ArchiveRetentionArgs
    Retention policy for the archive. See retention Block.
    RetentionActuals []ArchiveRetentionActualArgs
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    State string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    Tags map[string]string
    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.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the archive.
    created_timestamp string
    Timestamp of when the archive was created.
    kms_key_arn string
    ARN of the KMS key used to encrypt the archive.
    last_updated_timestamp string
    Timestamp of when the archive was updated.
    name string

    Name of the archive.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention object
    Retention policy for the archive. See retention Block.
    retention_actuals list(object)
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tags map(string)
    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_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the archive.
    createdTimestamp String
    Timestamp of when the archive was created.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the archive.
    lastUpdatedTimestamp String
    Timestamp of when the archive was updated.
    name String

    Name of the archive.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention ArchiveRetention
    Retention policy for the archive. See retention Block.
    retentionActuals List<ArchiveRetentionActual>
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state String
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tags Map<String,String>
    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.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the archive.
    createdTimestamp string
    Timestamp of when the archive was created.
    kmsKeyArn string
    ARN of the KMS key used to encrypt the archive.
    lastUpdatedTimestamp string
    Timestamp of when the archive was updated.
    name string

    Name of the archive.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention ArchiveRetention
    Retention policy for the archive. See retention Block.
    retentionActuals ArchiveRetentionActual[]
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state string
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tags {[key: string]: string}
    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.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the archive.
    created_timestamp str
    Timestamp of when the archive was created.
    kms_key_arn str
    ARN of the KMS key used to encrypt the archive.
    last_updated_timestamp str
    Timestamp of when the archive was updated.
    name str

    Name of the archive.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention ArchiveRetentionArgs
    Retention policy for the archive. See retention Block.
    retention_actuals Sequence[ArchiveRetentionActualArgs]
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state str
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tags Mapping[str, str]
    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_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the archive.
    createdTimestamp String
    Timestamp of when the archive was created.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the archive.
    lastUpdatedTimestamp String
    Timestamp of when the archive was updated.
    name String

    Name of the archive.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    retention Property Map
    Retention policy for the archive. See retention Block.
    retentionActuals List<Property Map>
    Effective retention policy for the archive, including the default (SIX_MONTHS) when no retention block is configured. See retentionActual Block below.
    state String
    Current state of the archive. Always set to ACTIVE and will only be set to PENDING_DELETION when the archive is deleted.
    tags Map<String>
    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.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Supporting Types

    ArchiveRetention, ArchiveRetentionArgs

    RetentionPeriod string
    Retention period for the archive. Valid values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    RetentionPeriod string
    Retention period for the archive. Valid values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retention_period string
    Retention period for the archive. Valid values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retentionPeriod String
    Retention period for the archive. Valid values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retentionPeriod string
    Retention period for the archive. Valid values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retention_period str
    Retention period for the archive. Valid values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retentionPeriod String
    Retention period for the archive. Valid values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.

    ArchiveRetentionActual, ArchiveRetentionActualArgs

    RetentionPeriod string
    Retention period for the archive. Possible values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    RetentionPeriod string
    Retention period for the archive. Possible values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retention_period string
    Retention period for the archive. Possible values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retentionPeriod String
    Retention period for the archive. Possible values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retentionPeriod string
    Retention period for the archive. Possible values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retention_period str
    Retention period for the archive. Possible values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.
    retentionPeriod String
    Retention period for the archive. Possible values: THREE_MONTHS, SIX_MONTHS, NINE_MONTHS, ONE_YEAR, EIGHTEEN_MONTHS, TWO_YEARS, THIRTY_MONTHS, THREE_YEARS, FOUR_YEARS, FIVE_YEARS, SIX_YEARS, SEVEN_YEARS, EIGHT_YEARS, NINE_YEARS, TEN_YEARS, PERMANENT.

    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:

    $ pulumi import aws:mailmanager/archive:Archive example archive-id-12345678
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial