Class: AWSCDK::OpsWorks::CfnStack::StackConfigurationManagerProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpsWorks::CfnStack::StackConfigurationManagerProperty
- Defined in:
- ops_works/cfn_stack.rb
Overview
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
The name.
-
#version ⇒ String?
readonly
The Chef version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, version: nil) ⇒ StackConfigurationManagerProperty
constructor
A new instance of StackConfigurationManagerProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, version: nil) ⇒ StackConfigurationManagerProperty
Returns a new instance of StackConfigurationManagerProperty.
1076 1077 1078 1079 1080 1081 |
# File 'ops_works/cfn_stack.rb', line 1076 def initialize(name: nil, version: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil? end |
Instance Attribute Details
#name ⇒ String? (readonly)
The name.
This parameter must be set to Chef .
1089 1090 1091 |
# File 'ops_works/cfn_stack.rb', line 1089 def name @name end |
#version ⇒ String? (readonly)
The Chef version.
This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 12.
1096 1097 1098 |
# File 'ops_works/cfn_stack.rb', line 1096 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
1098 1099 1100 1101 1102 1103 |
# File 'ops_works/cfn_stack.rb', line 1098 def self.jsii_properties { :name => "name", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'ops_works/cfn_stack.rb', line 1105 def to_jsii result = {} result.merge!({ "name" => @name, "version" => @version, }) result.compact end |