Class: AWSCDK::ResilienceHubv2::CfnService::AssertionDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResilienceHubv2::CfnService::AssertionDefinitionProperty
- Defined in:
- resilience_hubv2/cfn_service.rb
Overview
An assertion about the service's resilience posture.
Instance Attribute Summary collapse
-
#text ⇒ String
readonly
The text of the assertion.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(text:) ⇒ AssertionDefinitionProperty
constructor
A new instance of AssertionDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(text:) ⇒ AssertionDefinitionProperty
Returns a new instance of AssertionDefinitionProperty.
684 685 686 687 |
# File 'resilience_hubv2/cfn_service.rb', line 684 def initialize(text:) @text = text Jsii::Type.check_type(@text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "text") end |
Instance Attribute Details
#text ⇒ String (readonly)
The text of the assertion.
693 694 695 |
# File 'resilience_hubv2/cfn_service.rb', line 693 def text @text end |
Class Method Details
.jsii_properties ⇒ Object
695 696 697 698 699 |
# File 'resilience_hubv2/cfn_service.rb', line 695 def self.jsii_properties { :text => "text", } end |
Instance Method Details
#to_jsii ⇒ Object
701 702 703 704 705 706 707 |
# File 'resilience_hubv2/cfn_service.rb', line 701 def to_jsii result = {} result.merge!({ "text" => @text, }) result.compact end |