Class: Aws::CloudWatchEvents::Types::CreateArchiveRequest
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::CloudWatchEvents::Types::CreateArchiveRequest
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchevents/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #archive_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name for the archive to create. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A description for the archive. 
- 
  
    
      #event_pattern  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An event pattern to use to filter events sent to the archive. 
- 
  
    
      #event_source_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ARN of the event bus that sends events to the archive. 
- 
  
    
      #retention_days  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of days to retain events for. 
Instance Attribute Details
#archive_name ⇒ String
The name for the archive to create.
| 703 704 705 706 707 708 709 710 711 | # File '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.
| 703 704 705 706 707 708 709 710 711 | # File '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.
| 703 704 705 706 707 708 709 710 711 | # File '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.
| 703 704 705 706 707 708 709 710 711 | # File '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
| 703 704 705 706 707 708 709 710 711 | # File '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 |