Class: AWSCDK::CodeDeploy::LambdaDeploymentConfigImportProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeDeploy::LambdaDeploymentConfigImportProps
- Defined in:
- code_deploy/lambda_deployment_config_import_props.rb
Overview
Properties of a reference to a CodeDeploy Lambda Deployment Configuration.
Instance Attribute Summary collapse
-
#deployment_config_name ⇒ String
readonly
The physical, human-readable name of the custom CodeDeploy Lambda Deployment Configuration that we are referencing.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(deployment_config_name:) ⇒ LambdaDeploymentConfigImportProps
constructor
A new instance of LambdaDeploymentConfigImportProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(deployment_config_name:) ⇒ LambdaDeploymentConfigImportProps
Returns a new instance of LambdaDeploymentConfigImportProps.
10 11 12 13 |
# File 'code_deploy/lambda_deployment_config_import_props.rb', line 10 def initialize(deployment_config_name:) @deployment_config_name = deployment_config_name Jsii::Type.check_type(@deployment_config_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deploymentConfigName") end |
Instance Attribute Details
#deployment_config_name ⇒ String (readonly)
The physical, human-readable name of the custom CodeDeploy Lambda Deployment Configuration that we are referencing.
18 19 20 |
# File 'code_deploy/lambda_deployment_config_import_props.rb', line 18 def deployment_config_name @deployment_config_name end |
Class Method Details
.jsii_properties ⇒ Object
20 21 22 23 24 |
# File 'code_deploy/lambda_deployment_config_import_props.rb', line 20 def self.jsii_properties { :deployment_config_name => "deploymentConfigName", } end |
Instance Method Details
#to_jsii ⇒ Object
26 27 28 29 30 31 32 |
# File 'code_deploy/lambda_deployment_config_import_props.rb', line 26 def to_jsii result = {} result.merge!({ "deploymentConfigName" => @deployment_config_name, }) result.compact end |