Class: AWSCDK::Timestream::CfnInfluxDBCluster::S3ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Timestream::CfnInfluxDBCluster::S3ConfigurationProperty
- 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
-
#bucket_name ⇒ String
readonly
The bucket name for logs to be sent from the InfluxDB cluster.
-
#enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
Specifies whether logging to customer specified bucket is enabled.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, enabled:) ⇒ S3ConfigurationProperty
constructor
A new instance of S3ConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, enabled:) ⇒ S3ConfigurationProperty
Returns a new instance of S3ConfigurationProperty.
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_name ⇒ String (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 |
#enabled ⇒ Boolean, 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_properties ⇒ Object
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_jsii ⇒ Object
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 |