Class: AWSCDK::Interfaces::AWSSecurityhub::AggregatorV2Reference

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

Overview

A reference to a AggregatorV2 resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aggregator_v2_arn:) ⇒ AggregatorV2Reference

Returns a new instance of AggregatorV2Reference.

Parameters:

  • aggregator_v2_arn (String)

    The AggregatorV2Arn of the AggregatorV2 resource.



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

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

Instance Attribute Details

#aggregator_v2_arnString (readonly)

The AggregatorV2Arn of the AggregatorV2 resource.

Returns:

  • (String)


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

def aggregator_v2_arn
  @aggregator_v2_arn
end

Class Method Details

.jsii_propertiesObject



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

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

Instance Method Details

#to_jsiiObject



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

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