Interface CfnArchiveProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnArchiveProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:13.554Z")
@Stability(Stable)
public interface CfnArchiveProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnArchive.
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.events.*;
Object eventPattern;
CfnArchiveProps cfnArchiveProps = CfnArchiveProps.builder()
.sourceArn("sourceArn")
// the properties below are optional
.archiveName("archiveName")
.description("description")
.eventPattern(eventPattern)
.kmsKeyIdentifier("kmsKeyIdentifier")
.retentionDays(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnArchivePropsstatic final classAn implementation forCfnArchiveProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnArchiveProps.Builderbuilder()default StringThe name for the archive to create.default StringA description for the archive.default ObjectAn event pattern to use to filter events sent to the archive.default Stringdefault NumberThe number of days to retain events for.The ARN of the event bus that sends events to the archive.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceArn
The ARN of the event bus that sends events to the archive.- See Also:
-
getArchiveName
The name for the archive to create.- See Also:
-
getDescription
A description for the archive.- See Also:
-
getEventPattern
An event pattern to use to filter events sent to the archive.- See Also:
-
getKmsKeyIdentifier
- See Also:
-
getRetentionDays
The number of days to retain events for.Default value is 0. If set to 0, events are retained indefinitely
- See Also:
-
builder
- Returns:
- a
CfnArchiveProps.BuilderofCfnArchiveProps
-