From eabbf854e4bdd16023689e853a6f79a1fc9cf8b6 Mon Sep 17 00:00:00 2001 From: mossgu Date: Fri, 30 Apr 2021 19:52:15 +1200 Subject: [PATCH] aws --- _posts/2019-11-15-AWS-Services-Compute.md | 6 ++++++ _posts/2020-02-05-AWS-Services-Databases.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/_posts/2019-11-15-AWS-Services-Compute.md b/_posts/2019-11-15-AWS-Services-Compute.md index fed8cb5..ccec868 100755 --- a/_posts/2019-11-15-AWS-Services-Compute.md +++ b/_posts/2019-11-15-AWS-Services-Compute.md @@ -396,6 +396,12 @@ API Gateway supports multiple mechanisms of access control using Use AWS Systems Manager Parameter Store, you can store data such as passwords, database strings, Amazon Machine Image (AMI) IDs, and license codes as parameter values. +### Pass custom headers through API Gateway to a Lambda + +By default, a Lambda function only ingests the request body received by an API Gateway API. To pass custom headers from an API Gateway API to a Lambda function, use curl to send a message to the API using a body mapping template to extract any custom headers added to the message. + +The API sends the updated message to a Lambda function to process the headers, returning one or more header values from the original message. + ### AWS Step Fuctions It enables you to coordinate the components of distributed applications and microservices using visual workflows. You build applications from individual components that each perform a discrete function, or task, allowing you to scale and change applications quickly. diff --git a/_posts/2020-02-05-AWS-Services-Databases.md b/_posts/2020-02-05-AWS-Services-Databases.md index b26da14..35d575c 100755 --- a/_posts/2020-02-05-AWS-Services-Databases.md +++ b/_posts/2020-02-05-AWS-Services-Databases.md @@ -365,6 +365,12 @@ DAX maintains two distinct caches: the item cache and the query cache. - the **item cache** is populated with results from `GetItem` and `BatchGetItem` and has a five-minutes default TTL. - the **query cache** stores results of `Query` and `Scan` operations and caches based on the parameters specified. +### restrict user or role to specific attributes in a DynamoDB table + +Use IAM policy conditions for **fine-grained access control (FGAC)**. + +FGAC allows you to control access to individual items or item attributes for both read and write operations in a DynamoDB table. + ## Amazon Redshift - It's a petabyte-scale data warehouse product available within AWS.