Class: AWSCDK::IoTTwinMaker::CfnComponentType::LambdaFunctionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTTwinMaker::CfnComponentType::LambdaFunctionProperty
- Defined in:
- io_t_twin_maker/cfn_component_type.rb
Overview
The Lambda function.
Instance Attribute Summary collapse
-
#arn ⇒ String
readonly
The Lambda function ARN.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn:) ⇒ LambdaFunctionProperty
constructor
A new instance of LambdaFunctionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn:) ⇒ LambdaFunctionProperty
Returns a new instance of LambdaFunctionProperty.
1055 1056 1057 1058 |
# File 'io_t_twin_maker/cfn_component_type.rb', line 1055 def initialize(arn:) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") end |
Instance Attribute Details
#arn ⇒ String (readonly)
The Lambda function ARN.
1064 1065 1066 |
# File 'io_t_twin_maker/cfn_component_type.rb', line 1064 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
1066 1067 1068 1069 1070 |
# File 'io_t_twin_maker/cfn_component_type.rb', line 1066 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
1072 1073 1074 1075 1076 1077 1078 |
# File 'io_t_twin_maker/cfn_component_type.rb', line 1072 def to_jsii result = {} result.merge!({ "arn" => @arn, }) result.compact end |