Class: AWSCDK::ResilienceHubv2::CfnService::AssertionDefinitionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
resilience_hubv2/cfn_service.rb

Overview

An assertion about the service's resilience posture.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text:) ⇒ AssertionDefinitionProperty

Returns a new instance of AssertionDefinitionProperty.

Parameters:

  • text (String)

    The text of the assertion.



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

#textString (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_propertiesObject



695
696
697
698
699
# File 'resilience_hubv2/cfn_service.rb', line 695

def self.jsii_properties
  {
    :text => "text",
  }
end

Instance Method Details

#to_jsiiObject



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