Class: AWSCDK::Lambda::CfnFunction::ImageConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnFunction::ImageConfigProperty
- Defined in:
- lambda/cfn_function.rb
Overview
Configuration values that override the container image Dockerfile settings.
For more information, see Container image settings .
Instance Attribute Summary collapse
-
#command ⇒ Array<String>?
readonly
Specifies parameters that you want to pass in with ENTRYPOINT.
-
#entry_point ⇒ Array<String>?
readonly
Specifies the entry point to their application, which is typically the location of the runtime executable.
-
#working_directory ⇒ String?
readonly
Specifies the working directory.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(command: nil, entry_point: nil, working_directory: nil) ⇒ ImageConfigProperty
constructor
A new instance of ImageConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(command: nil, entry_point: nil, working_directory: nil) ⇒ ImageConfigProperty
Returns a new instance of ImageConfigProperty.
1358 1359 1360 1361 1362 1363 1364 1365 |
# File 'lambda/cfn_function.rb', line 1358 def initialize(command: nil, entry_point: nil, working_directory: nil) @command = command Jsii::Type.check_type(@command, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "command") unless @command.nil? @entry_point = entry_point Jsii::Type.check_type(@entry_point, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "entryPoint") unless @entry_point.nil? @working_directory = working_directory Jsii::Type.check_type(@working_directory, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workingDirectory") unless @working_directory.nil? end |
Instance Attribute Details
#command ⇒ Array<String>? (readonly)
Specifies parameters that you want to pass in with ENTRYPOINT.
You can specify a maximum of 1,500 parameters in the list.
1373 1374 1375 |
# File 'lambda/cfn_function.rb', line 1373 def command @command end |
#entry_point ⇒ Array<String>? (readonly)
Specifies the entry point to their application, which is typically the location of the runtime executable.
You can specify a maximum of 1,500 string entries in the list.
1380 1381 1382 |
# File 'lambda/cfn_function.rb', line 1380 def entry_point @entry_point end |
#working_directory ⇒ String? (readonly)
Specifies the working directory.
The length of the directory string cannot exceed 1,000 characters.
1387 1388 1389 |
# File 'lambda/cfn_function.rb', line 1387 def working_directory @working_directory end |
Class Method Details
.jsii_properties ⇒ Object
1389 1390 1391 1392 1393 1394 1395 |
# File 'lambda/cfn_function.rb', line 1389 def self.jsii_properties { :command => "command", :entry_point => "entryPoint", :working_directory => "workingDirectory", } end |
Instance Method Details
#to_jsii ⇒ Object
1397 1398 1399 1400 1401 1402 1403 1404 1405 |
# File 'lambda/cfn_function.rb', line 1397 def to_jsii result = {} result.merge!({ "command" => @command, "entryPoint" => @entry_point, "workingDirectory" => @working_directory, }) result.compact end |