AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateArchive operation. Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z
public class CreateArchiveRequest : AmazonCloudWatchEventsRequest IAmazonWebServiceRequest
The CreateArchiveRequest type exposes the following members
Name | Description | |
---|---|---|
CreateArchiveRequest() |
Name | Type | Description | |
---|---|---|---|
ArchiveName | System.String |
Gets and sets the property ArchiveName. The name for the archive to create. |
|
Description | System.String |
Gets and sets the property Description. A description for the archive. |
|
EventPattern | System.String |
Gets and sets the property EventPattern. An event pattern to use to filter events sent to the archive. |
|
EventSourceArn | System.String |
Gets and sets the property EventSourceArn. The ARN of the event bus that sends events to the archive. |
|
RetentionDays | System.Int32 |
Gets and sets the property RetentionDays. The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5