Sha256: 731b7c2e4d9c25453f5a451bfa8d334187bba2f0af554a67ecd58fb4606bfd60

Contents?: true

Size: 1.57 KB

Versions: 43

Compression:

Stored size: 1.57 KB

Contents

Aws.config[:lambda] = {
  stub_responses: {
    list_functions: {
      functions: [
        {
          function_name: 'my-lambda-function-name',
          function_arn: 'arn:aws:lambda:us-east-1:123456789012:function:my-lambda-function-name',
          description: 'My Lambda Function',
          runtime: 'python2.7',
          handler: 'lambda_function.lambda_handler',
          timeout: 5,
          memory_size: 256,
          code_size: 1234,
          last_modified: Time.new(2018, 12, 05, 19, 10, 44, '+00:00'),
          code_sha_256: 'LAI9GRLpJD/dq2D7Uopwaeh354tsd8fQsSI6eSH0xOIs=',
          version: '$LATEST',
          role: 'arn:aws:iam::123456789:role/foobarVPCRole',
          kms_key_arn: nil,
          revision_id: '8d01897515-bcb0-43c7-9b14-e6d14fyyff4d',
          layers: nil,
          tracing_config:
            # <struct Aws::Lambda::Types::TracingConfigResponse mode="PassThrough">
            {
              mode: 'PassThrough'
            },
          environment:
            # <struct Aws::Lambda::Types::EnvironmentResponse
            {
              variables:
                {
                  'ENDPOINT_URL' => 'https://foobar.sns.us-east-1.vpce.amazonaws.com',
                  'ENV_NAME' => 'QA',
                  'LOG_LEVEL' => 'DEBUG',
                  'FOOBAR_TOPIC' => 'arn:aws:sns:us-east-1:123456789:FoobarManager',
                  'RESOLVER1' => '10.196.138.1',
                  'RESOLVER2' => '10.196.136.2'
                },
              error: nil
            }
        }
      ]
    },
    list_event_source_mappings: {
      # @todo
    }
  }
}

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
awspec-1.25.1 lib/awspec/stub/lambda.rb
awspec-1.25.0 lib/awspec/stub/lambda.rb
awspec-1.24.4 lib/awspec/stub/lambda.rb
awspec-1.24.3 lib/awspec/stub/lambda.rb
awspec-1.24.2 lib/awspec/stub/lambda.rb
awspec-1.24.1 lib/awspec/stub/lambda.rb
awspec-1.24.0 lib/awspec/stub/lambda.rb
awspec-1.23.0 lib/awspec/stub/lambda.rb
awspec-1.22.1 lib/awspec/stub/lambda.rb
awspec-1.22.0 lib/awspec/stub/lambda.rb
awspec-1.21.1 lib/awspec/stub/lambda.rb
awspec-1.21.0 lib/awspec/stub/lambda.rb
awspec-1.20.0 lib/awspec/stub/lambda.rb
awspec-1.19.2 lib/awspec/stub/lambda.rb
awspec-1.19.1 lib/awspec/stub/lambda.rb
awspec-1.19.0 lib/awspec/stub/lambda.rb
cthiesfork-awspec-1.2.4 lib/awspec/stub/lambda.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/stub/lambda.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/stub/lambda.rb
awspec-1.18.6 lib/awspec/stub/lambda.rb