Class: AWSCDK::Timestream::CfnInfluxDBInstance::S3ConfigurationProperty

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

Overview

Configuration for S3 bucket log delivery.

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 of the customer S3 bucket.

  • enabled (Boolean, AWSCDK::IResolvable)

    Indicates whether log delivery to the S3 bucket is enabled.



881
882
883
884
885
886
# File 'timestream/cfn_influx_db_instance.rb', line 881

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 of the customer S3 bucket.



892
893
894
# File 'timestream/cfn_influx_db_instance.rb', line 892

def bucket_name
  @bucket_name
end

#enabledBoolean, AWSCDK::IResolvable (readonly)

Indicates whether log delivery to the S3 bucket is enabled.



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

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



899
900
901
902
903
904
# File 'timestream/cfn_influx_db_instance.rb', line 899

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

Instance Method Details

#to_jsiiObject



906
907
908
909
910
911
912
913
# File 'timestream/cfn_influx_db_instance.rb', line 906

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