Class: AWSCDK::ApplicationSignals::CfnServiceLevelObjective::SelectionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ApplicationSignals::CfnServiceLevelObjective::SelectionConfigProperty
- Defined in:
- application_signals/cfn_service_level_objective.rb
Overview
Instance Attribute Summary collapse
- #pattern ⇒ String? readonly
- #type ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, pattern: nil) ⇒ SelectionConfigProperty
constructor
A new instance of SelectionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, pattern: nil) ⇒ SelectionConfigProperty
Returns a new instance of SelectionConfigProperty.
1681 1682 1683 1684 1685 1686 |
# File 'application_signals/cfn_service_level_objective.rb', line 1681 def initialize(type:, pattern: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @pattern = pattern Jsii::Type.check_type(@pattern, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pattern") unless @pattern.nil? end |
Instance Attribute Details
#pattern ⇒ String? (readonly)
1693 1694 1695 |
# File 'application_signals/cfn_service_level_objective.rb', line 1693 def pattern @pattern end |
#type ⇒ String (readonly)
1690 1691 1692 |
# File 'application_signals/cfn_service_level_objective.rb', line 1690 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1695 1696 1697 1698 1699 1700 |
# File 'application_signals/cfn_service_level_objective.rb', line 1695 def self.jsii_properties { :type => "type", :pattern => "pattern", } end |
Instance Method Details
#to_jsii ⇒ Object
1702 1703 1704 1705 1706 1707 1708 1709 |
# File 'application_signals/cfn_service_level_objective.rb', line 1702 def to_jsii result = {} result.merge!({ "type" => @type, "pattern" => @pattern, }) result.compact end |