Class: AWSCDK::ResourceExplorer2::CfnView::IncludedPropertyProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ IncludedPropertyProperty

Returns a new instance of IncludedPropertyProperty.

Parameters:

  • name (String)

    The name of the property that is included in this view.



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

#nameString (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_propertiesObject



611
612
613
614
615
# File 'resource_explorer2/cfn_view.rb', line 611

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

Instance Method Details

#to_jsiiObject



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