Class: AWSCDK::Inspector::CfnResourceGroupProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Inspector::CfnResourceGroupProps
- Defined in:
- inspector/cfn_resource_group_props.rb
Overview
Properties for defining a CfnResourceGroup.
Instance Attribute Summary collapse
-
#resource_group_tags ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::CfnTag>
readonly
The tags (key and value pairs) that will be associated with the resource group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_group_tags:) ⇒ CfnResourceGroupProps
constructor
A new instance of CfnResourceGroupProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_group_tags:) ⇒ CfnResourceGroupProps
Returns a new instance of CfnResourceGroupProps.
10 11 12 13 |
# File 'inspector/cfn_resource_group_props.rb', line 10 def initialize(resource_group_tags:) @resource_group_tags = Jsii::Type.check_type(@resource_group_tags, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5DZm5UYWcifV19fSwia2luZCI6ImFycmF5In19XX19")), "resourceGroupTags") end |
Instance Attribute Details
#resource_group_tags ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::CfnTag> (readonly)
The tags (key and value pairs) that will be associated with the resource group.
For more information, see Tag .
21 22 23 |
# File 'inspector/cfn_resource_group_props.rb', line 21 def @resource_group_tags end |
Class Method Details
.jsii_properties ⇒ Object
23 24 25 26 27 |
# File 'inspector/cfn_resource_group_props.rb', line 23 def self.jsii_properties { :resource_group_tags => "resourceGroupTags", } end |
Instance Method Details
#to_jsii ⇒ Object
29 30 31 32 33 34 35 |
# File 'inspector/cfn_resource_group_props.rb', line 29 def to_jsii result = {} result.merge!({ "resourceGroupTags" => @resource_group_tags, }) result.compact end |