Class: AWSCDK::APS::CfnWorkspace::LimitsPerLabelSetEntryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APS::CfnWorkspace::LimitsPerLabelSetEntryProperty
- Defined in:
- aps/cfn_workspace.rb
Overview
This structure contains the limits that apply to time series that match one label set.
Instance Attribute Summary collapse
-
#max_series ⇒ Numeric?
readonly
The maximum number of active series that can be ingested that match this label set.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_series: nil) ⇒ LimitsPerLabelSetEntryProperty
constructor
A new instance of LimitsPerLabelSetEntryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_series: nil) ⇒ LimitsPerLabelSetEntryProperty
Returns a new instance of LimitsPerLabelSetEntryProperty.
698 699 700 701 |
# File 'aps/cfn_workspace.rb', line 698 def initialize(max_series: nil) @max_series = max_series Jsii::Type.check_type(@max_series, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxSeries") unless @max_series.nil? end |
Instance Attribute Details
#max_series ⇒ Numeric? (readonly)
The maximum number of active series that can be ingested that match this label set.
Setting this to 0 causes no label set limit to be enforced, but it does cause Amazon Managed Service for Prometheus to vend label set metrics to CloudWatch
709 710 711 |
# File 'aps/cfn_workspace.rb', line 709 def max_series @max_series end |
Class Method Details
.jsii_properties ⇒ Object
711 712 713 714 715 |
# File 'aps/cfn_workspace.rb', line 711 def self.jsii_properties { :max_series => "maxSeries", } end |
Instance Method Details
#to_jsii ⇒ Object
717 718 719 720 721 722 723 |
# File 'aps/cfn_workspace.rb', line 717 def to_jsii result = {} result.merge!({ "maxSeries" => @max_series, }) result.compact end |