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.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EventBridge::Types::CreateArchiveRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateArchiveRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  archive_name: "ArchiveName", # required
  event_source_arn: "Arn", # required
  description: "ArchiveDescription",
  event_pattern: "EventPattern",
  retention_days: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#archive_nameString

The name for the archive to create.

Returns:

  • (String)

    The name for the archive to create.

#descriptionString

A description for the archive.

Returns:

  • (String)

    A description for the archive.

#event_patternString

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

Returns:

  • (String)

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

#event_source_arnString

The ARN of the event source associated with the archive.

Returns:

  • (String)

    The ARN of the event source associated with the archive.

#retention_daysInteger

The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely

Returns:

  • (Integer)

    The number of days to retain events for.