Class: AWSCDK::S3Tables::CfnTableBucket::MetricsConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
s3_tables/cfn_table_bucket.rb

Overview

Settings governing the Metric configuration for the table bucket.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status: nil) ⇒ MetricsConfigurationProperty

Returns a new instance of MetricsConfigurationProperty.

Parameters:

  • status (String, nil) (defaults to: nil)

    Indicates whether Metrics are enabled.



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

#statusString? (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_propertiesObject



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_jsiiObject



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