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.

An Archive object that contains details about an archive.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchEvents.Model.Archive

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

Syntax

C#
public class Archive

The Archive type exposes the following members

Constructors

NameDescription
Public Method Archive()

Properties

NameTypeDescription
Public Property ArchiveName System.String

Gets and sets the property ArchiveName.

The name of the archive.

Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

The time stamp for the time that the archive was created.

Public Property EventCount System.Int64

Gets and sets the property EventCount.

The number of events in the archive.

Public Property EventSourceArn System.String

Gets and sets the property EventSourceArn.

The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.

Public Property RetentionDays System.Int32

Gets and sets the property RetentionDays.

The number of days to retain events in the archive before they are deleted.

Public Property SizeBytes System.Int64

Gets and sets the property SizeBytes.

The size of the archive, in bytes.

Public Property State Amazon.CloudWatchEvents.ArchiveState

Gets and sets the property State.

The current state of the archive.

Public Property StateReason System.String

Gets and sets the property StateReason.

A description for the reason that the archive is in the current state.

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