Class: AWSCDK::S3Tables::CfnTableBucket::MetricsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTableBucket::MetricsConfigurationProperty
- Defined in:
- s3_tables/cfn_table_bucket.rb
Overview
Settings governing the Metric configuration for the table bucket.
Instance Attribute Summary collapse
-
#status ⇒ String?
readonly
Indicates whether Metrics are enabled.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(status: nil) ⇒ MetricsConfigurationProperty
constructor
A new instance of MetricsConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(status: nil) ⇒ MetricsConfigurationProperty
Returns a new instance of MetricsConfigurationProperty.
656 657 658 659 |
# File 's3_tables/cfn_table_bucket.rb', line 656 def initialize(status: nil) @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#status ⇒ String? (readonly)
Note:
Default: - "Disabled"
Indicates whether Metrics are enabled.
666 667 668 |
# File 's3_tables/cfn_table_bucket.rb', line 666 def status @status end |
Class Method Details
.jsii_properties ⇒ Object
668 669 670 671 672 |
# File 's3_tables/cfn_table_bucket.rb', line 668 def self.jsii_properties { :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
674 675 676 677 678 679 680 |
# File 's3_tables/cfn_table_bucket.rb', line 674 def to_jsii result = {} result.merge!({ "status" => @status, }) result.compact end |