IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] GMOグループ、原則「出社」を発表 経緯は? |
https://www.itmedia.co.jp/business/articles/2302/28/news137.html
|
itmedia |
2023-02-28 12:35:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 「アドビ」で働く人の机をチェック 経営層から書体デザイナーまで、ロマンあふれるデスクたち |
https://www.itmedia.co.jp/news/articles/2302/27/news204.html
|
adobe |
2023-02-28 12:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] ルノー、新型「カングー」発売 14年ぶりのフルモデルチェンジ |
https://www.itmedia.co.jp/business/articles/2302/28/news135.html
|
itmedia |
2023-02-28 12:26:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 競争率100倍! 「かに道楽」にたった5人の「かに切り名人」 |
https://www.itmedia.co.jp/business/articles/2302/28/news139.html
|
itmedia |
2023-02-28 12:18:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 高校生に聞いた「好きなお笑い芸人」 3位「千鳥」、2位「NON STYLE」、1位は? |
https://www.itmedia.co.jp/business/articles/2302/28/news136.html
|
itmedia |
2023-02-28 12:04:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 本当は買い替えたい家具、1位は? スペース不足がネックに |
https://www.itmedia.co.jp/business/articles/2302/28/news127.html
|
itmedia |
2023-02-28 12:02:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] Googleマップにマクラーレン本社のストビュー追加 F1マシンのコックピットに入れる |
https://www.itmedia.co.jp/news/articles/2302/28/news134.html
|
google |
2023-02-28 12:01:00 |
TECH |
Techable(テッカブル) |
団体向け連絡網サービスがリニューアル!スポーツの試合相手も探せるように |
https://techable.jp/archives/197922
|
新型コロナウイルス |
2023-02-28 03:00:29 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
はじめてのGitHub Pages |
https://qiita.com/iyoshi/items/2918fdc09083ea18bcf6
|
github |
2023-02-28 12:04:43 |
技術ブログ |
Developers.IO |
Cloud Workflowsでget_type関数を使ってみる |
https://dev.classmethod.jp/articles/workflows-get_type/
|
cloud |
2023-02-28 03:50:50 |
海外TECH |
DEV Community |
Solving the DynamoDB EventBridge Pipes Problem |
https://dev.to/aws-builders/solving-the-dynamodb-eventbridge-pipes-problem-9ca
|
Solving the DynamoDB EventBridge Pipes ProblemI was really excited when AWS announced EventBridge Pipes at re Invent last year This was going to simplify all the CDC change data capture code I find myself writing and probably reduce my Lambda spend At first everything was going great I was able to create EventBridge events directly from my DynamoDB stream records with some simple JSON path Then I ran into a problem and I wasn t alone The ProblemEverything worked great when you have simple records in DynamoDB and even complex objects would be easy enough Where things fell apart was when I had a list It wasn t a complicated record The data looks like this id ABCDEFG firstName Jason lastName Wadsworth email jasonwadsworth outlook com groups Administrator In DynamoDB it ends up looking like this id S ABCDEFG firstName S Jason lastName S Wadsworth email S jasonwadsworth outlook com groups L S Administrator Now if you ve played with EventBridge Pipes you know that you can do a bit of a transform in target via the input template It s a little odd to work with but it gets the job done The input template for the above would end up looking something like this I intentionally left out the groups because well that s the problem id lt dynamodb NewImage id S gt firstName lt dynamodb NewImage firstName S gt lastName lt dynamodb NewImage lastName S gt email lt dynamodb NewImage email S gt Okay so what about the groups Well turns out that this syntax only supports some of JSON path and it doesn t help here With the help of some others I tried this but it didn t work id lt dynamodb NewImage id S gt firstName lt dynamodb NewImage firstName S gt lastName lt dynamodb NewImage lastName S gt email lt dynamodb NewImage email S gt groups lt dynamodb NewImage groups L S gt The SolutionAfter being very frustrated by this I felt there had to be a path forward Turns out there is The solution is in the enrichment of EventBridge Pipes One of the enrichment options is Step Functions Express State Machines After some trial and error I came up with the following solution code is in CDK const userCreatedEnrichment new StateMachine this UserCreatedEnrichment definition new Map this UserCreatedEnrichmentMap iterator new Pass this UserCreatedEnrichmentPass parameters id dynamodb NewImage id S email dynamodb NewImage email S firstName dynamodb NewImage firstName S groups dynamodb NewImage groups L S lastName dynamodb NewImage lastName S stateMachineType StateMachineType EXPRESS const pipeRole new Role this PipeRole assumedBy new ServicePrincipal pipes amazonaws com inlinePolicies sourcePolicy new PolicyDocument statements new PolicyStatement resources table tableStreamArn actions dynamodb DescribeStream dynamodb GetRecords dynamodb GetShardIterator dynamodb ListStreams enrichmentPolicy new PolicyDocument statements new PolicyStatement resources userCreatedEnrichment stateMachineArn actions states Start targetPolicy new PolicyDocument statements new PolicyStatement resources defaultEventBus eventBusArn actions events PutEvents new CfnPipe this UserCreatedPipe description Sends UserCreated events roleArn pipeRole roleArn source table tableStreamArn target defaultEventBus eventBusArn sourceParameters dynamoDbStreamParameters startingPosition LATEST batchSize enrichment userCreatedEnrichment stateMachineArn targetParameters eventBridgeEventBusParameters detailType UserCreated source MySource The key here is that Step Functions DO support full JSON path So by passing the raw data to a state machine I was able to manipulate the data exactly how I wanted it Sure it s an extra step and it would be nice if EventBridge Pipes would fix it but this is still better than writing more Lambda code |
2023-02-28 03:08:35 |
Apple |
AppleInsider - Frontpage News |
Apple allegedly testing Siri in Hebrew on HomePod for possible Israel launch |
https://appleinsider.com/articles/23/02/28/apple-allegedly-testing-siri-in-hebrew-on-homepod-for-possible-israel-launch?utm_medium=rss
|
Apple allegedly testing Siri in Hebrew on HomePod for possible Israel launchApple is upgrading Siri s Hebrew language support in iOS and a report claims it is being tested for an eventual HomePod launch in Israel HomePod could gain Hebrew language for SiriSiri has supported Hebrew on iPhone since but the language has never made its way to HomePod since it isn t sold in Israel A new set of Hebrew voices with natural sound were discovered in iOS already but it seems there could be more changes coming Read more |
2023-02-28 03:02:19 |
医療系 |
医療介護 CBnews |
【感染症情報】インフルエンザが減少に転じる-感染性胃腸炎は増加、過去10年同期比で最多 |
https://www.cbnews.jp/news/entry/20230228121237
|
医療機関 |
2023-02-28 12:50:00 |
ニュース |
BBC News - Home |
New Zealand beat England following one of all-time great finishes |
https://www.bbc.co.uk/sport/cricket/64794111?at_medium=RSS&at_campaign=KARANGA
|
wellington |
2023-02-28 03:18:36 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
バフェット氏異例の書簡、自社株買い税を批判 - WSJ発 |
https://diamond.jp/articles/-/318609
|
買い |
2023-02-28 12:19:00 |
GCP |
Google Cloud Platform Japan 公式ブログ |
AlloyDB for PostgreSQL、新たに大阪など16リージョンで利用可能に |
https://cloud.google.com/blog/ja/products/databases/alloydb-for-postgresql-now-available-globally/
|
要求の厳しいリレーショナルデータベースワークロードに対応し、PostgreSQLと互換性を持つデータベースサービス「AlloyDBforPostgreSQL」が、新たに世界中のリージョンで利用可能になりました。 |
2023-02-28 03:40:00 |
ビジネス |
東洋経済オンライン |
「お前には才能がない」親を越えられぬ息子の叫び 漫画「アカネノネ」(第1集・第1話 前編) | 漫画 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/650186?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
東洋経済オンライン |
2023-02-28 12:30:00 |
マーケティング |
MarkeZine |
【耳から学ぶ】U-NEXT、Paraviと統合へ【ニュースランキング】 |
http://markezine.jp/article/detail/41510
|
paravi |
2023-02-28 12:30:00 |
マーケティング |
AdverTimes |
藤井聡太竜王が史上最年少の防衛 野村ホールディングスが新聞広告でお祝い |
https://www.advertimes.com/20230228/article412700/
|
史上最年少 |
2023-02-28 03:54:46 |
マーケティング |
AdverTimes |
ZOZO 初のリアルショップは「似合う」を研究する場――「niaulab by ZOZO」 |
https://www.advertimes.com/20230228/article412598/
|
niaulabbyzozo |
2023-02-28 03:46:49 |
ニュース |
THE BRIDGE |
福島氏が語るバクラク躍進のワケーーLayerXが55億円調達、達成の鍵は「AI体験」(2) |
https://thebridge.jp/2023/02/layerx-raised-5-5b-yen-the-sedond-part
|
福島氏が語るバクラク躍進のワケーLayerXが億円調達、達成の鍵は「AI体験」前回記事からのつづき。 |
2023-02-28 03:15:39 |
GCP |
Cloud Blog JA |
AlloyDB for PostgreSQL、新たに大阪など16リージョンで利用可能に |
https://cloud.google.com/blog/ja/products/databases/alloydb-for-postgresql-now-available-globally/
|
要求の厳しいリレーショナルデータベースワークロードに対応し、PostgreSQLと互換性を持つデータベースサービス「AlloyDBforPostgreSQL」が、新たに世界中のリージョンで利用可能になりました。 |
2023-02-28 03:40:00 |
コメント
コメントを投稿