Class: AWSCDK::ResourceExplorer2::CfnView::IncludedPropertyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResourceExplorer2::CfnView::IncludedPropertyProperty
- Defined in:
- resource_explorer2/cfn_view.rb
Overview
Information about an additional property that describes a resource, that you can optionally include in a view.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the property that is included in this view.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:) ⇒ IncludedPropertyProperty
constructor
A new instance of IncludedPropertyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:) ⇒ IncludedPropertyProperty
Returns a new instance of IncludedPropertyProperty.
600 601 602 603 |
# File 'resource_explorer2/cfn_view.rb', line 600 def initialize(name:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the property that is included in this view.
609 610 611 |
# File 'resource_explorer2/cfn_view.rb', line 609 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
611 612 613 614 615 |
# File 'resource_explorer2/cfn_view.rb', line 611 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
617 618 619 620 621 622 623 |
# File 'resource_explorer2/cfn_view.rb', line 617 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |