AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchEvents.AmazonCloudWatchEventsRequest
      Amazon.CloudWatchEvents.Model.CreateArchiveRequest

Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z

Syntax

C#
public class CreateArchiveRequest : AmazonCloudWatchEventsRequest
         IAmazonWebServiceRequest

The CreateArchiveRequest type exposes the following members

Constructors

NameDescription
Public Method CreateArchiveRequest()

Properties

NameTypeDescription
Public Property ArchiveName System.String

Gets and sets the property ArchiveName.

The name for the archive to create.

Public Property Description System.String

Gets and sets the property Description.

A description for the archive.

Public Property EventPattern System.String

Gets and sets the property EventPattern.

An event pattern to use to filter events sent to the archive.

Public Property EventSourceArn System.String

Gets and sets the property EventSourceArn.

The ARN of the event bus that sends events to the archive.

Public Property 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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5