Class: AWSCDK::SecurityHub::CfnAggregatorV2Props
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityHub::CfnAggregatorV2Props
- Defined in:
- security_hub/cfn_aggregator_v2_props.rb
Overview
Properties for defining a CfnAggregatorV2.
Instance Attribute Summary collapse
-
#linked_regions ⇒ Array<String>
readonly
The list of Regions that are linked to the aggregation Region.
-
#region_linking_mode ⇒ String
readonly
Determines how Regions are linked to an Aggregator V2.
-
#tags ⇒ Hash{String => String}?
readonly
A list of key-value pairs to be applied to the AggregatorV2.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(linked_regions:, region_linking_mode:, tags: nil) ⇒ CfnAggregatorV2Props
constructor
A new instance of CfnAggregatorV2Props.
- #to_jsii ⇒ Object
Constructor Details
#initialize(linked_regions:, region_linking_mode:, tags: nil) ⇒ CfnAggregatorV2Props
Returns a new instance of CfnAggregatorV2Props.
12 13 14 15 16 17 18 19 |
# File 'security_hub/cfn_aggregator_v2_props.rb', line 12 def initialize(linked_regions:, region_linking_mode:, tags: nil) @linked_regions = linked_regions Jsii::Type.check_type(@linked_regions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "linkedRegions") @region_linking_mode = region_linking_mode Jsii::Type.check_type(@region_linking_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "regionLinkingMode") @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#linked_regions ⇒ Array<String> (readonly)
The list of Regions that are linked to the aggregation Region.
25 26 27 |
# File 'security_hub/cfn_aggregator_v2_props.rb', line 25 def linked_regions @linked_regions end |
#region_linking_mode ⇒ String (readonly)
Determines how Regions are linked to an Aggregator V2.
30 31 32 |
# File 'security_hub/cfn_aggregator_v2_props.rb', line 30 def region_linking_mode @region_linking_mode end |
#tags ⇒ Hash{String => String}? (readonly)
A list of key-value pairs to be applied to the AggregatorV2.
35 36 37 |
# File 'security_hub/cfn_aggregator_v2_props.rb', line 35 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
37 38 39 40 41 42 43 |
# File 'security_hub/cfn_aggregator_v2_props.rb', line 37 def self.jsii_properties { :linked_regions => "linkedRegions", :region_linking_mode => "regionLinkingMode", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
45 46 47 48 49 50 51 52 53 |
# File 'security_hub/cfn_aggregator_v2_props.rb', line 45 def to_jsii result = {} result.merge!({ "linkedRegions" => @linked_regions, "regionLinkingMode" => @region_linking_mode, "tags" => @tags, }) result.compact end |