Class: Aws::CloudWatchEvents::Types::CreateArchiveRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#archive_name ⇒ String

The name for the archive to create.

Returns:

  • (String)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 703

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

#description ⇒ String

A description for the archive.

Returns:

  • (String)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 703

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

#event_pattern ⇒ String

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

Returns:

  • (String)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 703

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

#event_source_arn ⇒ String

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

Returns:

  • (String)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 703

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

#retention_days ⇒ Integer

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

Returns:

  • (Integer)


703
704
705
706
707
708
709
710
711
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 703

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