We recommend new projects start with resources from the AWS provider.
aws-native.ses.MailManagerArchive
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::SES::MailManagerArchive Resource Type
Create MailManagerArchive Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MailManagerArchive(name: string, args?: MailManagerArchiveArgs, opts?: CustomResourceOptions);
@overload
def MailManagerArchive(resource_name: str,
args: Optional[MailManagerArchiveArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def MailManagerArchive(resource_name: str,
opts: Optional[ResourceOptions] = None,
archive_name: Optional[str] = None,
kms_key_arn: Optional[str] = None,
retention: Optional[MailManagerArchiveArchiveRetentionPropertiesArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewMailManagerArchive(ctx *Context, name string, args *MailManagerArchiveArgs, opts ...ResourceOption) (*MailManagerArchive, error)
public MailManagerArchive(string name, MailManagerArchiveArgs? args = null, CustomResourceOptions? opts = null)
public MailManagerArchive(String name, MailManagerArchiveArgs args)
public MailManagerArchive(String name, MailManagerArchiveArgs args, CustomResourceOptions options)
type: aws-native:ses:MailManagerArchive
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MailManagerArchiveArgs
- 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 MailManagerArchiveArgs
- 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 MailManagerArchiveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MailManagerArchiveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MailManagerArchiveArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MailManagerArchive 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 MailManagerArchive resource accepts the following input properties:
- Archive
Name string - A unique name for the new archive.
- Kms
Key stringArn - The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
- Retention
Pulumi.
Aws Native. Ses. Inputs. Mail Manager Archive Archive Retention Properties - The period for retaining emails in the archive before automatic deletion.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Archive
Name string - A unique name for the new archive.
- Kms
Key stringArn - The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
- Retention
Mail
Manager Archive Archive Retention Properties Args - The period for retaining emails in the archive before automatic deletion.
- Tag
Args - The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- archive
Name String - A unique name for the new archive.
- kms
Key StringArn - The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
- retention
Mail
Manager Archive Archive Retention Properties - The period for retaining emails in the archive before automatic deletion.
- List<Tag>
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- archive
Name string - A unique name for the new archive.
- kms
Key stringArn - The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
- retention
Mail
Manager Archive Archive Retention Properties - The period for retaining emails in the archive before automatic deletion.
- Tag[]
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- archive_
name str - A unique name for the new archive.
- kms_
key_ strarn - The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
- retention
Mail
Manager Archive Archive Retention Properties Args - The period for retaining emails in the archive before automatic deletion.
- Sequence[Tag
Args] - The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- archive
Name String - A unique name for the new archive.
- kms
Key StringArn - The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
- retention Property Map
- The period for retaining emails in the archive before automatic deletion.
- List<Property Map>
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Outputs
All input properties are implicitly available as output properties. Additionally, the MailManagerArchive resource produces the following output properties:
- Archive
Arn string - The Amazon Resource Name (ARN) of the archive.
- Archive
Id string - The unique identifier of the archive.
- Archive
State Pulumi.Aws Native. Ses. Mail Manager Archive Archive State - The current state of the archive:
ACTIVE
– The archive is ready and available for use.PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- Id string
- The provider-assigned unique ID for this managed resource.
- Archive
Arn string - The Amazon Resource Name (ARN) of the archive.
- Archive
Id string - The unique identifier of the archive.
- Archive
State MailManager Archive Archive State - The current state of the archive:
ACTIVE
– The archive is ready and available for use.PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- Id string
- The provider-assigned unique ID for this managed resource.
- archive
Arn String - The Amazon Resource Name (ARN) of the archive.
- archive
Id String - The unique identifier of the archive.
- archive
State MailManager Archive Archive State - The current state of the archive:
ACTIVE
– The archive is ready and available for use.PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- id String
- The provider-assigned unique ID for this managed resource.
- archive
Arn string - The Amazon Resource Name (ARN) of the archive.
- archive
Id string - The unique identifier of the archive.
- archive
State MailManager Archive Archive State - The current state of the archive:
ACTIVE
– The archive is ready and available for use.PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- id string
- The provider-assigned unique ID for this managed resource.
- archive_
arn str - The Amazon Resource Name (ARN) of the archive.
- archive_
id str - The unique identifier of the archive.
- archive_
state MailManager Archive Archive State - The current state of the archive:
ACTIVE
– The archive is ready and available for use.PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- id str
- The provider-assigned unique ID for this managed resource.
- archive
Arn String - The Amazon Resource Name (ARN) of the archive.
- archive
Id String - The unique identifier of the archive.
- archive
State "ACTIVE" | "PENDING_DELETION" - The current state of the archive:
ACTIVE
– The archive is ready and available for use.PENDING_DELETION
– The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
MailManagerArchiveArchiveRetentionProperties, MailManagerArchiveArchiveRetentionPropertiesArgs
MailManagerArchiveArchiveState, MailManagerArchiveArchiveStateArgs
- Active
- ACTIVE
- Pending
Deletion - PENDING_DELETION
- Mail
Manager Archive Archive State Active - ACTIVE
- Mail
Manager Archive Archive State Pending Deletion - PENDING_DELETION
- Active
- ACTIVE
- Pending
Deletion - PENDING_DELETION
- Active
- ACTIVE
- Pending
Deletion - PENDING_DELETION
- ACTIVE
- ACTIVE
- PENDING_DELETION
- PENDING_DELETION
- "ACTIVE"
- ACTIVE
- "PENDING_DELETION"
- PENDING_DELETION
MailManagerArchiveRetentionPeriod, MailManagerArchiveRetentionPeriodArgs
- Three
Months - THREE_MONTHS
- Six
Months - SIX_MONTHS
- Nine
Months - NINE_MONTHS
- One
Year - ONE_YEAR
- Eighteen
Months - EIGHTEEN_MONTHS
- Two
Years - TWO_YEARS
- Thirty
Months - THIRTY_MONTHS
- Three
Years - THREE_YEARS
- Four
Years - FOUR_YEARS
- Five
Years - FIVE_YEARS
- Six
Years - SIX_YEARS
- Seven
Years - SEVEN_YEARS
- Eight
Years - EIGHT_YEARS
- Nine
Years - NINE_YEARS
- Ten
Years - TEN_YEARS
- Permanent
- PERMANENT
- Mail
Manager Archive Retention Period Three Months - THREE_MONTHS
- Mail
Manager Archive Retention Period Six Months - SIX_MONTHS
- Mail
Manager Archive Retention Period Nine Months - NINE_MONTHS
- Mail
Manager Archive Retention Period One Year - ONE_YEAR
- Mail
Manager Archive Retention Period Eighteen Months - EIGHTEEN_MONTHS
- Mail
Manager Archive Retention Period Two Years - TWO_YEARS
- Mail
Manager Archive Retention Period Thirty Months - THIRTY_MONTHS
- Mail
Manager Archive Retention Period Three Years - THREE_YEARS
- Mail
Manager Archive Retention Period Four Years - FOUR_YEARS
- Mail
Manager Archive Retention Period Five Years - FIVE_YEARS
- Mail
Manager Archive Retention Period Six Years - SIX_YEARS
- Mail
Manager Archive Retention Period Seven Years - SEVEN_YEARS
- Mail
Manager Archive Retention Period Eight Years - EIGHT_YEARS
- Mail
Manager Archive Retention Period Nine Years - NINE_YEARS
- Mail
Manager Archive Retention Period Ten Years - TEN_YEARS
- Mail
Manager Archive Retention Period Permanent - PERMANENT
- Three
Months - THREE_MONTHS
- Six
Months - SIX_MONTHS
- Nine
Months - NINE_MONTHS
- One
Year - ONE_YEAR
- Eighteen
Months - EIGHTEEN_MONTHS
- Two
Years - TWO_YEARS
- Thirty
Months - THIRTY_MONTHS
- Three
Years - THREE_YEARS
- Four
Years - FOUR_YEARS
- Five
Years - FIVE_YEARS
- Six
Years - SIX_YEARS
- Seven
Years - SEVEN_YEARS
- Eight
Years - EIGHT_YEARS
- Nine
Years - NINE_YEARS
- Ten
Years - TEN_YEARS
- Permanent
- PERMANENT
- Three
Months - THREE_MONTHS
- Six
Months - SIX_MONTHS
- Nine
Months - NINE_MONTHS
- One
Year - ONE_YEAR
- Eighteen
Months - EIGHTEEN_MONTHS
- Two
Years - TWO_YEARS
- Thirty
Months - THIRTY_MONTHS
- Three
Years - THREE_YEARS
- Four
Years - FOUR_YEARS
- Five
Years - FIVE_YEARS
- Six
Years - SIX_YEARS
- Seven
Years - SEVEN_YEARS
- Eight
Years - EIGHT_YEARS
- Nine
Years - NINE_YEARS
- Ten
Years - TEN_YEARS
- Permanent
- PERMANENT
- THREE_MONTHS
- THREE_MONTHS
- SIX_MONTHS
- SIX_MONTHS
- NINE_MONTHS
- NINE_MONTHS
- ONE_YEAR
- ONE_YEAR
- EIGHTEEN_MONTHS
- EIGHTEEN_MONTHS
- TWO_YEARS
- TWO_YEARS
- THIRTY_MONTHS
- THIRTY_MONTHS
- THREE_YEARS
- THREE_YEARS
- FOUR_YEARS
- FOUR_YEARS
- FIVE_YEARS
- FIVE_YEARS
- SIX_YEARS
- SIX_YEARS
- SEVEN_YEARS
- SEVEN_YEARS
- EIGHT_YEARS
- EIGHT_YEARS
- NINE_YEARS
- NINE_YEARS
- TEN_YEARS
- TEN_YEARS
- PERMANENT
- PERMANENT
- "THREE_MONTHS"
- THREE_MONTHS
- "SIX_MONTHS"
- SIX_MONTHS
- "NINE_MONTHS"
- NINE_MONTHS
- "ONE_YEAR"
- ONE_YEAR
- "EIGHTEEN_MONTHS"
- EIGHTEEN_MONTHS
- "TWO_YEARS"
- TWO_YEARS
- "THIRTY_MONTHS"
- THIRTY_MONTHS
- "THREE_YEARS"
- THREE_YEARS
- "FOUR_YEARS"
- FOUR_YEARS
- "FIVE_YEARS"
- FIVE_YEARS
- "SIX_YEARS"
- SIX_YEARS
- "SEVEN_YEARS"
- SEVEN_YEARS
- "EIGHT_YEARS"
- EIGHT_YEARS
- "NINE_YEARS"
- NINE_YEARS
- "TEN_YEARS"
- TEN_YEARS
- "PERMANENT"
- PERMANENT
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.