Class: AWSCDK::SecurityHub::CfnAutomationRule::RelatedFindingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityHub::CfnAutomationRule::RelatedFindingProperty
- Defined in:
- security_hub/cfn_automation_rule.rb
Overview
Provides details about a list of findings that the current finding relates to.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The product-generated identifier for a related finding.
-
#product_arn ⇒ String
readonly
The Amazon Resource Name (ARN) for the product that generated a related finding.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, product_arn:) ⇒ RelatedFindingProperty
constructor
A new instance of RelatedFindingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id:, product_arn:) ⇒ RelatedFindingProperty
Returns a new instance of RelatedFindingProperty.
1536 1537 1538 1539 1540 1541 |
# File 'security_hub/cfn_automation_rule.rb', line 1536 def initialize(id:, product_arn:) @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") @product_arn = product_arn Jsii::Type.check_type(@product_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "productArn") end |
Instance Attribute Details
#id ⇒ String (readonly)
The product-generated identifier for a related finding.
Array Members: Minimum number of 1 item. Maximum number of 20 items.
1549 1550 1551 |
# File 'security_hub/cfn_automation_rule.rb', line 1549 def id @id end |
#product_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) for the product that generated a related finding.
1554 1555 1556 |
# File 'security_hub/cfn_automation_rule.rb', line 1554 def product_arn @product_arn end |
Class Method Details
.jsii_properties ⇒ Object
1556 1557 1558 1559 1560 1561 |
# File 'security_hub/cfn_automation_rule.rb', line 1556 def self.jsii_properties { :id => "id", :product_arn => "productArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1563 1564 1565 1566 1567 1568 1569 1570 |
# File 'security_hub/cfn_automation_rule.rb', line 1563 def to_jsii result = {} result.merge!({ "id" => @id, "productArn" => @product_arn, }) result.compact end |