Class CfnMailManagerArchive
Creates a new email archive resource for storing and retaining emails.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerArchive : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnMailManagerArchive
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
CloudformationResource: AWS::SES::MailManagerArchive
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var cfnMailManagerArchive = new CfnMailManagerArchive(this, "MyCfnMailManagerArchive", new CfnMailManagerArchiveProps {
ArchiveName = "archiveName",
KmsKeyArn = "kmsKeyArn",
Retention = new ArchiveRetentionProperty {
RetentionPeriod = "retentionPeriod"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnMailManagerArchive(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnMailManagerArchive(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnMailManagerArchive(Construct, String, ICfnMailManagerArchiveProps) |
Properties
ArchiveName | A unique name for the new archive. |
AttrArchiveArn | The Amazon Resource Name (ARN) of the archive. |
AttrArchiveId | The unique identifier of the archive. |
AttrArchiveState | The current state of the archive:. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
KmsKeyArn | The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive. |
Retention | The period for retaining emails in the archive before automatic deletion. |
Tags | The tags used to organize, track, or control access for the resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnMailManagerArchive(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnMailManagerArchive(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnMailManagerArchive(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnMailManagerArchive(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnMailManagerArchive(Construct, String, ICfnMailManagerArchiveProps)
public CfnMailManagerArchive(Construct scope, string id, ICfnMailManagerArchiveProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnMailManagerArchiveProps
Resource properties.
Properties
ArchiveName
A unique name for the new archive.
public virtual string ArchiveName { get; set; }
Property Value
System.String
AttrArchiveArn
The Amazon Resource Name (ARN) of the archive.
public virtual string AttrArchiveArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ArchiveArn
AttrArchiveId
The unique identifier of the archive.
public virtual string AttrArchiveId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ArchiveId
AttrArchiveState
The current state of the archive:.
public virtual string AttrArchiveState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ArchiveState
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
KmsKeyArn
The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.
public virtual string KmsKeyArn { get; set; }
Property Value
System.String
Retention
The period for retaining emails in the archive before automatic deletion.
public virtual object Retention { get; set; }
Property Value
System.Object
Tags
The tags used to organize, track, or control access for the resource.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>