Class: AWSCDK::OSIS::CfnPipeline::BufferOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
osis/cfn_pipeline.rb

Overview

Options that specify the configuration of a persistent buffer.

To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions . For more information, see Persistent buffering .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(persistent_buffer_enabled:) ⇒ BufferOptionsProperty

Returns a new instance of BufferOptionsProperty.

Parameters:

  • persistent_buffer_enabled (Boolean, AWSCDK::IResolvable)

    Whether persistent buffering should be enabled.



678
679
680
681
# File 'osis/cfn_pipeline.rb', line 678

def initialize(persistent_buffer_enabled:)
  @persistent_buffer_enabled = persistent_buffer_enabled
  Jsii::Type.check_type(@persistent_buffer_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "persistentBufferEnabled")
end

Instance Attribute Details

#persistent_buffer_enabledBoolean, AWSCDK::IResolvable (readonly)

Whether persistent buffering should be enabled.



687
688
689
# File 'osis/cfn_pipeline.rb', line 687

def persistent_buffer_enabled
  @persistent_buffer_enabled
end

Class Method Details

.jsii_propertiesObject



689
690
691
692
693
# File 'osis/cfn_pipeline.rb', line 689

def self.jsii_properties
  {
    :persistent_buffer_enabled => "persistentBufferEnabled",
  }
end

Instance Method Details

#to_jsiiObject



695
696
697
698
699
700
701
# File 'osis/cfn_pipeline.rb', line 695

def to_jsii
  result = {}
  result.merge!({
    "persistentBufferEnabled" => @persistent_buffer_enabled,
  })
  result.compact
end