@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:30.751Z") @Stability(value=Experimental) 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.core.*;
import software.amazon.awscdk.services.events.*;
Object detail;
Duration duration;
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)
.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()
(experimental) The event source associated with the archive.
|
getArchiveName, getDescription, getEventPattern, getRetention@Stability(value=Experimental) @NotNull IEventBus getSourceEventBus()
@Stability(value=Experimental) static ArchiveProps.Builder builder()
builder in interface BaseArchivePropsArchiveProps.Builder of ArchivePropsCopyright © 2022. All rights reserved.