Class: AWSCDK::MSK::CfnCluster::ProvisionedThroughputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::ProvisionedThroughputProperty
- Defined in:
- msk/cfn_cluster.rb
Overview
Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Provisioned throughput is on or off.
-
#volume_throughput ⇒ Numeric?
readonly
Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil, volume_throughput: nil) ⇒ ProvisionedThroughputProperty
constructor
A new instance of ProvisionedThroughputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil, volume_throughput: nil) ⇒ ProvisionedThroughputProperty
Returns a new instance of ProvisionedThroughputProperty.
1493 1494 1495 1496 1497 1498 |
# File 'msk/cfn_cluster.rb', line 1493 def initialize(enabled: nil, volume_throughput: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? @volume_throughput = volume_throughput Jsii::Type.check_type(@volume_throughput, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "volumeThroughput") unless @volume_throughput.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
Provisioned throughput is on or off.
1504 1505 1506 |
# File 'msk/cfn_cluster.rb', line 1504 def enabled @enabled end |
#volume_throughput ⇒ Numeric? (readonly)
Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.
1509 1510 1511 |
# File 'msk/cfn_cluster.rb', line 1509 def volume_throughput @volume_throughput end |
Class Method Details
.jsii_properties ⇒ Object
1511 1512 1513 1514 1515 1516 |
# File 'msk/cfn_cluster.rb', line 1511 def self.jsii_properties { :enabled => "enabled", :volume_throughput => "volumeThroughput", } end |
Instance Method Details
#to_jsii ⇒ Object
1518 1519 1520 1521 1522 1523 1524 1525 |
# File 'msk/cfn_cluster.rb', line 1518 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "volumeThroughput" => @volume_throughput, }) result.compact end |