Class: AWSCDK::Timestream::CfnInfluxDBInstance::S3ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Timestream::CfnInfluxDBInstance::S3ConfigurationProperty
- Defined in:
- timestream/cfn_influx_db_instance.rb
Overview
Configuration for S3 bucket log delivery.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The bucket name of the customer S3 bucket.
-
#enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
Indicates whether log delivery to the S3 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.
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_name ⇒ String (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 |
#enabled ⇒ Boolean, 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_properties ⇒ Object
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_jsii ⇒ Object
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 |