Class CfnMailManagerArchive
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ses.CfnMailManagerArchive
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:23.846Z")
@Stability(Stable)
public class CfnMailManagerArchive
extends CfnResource
implements IInspectable, ITaggableV2
Creates a new email archive resource for storing and retaining emails.
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.*; CfnMailManagerArchive cfnMailManagerArchive = CfnMailManagerArchive.Builder.create(this, "MyCfnMailManagerArchive") .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 TypeClassDescriptionstatic interface
The retention policy for an email archive that specifies how long emails are kept before being automatically deleted.static final class
A fluent builder forCfnMailManagerArchive
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnMailManagerArchive
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnMailManagerArchive
(software.amazon.jsii.JsiiObjectRef objRef) CfnMailManagerArchive
(software.constructs.Construct scope, String id) CfnMailManagerArchive
(software.constructs.Construct scope, String id, CfnMailManagerArchiveProps props) -
Method Summary
Modifier and TypeMethodDescriptionA unique name for the new archive.The Amazon Resource Name (ARN) of the archive.The unique identifier of the archive.The current state of the archive:.Tag Manager which manages the tags for this resource.The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.The period for retaining emails in the archive before automatic deletion.getTags()
The tags used to organize, track, or control access for the resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setArchiveName
(String value) A unique name for the new archive.void
setKmsKeyArn
(String value) The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.void
setRetention
(IResolvable value) The period for retaining emails in the archive before automatic deletion.void
The period for retaining emails in the archive before automatic deletion.void
The tags used to organize, track, or control access for the resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnMailManagerArchive
protected CfnMailManagerArchive(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMailManagerArchive
protected CfnMailManagerArchive(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMailManagerArchive
@Stability(Stable) public CfnMailManagerArchive(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnMailManagerArchiveProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties.
-
CfnMailManagerArchive
@Stability(Stable) public CfnMailManagerArchive(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArchiveArn
The Amazon Resource Name (ARN) of the archive. -
getAttrArchiveId
The unique identifier of the archive. -
getAttrArchiveState
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.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getArchiveName
A unique name for the new archive. -
setArchiveName
A unique name for the new archive. -
getKmsKeyArn
The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive. -
setKmsKeyArn
The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive. -
getRetention
The period for retaining emails in the archive before automatic deletion. -
setRetention
The period for retaining emails in the archive before automatic deletion. -
setRetention
@Stability(Stable) public void setRetention(@Nullable CfnMailManagerArchive.ArchiveRetentionProperty value) The period for retaining emails in the archive before automatic deletion. -
getTags
The tags used to organize, track, or control access for the resource. -
setTags
The tags used to organize, track, or control access for the resource.
-