published on Thursday, Sep 10, 2026 by Pulumi
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:
- Kms
Key stringArn - 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
Archive
Retention - Retention policy for the archive. See
retentionBlock. - Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Kms
Key stringArn - 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
Archive
Retention Args - Retention policy for the archive. See
retentionBlock. - map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms_
key_ stringarn - 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
retentionBlock. - map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms
Key StringArn - 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
Archive
Retention - Retention policy for the archive. See
retentionBlock. - Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms
Key stringArn - 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
Archive
Retention - Retention policy for the archive. See
retentionBlock. - {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms_
key_ strarn - 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
Archive
Retention Args - Retention policy for the archive. See
retentionBlock. - Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- kms
Key StringArn - 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
retentionBlock. - Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration 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.
- Created
Timestamp string - Timestamp of when the archive was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTimestamp - Timestamp of when the archive was updated.
- Retention
Actuals List<ArchiveRetention Actual> - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - State string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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 stringTimestamp - Timestamp of when the archive was updated.
- Retention
Actuals []ArchiveRetention Actual - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - State string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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_ stringtimestamp - Timestamp of when the archive was updated.
- retention_
actuals list(object) - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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 StringTimestamp - Timestamp of when the archive was updated.
- retention
Actuals List<ArchiveRetention Actual> - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state String
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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 stringTimestamp - Timestamp of when the archive was updated.
- retention
Actuals ArchiveRetention Actual[] - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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_ strtimestamp - Timestamp of when the archive was updated.
- retention_
actuals Sequence[ArchiveRetention Actual] - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state str
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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 StringTimestamp - Timestamp of when the archive was updated.
- retention
Actuals List<Property Map> - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state String
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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) -> Archivefunc 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.
- Arn string
- ARN of the archive.
- Created
Timestamp string - Timestamp of when the archive was created.
- Kms
Key stringArn - ARN of the KMS key used to encrypt the archive.
- Last
Updated stringTimestamp - 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
Archive
Retention - Retention policy for the archive. See
retentionBlock. - Retention
Actuals List<ArchiveRetention Actual> - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - State string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the archive.
- Created
Timestamp string - Timestamp of when the archive was created.
- Kms
Key stringArn - ARN of the KMS key used to encrypt the archive.
- Last
Updated stringTimestamp - 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
Archive
Retention Args - Retention policy for the archive. See
retentionBlock. - Retention
Actuals []ArchiveRetention Actual Args - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - State string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - map[string]string
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the archive.
- created_
timestamp string - Timestamp of when the archive was created.
- kms_
key_ stringarn - ARN of the KMS key used to encrypt the archive.
- last_
updated_ stringtimestamp - 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
retentionBlock. - retention_
actuals list(object) - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - map(string)
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the archive.
- created
Timestamp String - Timestamp of when the archive was created.
- kms
Key StringArn - ARN of the KMS key used to encrypt the archive.
- last
Updated StringTimestamp - 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
Archive
Retention - Retention policy for the archive. See
retentionBlock. - retention
Actuals List<ArchiveRetention Actual> - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state String
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the archive.
- created
Timestamp string - Timestamp of when the archive was created.
- kms
Key stringArn - ARN of the KMS key used to encrypt the archive.
- last
Updated stringTimestamp - 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
Archive
Retention - Retention policy for the archive. See
retentionBlock. - retention
Actuals ArchiveRetention Actual[] - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state string
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the archive.
- created_
timestamp str - Timestamp of when the archive was created.
- kms_
key_ strarn - ARN of the KMS key used to encrypt the archive.
- last_
updated_ strtimestamp - 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
Archive
Retention Args - Retention policy for the archive. See
retentionBlock. - retention_
actuals Sequence[ArchiveRetention Actual Args] - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state str
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the archive.
- created
Timestamp String - Timestamp of when the archive was created.
- kms
Key StringArn - ARN of the KMS key used to encrypt the archive.
- last
Updated StringTimestamp - 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
retentionBlock. - retention
Actuals List<Property Map> - Effective retention policy for the archive, including the default (
SIX_MONTHS) when noretentionblock is configured. SeeretentionActualBlock below. - state String
- Current state of the archive. Always set to
ACTIVEand will only be set toPENDING_DELETIONwhen the archive is deleted. - Map<String>
- Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Supporting Types
ArchiveRetention, ArchiveRetentionArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
ArchiveRetentionActual, ArchiveRetentionActualArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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
awsTerraform Provider.
published on Thursday, Sep 10, 2026 by Pulumi