1. Packages
  2. AWS Native
  3. API Docs
  4. ses
  5. getMailManagerArchive

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.ses.getMailManagerArchive

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Definition of AWS::SES::MailManagerArchive Resource Type

    Using getMailManagerArchive

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMailManagerArchive(args: GetMailManagerArchiveArgs, opts?: InvokeOptions): Promise<GetMailManagerArchiveResult>
    function getMailManagerArchiveOutput(args: GetMailManagerArchiveOutputArgs, opts?: InvokeOptions): Output<GetMailManagerArchiveResult>
    def get_mail_manager_archive(archive_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetMailManagerArchiveResult
    def get_mail_manager_archive_output(archive_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetMailManagerArchiveResult]
    func LookupMailManagerArchive(ctx *Context, args *LookupMailManagerArchiveArgs, opts ...InvokeOption) (*LookupMailManagerArchiveResult, error)
    func LookupMailManagerArchiveOutput(ctx *Context, args *LookupMailManagerArchiveOutputArgs, opts ...InvokeOption) LookupMailManagerArchiveResultOutput

    > Note: This function is named LookupMailManagerArchive in the Go SDK.

    public static class GetMailManagerArchive 
    {
        public static Task<GetMailManagerArchiveResult> InvokeAsync(GetMailManagerArchiveArgs args, InvokeOptions? opts = null)
        public static Output<GetMailManagerArchiveResult> Invoke(GetMailManagerArchiveInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMailManagerArchiveResult> getMailManagerArchive(GetMailManagerArchiveArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ses:getMailManagerArchive
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ArchiveId string
    The unique identifier of the archive.
    ArchiveId string
    The unique identifier of the archive.
    archiveId String
    The unique identifier of the archive.
    archiveId string
    The unique identifier of the archive.
    archive_id str
    The unique identifier of the archive.
    archiveId String
    The unique identifier of the archive.

    getMailManagerArchive Result

    The following output properties are available:

    ArchiveArn string
    The Amazon Resource Name (ARN) of the archive.
    ArchiveId string
    The unique identifier of the archive.
    ArchiveName string
    A unique name for the new archive.
    ArchiveState Pulumi.AwsNative.Ses.MailManagerArchiveArchiveState
    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.
    Retention Pulumi.AwsNative.Ses.Outputs.MailManagerArchiveArchiveRetentionProperties
    The period for retaining emails in the archive before automatic deletion.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    ArchiveArn string
    The Amazon Resource Name (ARN) of the archive.
    ArchiveId string
    The unique identifier of the archive.
    ArchiveName string
    A unique name for the new archive.
    ArchiveState MailManagerArchiveArchiveState
    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.
    Retention MailManagerArchiveArchiveRetentionProperties
    The period for retaining emails in the archive before automatic deletion.
    Tags Tag
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    archiveArn String
    The Amazon Resource Name (ARN) of the archive.
    archiveId String
    The unique identifier of the archive.
    archiveName String
    A unique name for the new archive.
    archiveState MailManagerArchiveArchiveState
    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.
    retention MailManagerArchiveArchiveRetentionProperties
    The period for retaining emails in the archive before automatic deletion.
    tags List<Tag>
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    archiveArn string
    The Amazon Resource Name (ARN) of the archive.
    archiveId string
    The unique identifier of the archive.
    archiveName string
    A unique name for the new archive.
    archiveState MailManagerArchiveArchiveState
    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.
    retention MailManagerArchiveArchiveRetentionProperties
    The period for retaining emails in the archive before automatic deletion.
    tags Tag[]
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    archive_arn str
    The Amazon Resource Name (ARN) of the archive.
    archive_id str
    The unique identifier of the archive.
    archive_name str
    A unique name for the new archive.
    archive_state MailManagerArchiveArchiveState
    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.
    retention MailManagerArchiveArchiveRetentionProperties
    The period for retaining emails in the archive before automatic deletion.
    tags Sequence[root_Tag]
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    archiveArn String
    The Amazon Resource Name (ARN) of the archive.
    archiveId String
    The unique identifier of the archive.
    archiveName String
    A unique name for the new archive.
    archiveState "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.
    retention Property Map
    The period for retaining emails in the archive before automatic deletion.
    tags List<Property Map>
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

    Supporting Types

    MailManagerArchiveArchiveRetentionProperties

    MailManagerArchiveArchiveState

    MailManagerArchiveRetentionPeriod

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi