Class: AWSCDK::M2::CfnEnvironment::StorageConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::M2::CfnEnvironment::StorageConfigurationProperty
- Defined in:
- m2/cfn_environment.rb
Overview
AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .
Defines the storage configuration for a runtime environment.
Instance Attribute Summary collapse
-
#efs ⇒ AWSCDK::IResolvable, ...
readonly
Defines the storage configuration for an Amazon EFS file system.
-
#fsx ⇒ AWSCDK::IResolvable, ...
readonly
Defines the storage configuration for an Amazon FSx file system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(efs: nil, fsx: nil) ⇒ StorageConfigurationProperty
constructor
A new instance of StorageConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(efs: nil, fsx: nil) ⇒ StorageConfigurationProperty
Returns a new instance of StorageConfigurationProperty.
832 833 834 835 836 837 |
# File 'm2/cfn_environment.rb', line 832 def initialize(efs: nil, fsx: nil) @efs = efs.is_a?(Hash) ? ::AWSCDK::M2::CfnEnvironment::EFSStorageConfigurationProperty.new(**efs.transform_keys(&:to_sym)) : efs Jsii::Type.check_type(@efs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tMi5DZm5FbnZpcm9ubWVudC5FZnNTdG9yYWdlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "efs") unless @efs.nil? @fsx = fsx.is_a?(Hash) ? ::AWSCDK::M2::CfnEnvironment::FSXStorageConfigurationProperty.new(**fsx.transform_keys(&:to_sym)) : fsx Jsii::Type.check_type(@fsx, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tMi5DZm5FbnZpcm9ubWVudC5Gc3hTdG9yYWdlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "fsx") unless @fsx.nil? end |
Instance Attribute Details
#efs ⇒ AWSCDK::IResolvable, ... (readonly)
Defines the storage configuration for an Amazon EFS file system.
843 844 845 |
# File 'm2/cfn_environment.rb', line 843 def efs @efs end |
#fsx ⇒ AWSCDK::IResolvable, ... (readonly)
Defines the storage configuration for an Amazon FSx file system.
848 849 850 |
# File 'm2/cfn_environment.rb', line 848 def fsx @fsx end |
Class Method Details
.jsii_properties ⇒ Object
850 851 852 853 854 855 |
# File 'm2/cfn_environment.rb', line 850 def self.jsii_properties { :efs => "efs", :fsx => "fsx", } end |
Instance Method Details
#to_jsii ⇒ Object
857 858 859 860 861 862 863 864 |
# File 'm2/cfn_environment.rb', line 857 def to_jsii result = {} result.merge!({ "efs" => @efs, "fsx" => @fsx, }) result.compact end |