@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.250Z") @Stability(value=Stable) public interface ArchiveProps extends software.amazon.jsii.JsiiSerializable, BaseArchiveProps
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.events.*;
Object detail;
EventBus eventBus;
ArchiveProps archiveProps = ArchiveProps.builder()
.eventPattern(EventPattern.builder()
.account(List.of("account"))
.detail(Map.of(
"detailKey", detail))
.detailType(List.of("detailType"))
.id(List.of("id"))
.region(List.of("region"))
.resources(List.of("resources"))
.source(List.of("source"))
.time(List.of("time"))
.version(List.of("version"))
.build())
.sourceEventBus(eventBus)
// the properties below are optional
.archiveName("archiveName")
.description("description")
.retention(Duration.minutes(30))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ArchiveProps.Builder
A builder for
ArchiveProps |
static class |
ArchiveProps.Jsii$Proxy
An implementation for
ArchiveProps |
| Modifier and Type | Method and Description |
|---|---|
static ArchiveProps.Builder |
builder() |
IEventBus |
getSourceEventBus()
The event source associated with the archive.
|
getArchiveName, getDescription, getEventPattern, getRetention@Stability(value=Stable) @NotNull IEventBus getSourceEventBus()
@Stability(value=Stable) static ArchiveProps.Builder builder()
builder in interface BaseArchivePropsArchiveProps.Builder of ArchivePropsCopyright © 2022. All rights reserved.