Class: AWSCDK::SecurityHub::CfnAutomationRule::NoteUpdateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityHub::CfnAutomationRule::NoteUpdateProperty
- Defined in:
- security_hub/cfn_automation_rule.rb
Overview
The updated note.
Instance Attribute Summary collapse
-
#text ⇒ String
readonly
The updated note text.
-
#updated_by ⇒ String
readonly
The principal that updated the note.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(text:, updated_by:) ⇒ NoteUpdateProperty
constructor
A new instance of NoteUpdateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(text:, updated_by:) ⇒ NoteUpdateProperty
Returns a new instance of NoteUpdateProperty.
1440 1441 1442 1443 1444 1445 |
# File 'security_hub/cfn_automation_rule.rb', line 1440 def initialize(text:, updated_by:) @text = text Jsii::Type.check_type(@text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "text") @updated_by = updated_by Jsii::Type.check_type(@updated_by, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "updatedBy") end |
Instance Attribute Details
#text ⇒ String (readonly)
The updated note text.
1451 1452 1453 |
# File 'security_hub/cfn_automation_rule.rb', line 1451 def text @text end |
#updated_by ⇒ String (readonly)
The principal that updated the note.
1456 1457 1458 |
# File 'security_hub/cfn_automation_rule.rb', line 1456 def updated_by @updated_by end |
Class Method Details
.jsii_properties ⇒ Object
1458 1459 1460 1461 1462 1463 |
# File 'security_hub/cfn_automation_rule.rb', line 1458 def self.jsii_properties { :text => "text", :updated_by => "updatedBy", } end |
Instance Method Details
#to_jsii ⇒ Object
1465 1466 1467 1468 1469 1470 1471 1472 |
# File 'security_hub/cfn_automation_rule.rb', line 1465 def to_jsii result = {} result.merge!({ "text" => @text, "updatedBy" => @updated_by, }) result.compact end |