Posts tagged "aws-cdk"

8 articles covering aws-cdk — browse the collection below.

Migrating a SAM CfnApplication to a CDK NestedStack Without Recreating Resources
AWS CDK

Migrating a SAM CfnApplication to a CDK NestedStack Without Recreating Resources

How to replace an embedded SAM CfnApplication with a native CDK NestedStack in place, keeping the underlying Lambda and Step Functions resources and their outputs intact.

Read more
Migrating AWS CDK logRetention to logGroup Without Losing Your Logs
AWS CDK

Migrating AWS CDK logRetention to logGroup Without Losing Your Logs

How to safely migrate the deprecated AWS CDK logRetention prop to logGroup by importing the existing log group, so you keep your logs and avoid a failed deploy.

Read more
Updating Tags on an OpenSearch Serverless Collection Replaces the Resource
AWS

Updating Tags on an OpenSearch Serverless Collection Replaces the Resource

AWS::OpenSearchServerless::Collection requires replacement when you update tags — a surprising CloudFormation behavior that can break cross-account setups and cause downtime.

Read more
Cross-Account Data Ingestion into OpenSearch Serverless with AWS CDK
AWS

Cross-Account Data Ingestion into OpenSearch Serverless with AWS CDK

How to set up OpenSearch Serverless for cross-account data ingestion using AWS CDK, VPC endpoints, and IAM role assumption — filling the gaps in AWS documentation.

Read more
Run Custom Build Commands During CDK Synthesis with Code.fromCustomCommand
AWS

Run Custom Build Commands During CDK Synthesis with Code.fromCustomCommand

Learn how to use CDK's Code.fromCustomCommand to run custom build scripts, download artifacts, or use non-standard toolchains like Rust or Go during CDK synthesis.

Read more
Scale CloudWatch Alarms with Metrics Insights Queries
AWS

Scale CloudWatch Alarms with Metrics Insights Queries

Use CloudWatch Metrics Insights to monitor multiple resources by querying their tags.

Read more
Serve Markdown for LLMs and AI Agents Using Amazon CloudFront
AWS

Serve Markdown for LLMs and AI Agents Using Amazon CloudFront

Learn how to serve Markdown to LLM and AI agent clients while keeping HTML for human visitors, using CloudFront Functions, Lambda, and S3 — the AWS equivalent of Cloudflare's 'Markdown for Agents' feature.

Read more
5 Ways To Bundle a Lambda Function Within an AWS CDK Construct
AWS Lambda

5 Ways To Bundle a Lambda Function Within an AWS CDK Construct

5 ways to bundle Lambda functions in CDK constructs: inline code, separate files, pre-build bundling, NodejsFunction, and Serverless App Repository integration.

Read more