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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-eventbridge/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#archive_nameString

The name for the archive to create.

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
# File 'lib/aws-sdk-eventbridge/types.rb', line 730

class CreateArchiveRequest < Struct.new(
  :archive_name,
  :event_source_arn,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the archive.

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
# File 'lib/aws-sdk-eventbridge/types.rb', line 730

class CreateArchiveRequest < Struct.new(
  :archive_name,
  :event_source_arn,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end

#event_patternString

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

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
# File 'lib/aws-sdk-eventbridge/types.rb', line 730

class CreateArchiveRequest < Struct.new(
  :archive_name,
  :event_source_arn,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end

#event_source_arnString

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

Returns:

  • (String)


730
731
732
733
734
735
736
737
738
# File 'lib/aws-sdk-eventbridge/types.rb', line 730

class CreateArchiveRequest < Struct.new(
  :archive_name,
  :event_source_arn,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end

#retention_daysInteger

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

Returns:

  • (Integer)


730
731
732
733
734
735
736
737
738
# File 'lib/aws-sdk-eventbridge/types.rb', line 730

class CreateArchiveRequest < Struct.new(
  :archive_name,
  :event_source_arn,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end