Class: AWSCDK::IoTTwinMaker::CfnComponentType::LambdaFunctionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_twin_maker/cfn_component_type.rb

Overview

The Lambda function.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn:) ⇒ LambdaFunctionProperty

Returns a new instance of LambdaFunctionProperty.

Parameters:

  • arn (String)

    The Lambda function ARN.



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

#arnString (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_propertiesObject



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_jsiiObject



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