class Aws::CloudWatchEvents::Types::CreateArchiveRequest
@note When making an API call, you may pass CreateArchiveRequest
data as a hash: { archive_name: "ArchiveName", # required event_source_arn: "Arn", # required description: "ArchiveDescription", event_pattern: "EventPattern", retention_days: 1, }
@!attribute [rw] archive_name
The name for the archive to create. @return [String]
@!attribute [rw] event_source_arn
The ARN of the event bus that sends events to the archive. @return [String]
@!attribute [rw] description
A description for the archive. @return [String]
@!attribute [rw] event_pattern
An event pattern to use to filter events sent to the archive. @return [String]
@!attribute [rw] retention_days
The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateArchiveRequest AWS API Documentation
Constants
- SENSITIVE