Interface CfnMailManagerArchiveProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMailManagerArchiveProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:50.598Z")
@Stability(Stable)
public interface CfnMailManagerArchiveProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMailManagerArchive.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
CfnMailManagerArchiveProps cfnMailManagerArchiveProps = CfnMailManagerArchiveProps.builder()
.archiveName("archiveName")
.kmsKeyArn("kmsKeyArn")
.retention(ArchiveRetentionProperty.builder()
.retentionPeriod("retentionPeriod")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMailManagerArchivePropsstatic final classAn implementation forCfnMailManagerArchiveProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA unique name for the new archive.default StringThe Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.default ObjectThe period for retaining emails in the archive before automatic deletion.getTags()The tags used to organize, track, or control access for the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArchiveName
A unique name for the new archive.- See Also:
-
getKmsKeyArn
The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.- See Also:
-
getRetention
The period for retaining emails in the archive before automatic deletion.Returns union: either
IResolvableorCfnMailManagerArchive.ArchiveRetentionProperty- See Also:
-
getTags
The tags used to organize, track, or control access for the resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
builder
- Returns:
- a
CfnMailManagerArchiveProps.BuilderofCfnMailManagerArchiveProps
-