@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.253Z") @Stability(value=Stable) public interface CfnArchiveProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnArchiveProps.Builder
A builder for
CfnArchiveProps |
static class |
CfnArchiveProps.Jsii$Proxy
An implementation for
CfnArchiveProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnArchiveProps.Builder |
builder() |
default String |
getArchiveName()
The name for the archive to create.
|
default String |
getDescription()
A description for the archive.
|
default Object |
getEventPattern()
An event pattern to use to filter events sent to the archive.
|
default Number |
getRetentionDays()
The number of days to retain events for.
|
String |
getSourceArn()
The ARN of the event bus that sends events to the archive.
|
@Stability(value=Stable) @NotNull String getSourceArn()
@Stability(value=Stable) @Nullable default String getArchiveName()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getEventPattern()
@Stability(value=Stable) @Nullable default Number getRetentionDays()
Default value is 0. If set to 0, events are retained indefinitely
@Stability(value=Stable) static CfnArchiveProps.Builder builder()
CfnArchiveProps.Builder of CfnArchivePropsCopyright © 2022. All rights reserved.