Class: AWSCDK::Interfaces::AWSSecurityhub::HubV2Reference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_securityhub/hub_v2_reference.rb

Overview

A reference to a HubV2 resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hub_v2_arn:) ⇒ HubV2Reference

Returns a new instance of HubV2Reference.

Parameters:

  • hub_v2_arn (String)

    The HubV2Arn of the HubV2 resource.



8
9
10
11
# File 'interfaces/aws_securityhub/hub_v2_reference.rb', line 8

def initialize(hub_v2_arn:)
  @hub_v2_arn = hub_v2_arn
  Jsii::Type.check_type(@hub_v2_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hubV2Arn")
end

Instance Attribute Details

#hub_v2_arnString (readonly)

The HubV2Arn of the HubV2 resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_securityhub/hub_v2_reference.rb', line 16

def hub_v2_arn
  @hub_v2_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_securityhub/hub_v2_reference.rb', line 18

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

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_securityhub/hub_v2_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "hubV2Arn" => @hub_v2_arn,
  })
  result.compact
end