Class: AWSCDK::FSX::CfnFileSystem::MetadataConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
fsx/cfn_file_system.rb

Overview

The configuration that allows you to specify the performance of metadata operations for an FSx for Lustre file system.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iops: nil, mode: nil) ⇒ MetadataConfigurationProperty

Returns a new instance of MetadataConfigurationProperty.

Parameters:

  • iops (Numeric, nil) (defaults to: nil)

    The number of Metadata IOPS provisioned for the file system.

  • mode (String, nil) (defaults to: nil)

    Specifies whether the file system is using the AUTOMATIC setting of metadata IOPS or if it is using a USER_PROVISIONED value.



1242
1243
1244
1245
1246
1247
# File 'fsx/cfn_file_system.rb', line 1242

def initialize(iops: nil, mode: nil)
  @iops = iops
  Jsii::Type.check_type(@iops, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "iops") unless @iops.nil?
  @mode = mode
  Jsii::Type.check_type(@mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mode") unless @mode.nil?
end

Instance Attribute Details

#iopsNumeric? (readonly)

The number of Metadata IOPS provisioned for the file system.



1253
1254
1255
# File 'fsx/cfn_file_system.rb', line 1253

def iops
  @iops
end

#modeString? (readonly)

Specifies whether the file system is using the AUTOMATIC setting of metadata IOPS or if it is using a USER_PROVISIONED value.



1258
1259
1260
# File 'fsx/cfn_file_system.rb', line 1258

def mode
  @mode
end

Class Method Details

.jsii_propertiesObject



1260
1261
1262
1263
1264
1265
# File 'fsx/cfn_file_system.rb', line 1260

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

Instance Method Details

#to_jsiiObject



1267
1268
1269
1270
1271
1272
1273
1274
# File 'fsx/cfn_file_system.rb', line 1267

def to_jsii
  result = {}
  result.merge!({
    "iops" => @iops,
    "mode" => @mode,
  })
  result.compact
end