Class: AWSCDK::RTBFabric::CfnLink::ModuleConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnLink::ModuleConfigurationProperty
- Defined in:
- rtb_fabric/cfn_link.rb
Overview
Describes the configuration of a module.
Instance Attribute Summary collapse
-
#depends_on ⇒ Array<String>?
readonly
The dependencies of the module.
-
#module_parameters ⇒ AWSCDK::IResolvable, ...
readonly
Describes the parameters of a module.
-
#name ⇒ String
readonly
The name of the module.
-
#version ⇒ String?
readonly
The version of the module.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, depends_on: nil, module_parameters: nil, version: nil) ⇒ ModuleConfigurationProperty
constructor
A new instance of ModuleConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, depends_on: nil, module_parameters: nil, version: nil) ⇒ ModuleConfigurationProperty
Returns a new instance of ModuleConfigurationProperty.
944 945 946 947 948 949 950 951 952 953 |
# File 'rtb_fabric/cfn_link.rb', line 944 def initialize(name:, depends_on: nil, module_parameters: nil, version: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @depends_on = depends_on Jsii::Type.check_type(@depends_on, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "dependsOn") unless @depends_on.nil? @module_parameters = module_parameters.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnLink::ModuleParametersProperty.new(**module_parameters.transform_keys(&:to_sym)) : module_parameters Jsii::Type.check_type(@module_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuTGluay5Nb2R1bGVQYXJhbWV0ZXJzUHJvcGVydHkifV19fQ==")), "moduleParameters") unless @module_parameters.nil? @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil? end |
Instance Attribute Details
#depends_on ⇒ Array<String>? (readonly)
The dependencies of the module.
964 965 966 |
# File 'rtb_fabric/cfn_link.rb', line 964 def depends_on @depends_on end |
#module_parameters ⇒ AWSCDK::IResolvable, ... (readonly)
Describes the parameters of a module.
969 970 971 |
# File 'rtb_fabric/cfn_link.rb', line 969 def module_parameters @module_parameters end |
#name ⇒ String (readonly)
The name of the module.
959 960 961 |
# File 'rtb_fabric/cfn_link.rb', line 959 def name @name end |
#version ⇒ String? (readonly)
The version of the module.
974 975 976 |
# File 'rtb_fabric/cfn_link.rb', line 974 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
976 977 978 979 980 981 982 983 |
# File 'rtb_fabric/cfn_link.rb', line 976 def self.jsii_properties { :name => "name", :depends_on => "dependsOn", :module_parameters => "moduleParameters", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
985 986 987 988 989 990 991 992 993 994 |
# File 'rtb_fabric/cfn_link.rb', line 985 def to_jsii result = {} result.merge!({ "name" => @name, "dependsOn" => @depends_on, "moduleParameters" => @module_parameters, "version" => @version, }) result.compact end |