Class: AWSCDK::Timestream::CfnInfluxDBCluster::S3ConfigurationProperty

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

Overview

S3 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(bucket_name:, enabled:) ⇒ S3ConfigurationProperty

Returns a new instance of S3ConfigurationProperty.

Parameters:

  • bucket_name (String)

    The bucket name for logs to be sent from the InfluxDB cluster.

  • enabled (Boolean, AWSCDK::IResolvable)

    Specifies whether logging to customer specified bucket is enabled.



886
887
888
889
890
891
# File 'timestream/cfn_influx_db_cluster.rb', line 886

def initialize(bucket_name:, enabled:)
  @bucket_name = bucket_name
  Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName")
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled")
end

Instance Attribute Details

#bucket_nameString (readonly)

The bucket name for logs to be sent from the InfluxDB cluster.



897
898
899
# File 'timestream/cfn_influx_db_cluster.rb', line 897

def bucket_name
  @bucket_name
end

#enabledBoolean, AWSCDK::IResolvable (readonly)

Specifies whether logging to customer specified bucket is enabled.



902
903
904
# File 'timestream/cfn_influx_db_cluster.rb', line 902

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



904
905
906
907
908
909
# File 'timestream/cfn_influx_db_cluster.rb', line 904

def self.jsii_properties
  {
    :bucket_name => "bucketName",
    :enabled => "enabled",
  }
end

Instance Method Details

#to_jsiiObject



911
912
913
914
915
916
917
918
# File 'timestream/cfn_influx_db_cluster.rb', line 911

def to_jsii
  result = {}
  result.merge!({
    "bucketName" => @bucket_name,
    "enabled" => @enabled,
  })
  result.compact
end