Class: AWSCDK::RefactorSpaces::CfnService::LambdaEndpointInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
refactor_spaces/cfn_service.rb

Overview

The input for the AWS Lambda endpoint type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn:) ⇒ LambdaEndpointInputProperty

Returns a new instance of LambdaEndpointInputProperty.

Parameters:

  • arn (String)

    The Amazon Resource Name (ARN) of the Lambda function or alias.



637
638
639
640
# File 'refactor_spaces/cfn_service.rb', line 637

def initialize(arn:)
  @arn = arn
  Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn")
end

Instance Attribute Details

#arnString (readonly)

The Amazon Resource Name (ARN) of the Lambda function or alias.



646
647
648
# File 'refactor_spaces/cfn_service.rb', line 646

def arn
  @arn
end

Class Method Details

.jsii_propertiesObject



648
649
650
651
652
# File 'refactor_spaces/cfn_service.rb', line 648

def self.jsii_properties
  {
    :arn => "arn",
  }
end

Instance Method Details

#to_jsiiObject



654
655
656
657
658
659
660
# File 'refactor_spaces/cfn_service.rb', line 654

def to_jsii
  result = {}
  result.merge!({
    "arn" => @arn,
  })
  result.compact
end