並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 47件

新着順 人気順

aws lambda function python versionsの検索結果1 - 40 件 / 47件

  • Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices | Amazon Web Services

    AWS News Blog Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices Organizations are adopting microservices architectures to build resilient and scalable applications using AWS Lambda. These applications are composed of multiple serverless functions that implement the business logic. Each function is mapped to API endpoints, methods, and resources using s

      Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices | Amazon Web Services
    • AWS再入門2022 AWS Serverless Application Model (AWS SAM)編 | DevelopersIO

      弊社コンサルティング部による『AWS 再入門ブログリレー 2022』の4日目のエントリでテーマはAWS Serverless Application Model (AWS SAM)です。 こんにちは、リサリサです。 当エントリは弊社コンサルティング部による『AWS 再入門ブログリレー 2022』の 4日目のエントリです。 このブログリレーの企画は、普段 AWS サービスについて最新のネタ・深い/細かいテーマを主に書き連ねてきたメンバーの手によって、 今一度初心に返って、基本的な部分を見つめ直してみよう、解説してみようというコンセプトが含まれています。 AWSをこれから学ぼう!という方にとっては文字通りの入門記事として、またすでにAWSを活用されている方にとってもAWSサービスの再発見や2022年のサービスアップデートのキャッチアップの場となればと考えておりますので、ぜひ最後までお付合い頂け

        AWS再入門2022 AWS Serverless Application Model (AWS SAM)編 | DevelopersIO
      • 【2024年】AWS全サービスまとめ | DevelopersIO

        こんにちは。サービス開発室の武田です。このエントリは、2018年から毎年公開しているAWS全サービスまとめの2024年版です。 こんにちは。サービス開発室の武田です。 このエントリは、2018年から毎年公開している AWS全サービスまとめの2024年版 です。昨年までのものは次のリンクからたどってください。 AWSにはたくさんのサービスがありますが、「結局このサービスってなんなの?」という疑問を自分なりに理解するためにまとめました。 今回もマネジメントコンソールを開き、「サービス」の一覧をもとに一覧化しました。そのため、プレビュー版など一覧に載っていないサービスは含まれていません。また2023年にまとめたもののアップデート版ということで、新しくカテゴリに追加されたサービスには[New]、文章を更新したものには[Update]を付けました。ちなみにサービス数は 247個 です。 まとめるにあ

          【2024年】AWS全サービスまとめ | DevelopersIO
        • GitHub - modelcontextprotocol/servers: Model Context Protocol Servers

          Official integrations are maintained by companies building production ready MCP servers for their platforms. 21st.dev Magic - Create crafted UI components inspired by the best 21st.dev design engineers. ActionKit by Paragon - Connect to 130+ SaaS integrations (e.g. Slack, Salesforce, Gmail) with Paragon’s ActionKit API. Adfin - The only platform you need to get paid - all payments in one place, in

            GitHub - modelcontextprotocol/servers: Model Context Protocol Servers
          • Scaling containers on AWS in 2022

            This all started with a blog post back in 2020, from a tech curiosity: what's the fastest way to scale containers on AWS? Is ECS faster than EKS? What about Fargate? Is there a difference between ECS on Fargate and EKS on Fargate? I had to know this to build better architectures for my clients. In 2021, containers got even better, and I was lucky enough to get a preview and present just how fast t

              Scaling containers on AWS in 2022
            • Best practices for developing cloud applications with AWS CDK | Amazon Web Services

              AWS DevOps & Developer Productivity Blog Best practices for developing cloud applications with AWS CDK April 20, 2022: Updates are available in the Best practices topic of the AWS CDK documentation. The documentation is the most up-to-date resource going forward. In this post, we discuss strategies for organizing the development of complex cloud applications with large teams, using the AWS Cloud D

                Best practices for developing cloud applications with AWS CDK | Amazon Web Services
              • 【10周年前祝い】歴史・年表でみるAWSサービス(AWS Lambda編) -機能一覧・概要・アップデートのまとめ・入門- - NRIネットコムBlog

                小西秀和です。 「歴史・年表でみるAWS全サービス一覧 -アナウンス日、General Availability(GA)、AWSサービス概要のまとめ-」から始まった、AWSサービスを歴史・年表から機能を洗い出してまとめるシリーズの第8弾です(過去、Amazon S3、AWS Systems Manager、Amazon Route 53、Amazon EventBridge、AWS KMS、Amazon SQSについて書きました)。 今回は2014年11月にアナウンスされたサーバーレスでフルマネージドなコード実行サービスを提供するAWS Lambdaについて歴史年表を作成してみました。 今年2024年11月にはAWS Lambdaがアナウンスから10周年を迎えるということで、かなり早めではありますが前祝いという意味も含めて、この記事を書きました。 今回もAWS Lambdaの誕生から機能追

                  【10周年前祝い】歴史・年表でみるAWSサービス(AWS Lambda編) -機能一覧・概要・アップデートのまとめ・入門- - NRIネットコムBlog
                • AWS Lambda turns 10: A rare look at the doc that started it

                  AWS Lambda turns 10: A rare look at the doc that started itNovember 14, 2024 • 5460 words One of our strengths at AWS has always been our ability to get primitives into the hands of our customers and observe what they do. In nearly every instance, someone uses these building blocks in interesting ways that we didn’t expect. Sometimes it’s domain-specific innovation, but other times it’s customers

                    AWS Lambda turns 10: A rare look at the doc that started it
                  • AWS Lambda SnapStart for Python and .NET functions is now generally available | Amazon Web Services

                    AWS News Blog AWS Lambda SnapStart for Python and .NET functions is now generally available Today, we’re announcing the general availability of AWS Lambda SnapStart for Python and .NET functions that delivers faster function startup performance, from several seconds to as low as sub-second, typically with minimal or no code changes in Python, C#, F#, and Powershell. In November 28, 2022, we introd

                      AWS Lambda SnapStart for Python and .NET functions is now generally available | Amazon Web Services
                    • Introducing AWS Lambda runtime management controls | Amazon Web Services

                      AWS Compute Blog Introducing AWS Lambda runtime management controls This blog post is written by Jonathan Tuliani, Principal Product Manager. Today, AWS Lambda is announcing runtime management controls which provide more visibility and control over when Lambda applies runtime updates to your functions. Lambda is also changing how it rolls out automatic runtime updates to your functions. Together,

                        Introducing AWS Lambda runtime management controls | Amazon Web Services
                      • Introducing Amazon Bedrock AgentCore Gateway: Transforming enterprise AI agent tool development | Amazon Web Services

                        Artificial Intelligence Introducing Amazon Bedrock AgentCore Gateway: Transforming enterprise AI agent tool development To fulfill their tasks, AI Agents need access to various capabilities including tools, data stores, prompt templates, and other agents. As organizations scale their AI initiatives, they face an exponentially growing challenge of connecting each agent to multiple tools, creating a

                          Introducing Amazon Bedrock AgentCore Gateway: Transforming enterprise AI agent tool development | Amazon Web Services
                        • Where Programming, Ops, AI, and the Cloud are Headed in 2021

                          In this report, we look at the data generated by the O’Reilly online learning platform to discern trends in the technology industry—trends technology leaders need to follow. But what are “trends”? All too often, trends degenerate into horse races over languages and platforms. Look at all the angst heating up social media when TIOBE or RedMonk releases their reports on language rankings. Those repo

                            Where Programming, Ops, AI, and the Cloud are Headed in 2021
                          • Graceful shutdowns with ECS | Amazon Web Services

                            Containers Graceful shutdowns with ECS February 2023: Parts of this blog are no longer accurate. Following enhancements to the ELB integration for ECS services, tasks running on Fargate Spot will be deregistered from a target group if it receives a spot termination notice before a SIGTERM is issued to the Task. Introduction Amazon Elastic Container Service (Amazon ECS) gives customers the flexibil

                              Graceful shutdowns with ECS | Amazon Web Services
                            • AWS Lambda Functions Powered by AWS Graviton2 Processor – Run Your Functions on Arm and Get Up to 34% Better Price Performance | Amazon Web Services

                              AWS News Blog AWS Lambda Functions Powered by AWS Graviton2 Processor – Run Your Functions on Arm and Get Up to 34% Better Price Performance December 13, 2022: Post updated to include all the AWS Regions where Lambda Functions can be powered by the Graviton2 Processor. June 19, 2023: List of AWS Regions updated. Many of our customers (such as Formula One, Honeycomb, Intuit, SmugMug, and Snap Inc.)

                                AWS Lambda Functions Powered by AWS Graviton2 Processor – Run Your Functions on Arm and Get Up to 34% Better Price Performance | Amazon Web Services
                              • AWS SAMを利用してAPI GatewayとLambda Authorizer(Golang)の構築をやってみた - カミナシ エンジニアブログ

                                こんにちは、株式会社カミナシのエンジニア @Taku です。 前回、GolangでLambda Authorizer用関数をやってみましたが、 Golangはコードエディタが使えず、テストするには毎回zipで固めてアップするという一手間がありました。 kaminashi-developer.hatenablog.jp そんな中、先日「AWS SAMを使うとAPI Gateway等とまとめて作成できるので便利だよ!」という話を伺ったので今回使ってみることとしました。 AWS SAMとは aws.amazon.com YAMLで記載したテンプレートを利用して、CLIにてサーバーレスのアプリケーションを構築できるオープンソースフレームワークです。 例として、以下のようなYAMLを作成することでサーバーレスのアプリケーションを構築できます。 AWSTemplateFormatVersion: '2

                                  AWS SAMを利用してAPI GatewayとLambda Authorizer(Golang)の構築をやってみた - カミナシ エンジニアブログ
                                • AWSで安全なデータ破棄の仕組みを構築してみた | DevelopersIO

                                  クラウドでは、利用者による物理メディアの破棄(消磁や破砕)はできません。今回は、クラウド環境で利用者が行えるデータ破棄の方法(Cryptographic Erase:暗号化消去)をためしてみました。 こんにちは、nkhrです。 オンプレ環境では、データ漏洩(第三者による意図しないデータ取得)を防ぐために、メディア破棄の統制を行っていると思います。クラウドでは、利用者による物理的なメディア破棄が行えないため、統制を行う場合は別の方法を考える必要があります。 クラウド環境で利用できるデータ破棄の方法として、「Cryptographic Erase(CE:暗号化消去)」があります。 今回は、下記のブログで紹介されている暗号化消去(CE)を試してみました。暗号化消去は、NIST 800-88にも記載されている方法です。 クラウドにおける安全なデータの廃棄(Amazon Web Service ブロ

                                    AWSで安全なデータ破棄の仕組みを構築してみた | DevelopersIO
                                  • AWS SAM Lambda関数だけを単体でデプロイしたいときのテンプレート設定例 | DevelopersIO

                                    AWS SAM(Serverless Application Model)を利用してAPI Gateway + Lambdaなどのリソース一式をデプロイすることはよくあるかと思います。理由あって他のリソースに一切紐付かない単体のLambda関数をデプロイする機会がありましたのでテンプレートの例を紹介します。 Lambda単体が必要ならマネージメントコンソールから作成した方が早いのでは?というのは至極当然のご意見なのですが、検証の都合SAMから生み出す必要がありました。 実行環境 $ sam --version SAM CLI, version 1.36.0 本検証で利用したコード一式は以下に置いてあります。 bigmuramura/sam-lambda-alone 初期設定 sam initコマンドでHello World Exampleのサンプルテンプレートで初期化しました。 sam i

                                      AWS SAM Lambda関数だけを単体でデプロイしたいときのテンプレート設定例 | DevelopersIO
                                    • Cloud9でPythonを使ったLambda開発環境の構築をする | DevelopersIO

                                      こんにちは、データアナリティクス事業本部インテグレーション部コンサルティングチーム・新納(にいの)です。 Pythonを使ったLambda開発環境をCloud9で構築する機会がありました。PythonのバージョンやAWS CLIでちょっとした躓きポイントがあったので備忘として対応手順を残します。 AWS Lambdaで使用されるPythonバージョン確認(2022/7/6時点) Cloud9で開発を行うにあたり、Lambda関数を作成するのに使用するPythonのバージョンと合わせておきます。まずはAWS Lambdaで使われているバージョンの確認を実施します。Lambda関数の作成時にランタイムをPython3.9に指定できますが、マイナーバージョンも含めた正確なバージョンを把握する目的で調査用のコードを実行します。 Lambda関数の作成 AWSマネジメントコンソールからAWS Lam

                                        Cloud9でPythonを使ったLambda開発環境の構築をする | DevelopersIO
                                      • Introducing advanced logging controls for AWS Lambda functions | Amazon Web Services

                                        AWS Compute Blog Introducing advanced logging controls for AWS Lambda functions This post is written by Nati Goldberg, Senior Solutions Architect and Shridhar Pandey, Senior Product Manager, AWS Lambda Today, AWS is launching advanced logging controls for AWS Lambda, giving developers and operators greater control over how function logs are captured, processed, and consumed. This launch introduces

                                          Introducing advanced logging controls for AWS Lambda functions | Amazon Web Services
                                        • Built for Builders: The Story of AWS and Open 3D Engine – Developer Preview | Amazon Web Services

                                          AWS Game Tech Blog Built for Builders: The Story of AWS and Open 3D Engine – Developer Preview We hear from game and simulation developers that they want more choices that allow for collaboration, customization, and creative control in their production pipelines. Building 3D tooling from scratch can be cost prohibitive, take years to develop, and require significant resources to maintain. These de

                                            Built for Builders: The Story of AWS and Open 3D Engine – Developer Preview | Amazon Web Services
                                          • [AWS SAM] Amazon CloudWatch Lambda Insightsを使って、Lambdaのパフォーマンスを見る | DevelopersIO

                                            2020年末にGAになったAmazon CloudWatch Lambda Insightsがあります。 この機能を使えば、Lambda関数のパフォーマンスが簡単に確認できます。 メモリ使用率がギリギリになっているLambdaはあるか? 実行時間が極端に長いLambdaはあるか? 実行回数が極端に増えているLambdaはあるか? など そこで、AWS SAMでAmazon CloudWatch Lambda Insightsを使ってみました。 おすすめの方 AWS SAMでAmazon CloudWatch Lambda Insightsを使いたい方 サーバーレスアプリを作成する SAM Init sam init \ --runtime python3.8 \ --name Lambda-insights-Sample \ --app-template hello-world \ --p

                                              [AWS SAM] Amazon CloudWatch Lambda Insightsを使って、Lambdaのパフォーマンスを見る | DevelopersIO
                                            • Lambda Layerだけを更新したとき、Lambdaが参照するLayerのバージョンが追従しないのでAutoPublishAliasを止めてみた話 | DevelopersIO

                                              AWS SAMを使ってLambdaとLambda Layerの管理をしています。LambdaではAutoPublishAliasでaliasを付与しています。 このとき、Lambda Layerのコードだけを修正してデプロイしても、Lambdaが参照するLayerのバージョンは変更になりませんでした。 本記事では、状況を確認したあと、AutoPublishAliasを未使用に変更し、Lambda Layerのコードのみを変更するとLambdaが参照するLayerのバージョンも追従することを確認します。 なお、AutoPublishAliasが未使用の場合は、$LATESTを参照するため大丈夫でした。 GitHubにIssuesがある AWS SAMのGitHubには下記のIssuesがあります。どうやら不具合みたいです。 Feature Request : When 'AWS::Serve

                                                Lambda Layerだけを更新したとき、Lambdaが参照するLayerのバージョンが追従しないのでAutoPublishAliasを止めてみた話 | DevelopersIO
                                              • Awesome Terraform | Curated list of awesome lists | Project-Awesome.org

                                                A curated list of resources on HashiCorp's Terraform. Your contributions are welcome! Terraform enables you to safely and predictably create, change, and improve production infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. Contents Legend Official Resources Com

                                                • Introducing the Amazon Linux 2023 runtime for AWS Lambda | Amazon Web Services

                                                  AWS Compute Blog Introducing the Amazon Linux 2023 runtime for AWS Lambda This post is written by Rakshith Rao, Senior Solutions Architect. AWS Lambda now supports Amazon Linux 2023 (AL2023) as a managed runtime and container base image. Named provided.al2023, this runtime provides an OS-only environment to run your Lambda functions. It is based on the Amazon Linux 2023 minimal container image rel

                                                    Introducing the Amazon Linux 2023 runtime for AWS Lambda | Amazon Web Services
                                                  • CTF Cloud 問題の攻撃手法まとめ(2021年版) - blog of morioka12

                                                    1. はじめに こんにちは、morioka12 です。 本稿では、CTFtime のイベントに記載されている2021年に開催された CTF のイベントで、Cloud に関する問題をピックアップして攻撃手法やセキュリティ視点での特徴について紹介します。 また、同様に Hack The Box の Lab で Cloud に関する問題は、以下のブログで紹介しているので、良ければこちらもご覧ください。 scgajge12.hatenablog.com 1. はじめに 1.1 調査対象 1.2 Public Cloud Service 2. AWS (Amazon Web Services) 2.1 Amazon EC2 (Amazon Elastic Compute Cloud) 問題1 CTF event (writeup) reference 2.2 Amazon S3 (Amazon Si

                                                      CTF Cloud 問題の攻撃手法まとめ(2021年版) - blog of morioka12
                                                    • Cloud9 で SAM を利用し AWS サービス毎の請求額を毎日 Slack に通知する | DevelopersIO

                                                      Cloud9 を利用して AWS のサービス毎の料金を毎日 Slack に通知する仕組みを作成しました。 コーヒーが好きな emi です。 AWSサービス毎の請求額を毎日 Slack に通知するため、以下のブログ AWSサービス毎の請求額を毎日Slackに通知してみた を見ながら設定しようとしたのですが、手元の Windows 11 端末に AWS CLI、AWS SAM CLI、Python などの開発環境を整えるのが面倒…!!と思いました。 そこで、AWS Cloud9 を使って手軽に一時的な開発環境を構築し、AWS Serverless Application Model (SAM) でサーバレス通知システムを構築しました。 AWS Serverless Application Model (SAM) とは AWS SAM は、サーバーレスアプリケーション構築用のオープンソースフレー

                                                        Cloud9 で SAM を利用し AWS サービス毎の請求額を毎日 Slack に通知する | DevelopersIO
                                                      • Zero-effort Container deployment for GraphQL and REST APIs and Web Hosting with Amplify CLI | Amazon Web Services

                                                        Front-End Web & Mobile Zero-effort Container deployment for GraphQL and REST APIs and Web Hosting with Amplify CLI AWS Amplify is the fastest and easiest way to build cloud-powered mobile and web apps on AWS. Amplify comprises a set of tools and services that enables front-end web and mobile developers to leverage the power of AWS services to build innovative and feature-rich applications. With to

                                                          Zero-effort Container deployment for GraphQL and REST APIs and Web Hosting with Amplify CLI | Amazon Web Services
                                                        • CloudFormationのDynamic referencesとAWS SAMのAutoPublishAliasを組み合わせた動作を確認してみた | DevelopersIO

                                                          先日の下記アップデートを活用すれば、Lambda LayersとLambdaのデプロイをスッキリできそうだったので、実際に試してみました。 以前、AWS SAMでAutoPublishAliasを使った際の動作を試してみたので、本記事でもAutoPublishAliasを使った際の動作を確認します。 おすすめの方 AWS SAMでDynamic referencesを使いたい方 AutoPublishAliasとLambda LayerとLambdaのデプロイについて知りたい方 最初に結論 Lambda Layersのみを更新すると、Lambda Layersは更新された しかし、Lambdaの新バージョン発行とエイリアス更新はされなかった 環境 項目 バージョン 3つのCloudFormationスタックを作成する 3つのCloudFormationスタックを作成します。 Lambda

                                                            CloudFormationのDynamic referencesとAWS SAMのAutoPublishAliasを組み合わせた動作を確認してみた | DevelopersIO
                                                          • Using AWS CodePipeline for deploying container images to AWS Lambda Functions | Amazon Web Services

                                                            AWS DevOps & Developer Productivity Blog Using AWS CodePipeline for deploying container images to AWS Lambda Functions AWS Lambda launched support for packaging and deploying functions as container images at re:Invent 2020. In the post working with Lambda layers and extensions in container images, we demonstrated packaging Lambda Functions with layers while using container images. This post will t

                                                              Using AWS CodePipeline for deploying container images to AWS Lambda Functions | Amazon Web Services
                                                            • Effectively building AI agents on AWS Serverless | Amazon Web Services

                                                              AWS Compute Blog Effectively building AI agents on AWS Serverless Imagine an AI assistant that doesn’t just respond to prompts – it reasons through goals, acts, and integrates with real-time systems. This is the promise of agentic AI. According to Gartner, by 2028 over 33% of enterprise applications will embed agentic capabilities – up from less than 1% today. While early generative AI efforts foc

                                                                Effectively building AI agents on AWS Serverless | Amazon Web Services
                                                              • CodePipelineを使用して別アカウントにCloudFormationスタックをデプロイしてみた | DevelopersIO

                                                                釣りの専門用語が分からなくて困ってます。AWS事業本部コンサルティング部の後藤です。 CodePipelineを使用して異なるアカウントにデプロイを行う場合、アカウントを跨ぐような形でCodePipelineを構築するのが一般的かと思いますが、AWSのナレッジセンターに1つのアカウント上でCodePipelineを完結させつつ、別アカウントにCloudFormationのスタックを構築する方法を見つけましたので、こちらを参考にしながらLambda作成を試してみました。 それでは、やっていきましょう! 構成図 今回構築する構成図は以下となります。 CodePipelineを構築する側をAccount(A)、CloudFormationを作成する側をAccount(B)とします。 事前準備 CodeBuildサービスロール作成 CodePipelineサービスロール作成 今回サービスロールは基

                                                                  CodePipelineを使用して別アカウントにCloudFormationスタックをデプロイしてみた | DevelopersIO
                                                                • The case for containers on Lambda (with benchmarks)

                                                                  Lambda recently improved the cold start performance of container images by up to 15x, but this isn't the only reason you should use them. The tooling, ecosystem, and entire developer culture has moved to container images and you should too. January 2, 2024 When AWS Lambda first introduced support for container-based functions, the initial reactions from the community were mostly negative. Lambda i

                                                                    The case for containers on Lambda (with benchmarks)
                                                                  • How Zapier runs isolated tasks on AWS Lambda and upgrades functions at scale | Amazon Web Services

                                                                    AWS Architecture Blog How Zapier runs isolated tasks on AWS Lambda and upgrades functions at scale Zapier is a leading no-code automation provider whose customers use their solution to automate workflows and move data across over 8,000 applications such as Slack, Salesforce, Asana, and Dropbox. Zapier runs these automations through integrations called Zaps, which are implemented using a serverless

                                                                      How Zapier runs isolated tasks on AWS Lambda and upgrades functions at scale | Amazon Web Services
                                                                    • AWS SAM CLI と localstack を利用して Lambda をローカル実行してみよう

                                                                      創る、学べるの 株式会社カサレアル 公式ブログ。 エンジニア、研修講師、採用担当、マーケチームから、技術情報や会社情報をお届けします。 Home 技術情報 AWS SAM CLI と localstack を利用して Lambda をローカル実行してみよう AWS SAM CLI と localstack を利用して Lambda をローカル実行してみようはじめにLambda 開発する中で、動作確認をローカルで実行できないかと思ったことはありませんか? そんな疑問も、AWSが提供している SAM CLI を活用することで、ローカル実行することができます。さらに、dockerを使ったlocalstack も使用することで、S3 や SecretsManager などのAWSリソースを、ローカル環境でエミュレートすることも可能です。 それでは、ローカル環境でLambdaの実行ができるように環境

                                                                      • Raising code quality for Python applications using Amazon CodeGuru | Amazon Web Services

                                                                        AWS DevOps & Developer Productivity Blog Raising code quality for Python applications using Amazon CodeGuru We are pleased to announce the launch of Python support for Amazon CodeGuru, a service for automated code reviews and application performance recommendations. CodeGuru is powered by program analysis and machine learning, and trained on best practices and hard-learned lessons across millions

                                                                          Raising code quality for Python applications using Amazon CodeGuru | Amazon Web Services
                                                                        • Amazon Inspectorの検出結果をリソース単位でまとめてメール通知する方法 | DevelopersIO

                                                                          はじめに 以前、Amazon Inspectorの検出結果をAWS Security Hubを経由してメール通知する方法をご紹介しました。 Inspectorは脆弱性を検出するたびに結果を作成するため、1つのリソースに対して複数の脆弱性が見つかった場合、その数だけメール通知が発生してしまいます。例えば、100個の脆弱性が検出されると、100通のメールが送信される状況でした。 本記事では、脆弱性ごとの通知ではなく、1リソースごとに検出結果をまとめて1回の通知で済ませる方法をご紹介します。 構成は以下のとおりです。 本実装は、以下の流れで処理を行います。 Inspectorで検出結果が作成され、Security Hub経由でEventBridgeが起動します。 Firehose ストリームに検出結果が一時保存されます。 Firehose ストリームは、指定したバッファ期間内に受信したイベントを

                                                                            Amazon Inspectorの検出結果をリソース単位でまとめてメール通知する方法 | DevelopersIO
                                                                          • AWS Lambdaに対するユニットテスト - public note

                                                                            AWS Lambda に対するユニットテスト(以下、UT)で気をつけていることを言語化して、記録に残します。 結論 はじめに 実現したいこと 考えたこと 工夫したこと 具体例 処理内容 ディレクトリ構造 テストデータ Lambda Function テスト共通処理 テストコード まとめ 結論 AWSサービスに関わらない処理ステップを切り出して、先にテスト駆動開発で実装する、という考え方をしています。 はじめに AWS Lambda は、言わずと知れた FaaS(Function as a Service) です。 開発単位が関数であるために気軽につくりはじめることができますが、 心のままにコードを書いてしまうと、節々にAWSの要素が入り乱れてしまい、 結果としてUTができない成果物になってしまうことがありました。 こうなってしまうと、取りうる手段は二択です。 リファクタリングする そのまま

                                                                              AWS Lambdaに対するユニットテスト - public note
                                                                            • Amazon DocumentDB (with MongoDB compatibility) read autoscaling | Amazon Web Services

                                                                              AWS Database Blog Amazon DocumentDB (with MongoDB compatibility) read autoscaling Amazon Document DB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads. Its architecture supports up to 15 read replicas, so applications that connect as a replica set can use driver read preference settings to direct reads to

                                                                                Amazon DocumentDB (with MongoDB compatibility) read autoscaling | Amazon Web Services
                                                                              • Working with Lambda layers and extensions in container images | Amazon Web Services

                                                                                AWS Compute Blog Working with Lambda layers and extensions in container images In this post, I explain how to use AWS Lambda layers and extensions with Lambda functions packaged and deployed as container images. Previously, Lambda functions were packaged only as .zip archives. This includes functions created in the AWS Management Console. You can now also package and deploy Lambda functions as con

                                                                                  Working with Lambda layers and extensions in container images | Amazon Web Services
                                                                                • API Gateway の Lambda オーソライザーをやってみた - Qiita

                                                                                  はじめに API Gateway を使うとインターネット上に REST API を公開できます。インターネット上に公開する際に、特定のユーザーやシステムにのみアクセスを制限させたい場合があります。そういったときには、API Gateway の認証機能が便利に使えます。 API Gateway の認証機能にはいくつか種類があります。 リソースポリシー IAM アクセス許可 Lambda オーソライザー Cognito オーソライザー それぞれの詳細が気になる方は、次の AWS Document をチェックしてみてください。 https://docs.aws.amazon.com/ja_jp/apigateway/latest/developerguide/apigateway-control-access-to-api.html 今回は、Lambda オーソライザーを触っていきたいと思います

                                                                                    API Gateway の Lambda オーソライザーをやってみた - Qiita