Class: AWSCDK::Timestream::CfnInfluxDBCluster::LogDeliveryConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
timestream/cfn_influx_db_cluster.rb

Overview

Configuration for sending logs to customer account from the InfluxDB cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_configuration:) ⇒ LogDeliveryConfigurationProperty

Returns a new instance of LogDeliveryConfigurationProperty.

Parameters:



809
810
811
812
# File 'timestream/cfn_influx_db_cluster.rb', line 809

def initialize(s3_configuration:)
  @s3_configuration = s3_configuration.is_a?(Hash) ? ::AWSCDK::Timestream::CfnInfluxDBCluster::S3ConfigurationProperty.new(**s3_configuration.transform_keys(&:to_sym)) : s3_configuration
  Jsii::Type.check_type(@s3_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c190aW1lc3RyZWFtLkNmbkluZmx1eERCQ2x1c3Rlci5TM0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "s3Configuration")
end

Instance Attribute Details

#s3_configurationAWSCDK::IResolvable, AWSCDK::Timestream::CfnInfluxDBCluster::S3ConfigurationProperty (readonly)

S3 configuration for sending logs to customer account from the InfluxDB cluster.



818
819
820
# File 'timestream/cfn_influx_db_cluster.rb', line 818

def s3_configuration
  @s3_configuration
end

Class Method Details

.jsii_propertiesObject



820
821
822
823
824
# File 'timestream/cfn_influx_db_cluster.rb', line 820

def self.jsii_properties
  {
    :s3_configuration => "s3Configuration",
  }
end

Instance Method Details

#to_jsiiObject



826
827
828
829
830
831
832
# File 'timestream/cfn_influx_db_cluster.rb', line 826

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