lib/fog/aws/models/efs/file_system.rb in fog-aws-3.0.0 vs lib/fog/aws/models/efs/file_system.rb in fog-aws-3.1.0

- old
+ new

@@ -5,10 +5,12 @@ identity :id, :aliases => 'FileSystemId' attribute :owner_id, :aliases => 'OwnerId' attribute :creation_token, :aliases => 'CreationToken' attribute :performance_mode, :aliases => 'PerformanceMode' + attribute :encrypted, :aliases => 'Encrypted' + attribute :kms_key_id, :aliases => 'KmsKeyId' attribute :creation_time, :aliases => 'CreationTime' attribute :state, :aliases => 'LifeCycleState' attribute :name, :aliases => 'Name' attribute :number_of_mount_targets, :aliases => 'NumberOfMountTargets' attribute :size_in_bytes, :aliases => 'SizeInBytes' @@ -31,9 +33,11 @@ end def save params = {} params.merge!(:performance_mode => self.performance_mode) if self.performance_mode + params.merge!(:encrypted => self.encrypted) if self.encrypted + params.merge!(:kms_key_id => self.kms_key_id) if self.kms_key_id merge_attributes(service.create_file_system(self.creation_token || Fog::Mock.random_hex(32), params).body) end end end