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)


780
781
782
783
784
785
786
787
788
# File 'lib/aws-sdk-eventbridge/types.rb', line 780

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)


780
781
782
783
784
785
786
787
788
# File 'lib/aws-sdk-eventbridge/types.rb', line 780

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)


780
781
782
783
784
785
786
787
788
# File 'lib/aws-sdk-eventbridge/types.rb', line 780

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)


780
781
782
783
784
785
786
787
788
# File 'lib/aws-sdk-eventbridge/types.rb', line 780

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)


780
781
782
783
784
785
786
787
788
# File 'lib/aws-sdk-eventbridge/types.rb', line 780

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