Class: CloudFormer::MetadataResource
- Inherits:
-
Object
- Object
- CloudFormer::MetadataResource
- Includes:
- HasPropertiesAndAttributes, MakesJson
- Defined in:
- lib/cloud_former/metadata_resources/metadata_resource.rb
Direct Known Subclasses
CloudFormation::Authentication, CloudFormation::AuthenticationItem, CloudFormation::ConfigSet, CloudFormation::ConfigSetCommand, CloudFormation::ConfigSetFile, CloudFormation::ConfigSetGroup, CloudFormation::ConfigSetItem, CloudFormation::ConfigSetService, CloudFormation::ConfigSetUser, CloudFormation::Init
Instance Attribute Summary collapse
-
#aws_type ⇒ Object
readonly
Returns the value of attribute aws_type.
Instance Method Summary collapse
-
#initialize(&block) ⇒ MetadataResource
constructor
A new instance of MetadataResource.
Methods included from MakesJson
Methods included from HasPropertiesAndAttributes
included, #nested_resources, #resource_tree
Constructor Details
#initialize(&block) ⇒ MetadataResource
Returns a new instance of MetadataResource.
9 10 11 12 13 |
# File 'lib/cloud_former/metadata_resources/metadata_resource.rb', line 9 def initialize(&block) if block_given? self.instance_eval(&block) end end |
Instance Attribute Details
#aws_type ⇒ Object (readonly)
Returns the value of attribute aws_type.
7 8 9 |
# File 'lib/cloud_former/metadata_resources/metadata_resource.rb', line 7 def aws_type @aws_type end |