Class: Convection::Model::Template::Resource::EFSFileSystem

Inherits:
Convection::Model::Template::Resource show all
Includes:
Mixin::Taggable
Defined in:
lib/convection/model/template/resource/aws_efs_file_system.rb

Overview

Represents an Amazon EFS File System

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods included from Mixin::Taggable

#immutable_metadata, #render_tags, #tag, #tags

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

#_terraform_module_dir_to_flag, #_terraform_module_flag_to_dir, attach_resource, attach_resource_collection, resource_collection_dsl_methods, resource_dsl_methods

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_import_value, #fn_not, #fn_or, #fn_ref, #fn_sub, #get_att, #get_azs, included, #join, mixers, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::Resource

Instance Method Details

#performance_modeObject #performance_mode(value) ⇒ Object

Overloads:

  • #performance_modeObject

    Returns the value of the ‘PerformanceMode’ CloudFormation property.

  • #performance_mode(value) ⇒ Object

    Sets the ‘PerformanceMode’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘PerformanceMode’ CloudFormation property to.



14
# File 'lib/convection/model/template/resource/aws_efs_file_system.rb', line 14

property :performance_mode, 'PerformanceMode'

#render(*args) ⇒ Object



16
17
18
19
20
# File 'lib/convection/model/template/resource/aws_efs_file_system.rb', line 16

def render(*args)
  super.tap do |resource|
    resource['Properties']['FileSystemTags'] = tags.render unless tags.empty?
  end
end