Interface CfnArchiveProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnArchiveProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:12:58.418Z")
@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) .retentionDays(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnArchiveProps
static final class
An implementation forCfnArchiveProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnArchiveProps.Builder
builder()
default String
The name for the archive to create.default String
A description for the archive.default Object
An event pattern to use to filter events sent to the archive.default Number
The 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:
-
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.Builder
ofCfnArchiveProps
-