@Stability(value=Stable) public static final class CfnArchive.Builder extends Object implements software.amazon.jsii.Builder<CfnArchive>
CfnArchive.| Modifier and Type | Method and Description |
|---|---|
CfnArchive.Builder |
archiveName(String archiveName)
The name for the archive to create.
|
CfnArchive |
build() |
static CfnArchive.Builder |
create(software.constructs.Construct scope,
String id) |
CfnArchive.Builder |
description(String description)
A description for the archive.
|
CfnArchive.Builder |
eventPattern(Object eventPattern)
An event pattern to use to filter events sent to the archive.
|
CfnArchive.Builder |
retentionDays(Number retentionDays)
The number of days to retain events for.
|
CfnArchive.Builder |
sourceArn(String sourceArn)
The ARN of the event bus that sends events to the archive.
|
@Stability(value=Stable) public static CfnArchive.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnArchive.Builder.@Stability(value=Stable) public CfnArchive.Builder sourceArn(String sourceArn)
sourceArn - The ARN of the event bus that sends events to the archive. This parameter is required.this@Stability(value=Stable) public CfnArchive.Builder archiveName(String archiveName)
archiveName - The name for the archive to create. This parameter is required.this@Stability(value=Stable) public CfnArchive.Builder description(String description)
description - A description for the archive. This parameter is required.this@Stability(value=Stable) public CfnArchive.Builder eventPattern(Object eventPattern)
eventPattern - An event pattern to use to filter events sent to the archive. This parameter is required.this@Stability(value=Stable) public CfnArchive.Builder retentionDays(Number retentionDays)
Default value is 0. If set to 0, events are retained indefinitely
retentionDays - The number of days to retain events for. This parameter is required.this@Stability(value=Stable) public CfnArchive build()
build in interface software.amazon.jsii.Builder<CfnArchive>Copyright © 2022. All rights reserved.