Class: AWSCDK::CodeDeploy::LambdaDeploymentConfigImportProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
code_deploy/lambda_deployment_config_import_props.rb

Overview

Properties of a reference to a CodeDeploy Lambda Deployment Configuration.

See Also:

  • import

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deployment_config_name:) ⇒ LambdaDeploymentConfigImportProps

Returns a new instance of LambdaDeploymentConfigImportProps.

Parameters:

  • deployment_config_name (String)

    The physical, human-readable name of the custom CodeDeploy Lambda Deployment Configuration that we are referencing.



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_nameString (readonly)

The physical, human-readable name of the custom CodeDeploy Lambda Deployment Configuration that we are referencing.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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