Class: AWSCDK::FSX::CfnFileSystem::MetadataConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FSX::CfnFileSystem::MetadataConfigurationProperty
- 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
-
#iops ⇒ Numeric?
readonly
The number of Metadata IOPS provisioned for the file system.
-
#mode ⇒ String?
readonly
Specifies whether the file system is using the AUTOMATIC setting of metadata IOPS or if it is using a USER_PROVISIONED value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(iops: nil, mode: nil) ⇒ MetadataConfigurationProperty
constructor
A new instance of MetadataConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(iops: nil, mode: nil) ⇒ MetadataConfigurationProperty
Returns a new instance of MetadataConfigurationProperty.
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
#iops ⇒ Numeric? (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 |
#mode ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |