Developer Tools · head to head
AWS CDK vs Cortex Xpanse

AWS CDK
Developer Tools
Open source framework for defining AWS infrastructure in programming languages
- From
- Free
- Free plan
- Yes

Cortex Xpanse
Developer Tools
External attack surface management that scans the whole internet for your exposed assets
- From
- On request
- Free plan
- No
The short version
- AWS CDK is an Apache 2.
- AWS CDK is free; Cortex Xpanse prices on request.
- Only AWS CDK lists construct Library of reusable components; only Cortex Xpanse lists internet-wide discovery.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
- Where Cortex Xpanse falls short: pricing is not published, so budget and trial terms require a sales conversation.
How do AWS CDK and Cortex Xpanse differ?
AWS CDK and Cortex Xpanse differ on starting price (Free against On request), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which AWS CDK and Cortex Xpanse actually diverge.
| Attribute | AWS CDK | Cortex Xpanse |
|---|---|---|
| Starting price | Free | On request |
| Pricing model | Open-source | Quote |
| Free tier | Yes | No |
| Platforms | Windows, macOS, Linux | Web |
Not yet recorded: category for Cortex Xpanse.
Which features does each one have?
They share no listed features; 8 appear only for AWS CDK and 6 only for Cortex Xpanse. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in AWS CDK
- Construct Library of reusable components
- CDK CLI for synthesis and deployment
- Programmatic CDK Toolkit Library
- Support for TypeScript, JavaScript, Python, Java, C# and Go
- Deployment through AWS CloudFormation
- Custom and shareable constructs
- Construct Hub registry
- Open source under Apache 2.0
Only in Cortex Xpanse
- Internet-wide discovery
- Asset attribution
- Risk prioritisation
- Automated playbooks
- CVE response
- M&A assessment
What is each one used for?
AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Cortex Xpanse for an enterprise finding forgotten cloud assets and shadow IT. The jobs each tool is most often brought in to do.
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot Cortex Xpanse
- Reusable internal infrastructure modulesnot Cortex Xpanse
- Serverless application stacksnot Cortex Xpanse
- Testing infrastructure with unit testsnot Cortex Xpanse
- Standardising environments across accountsnot Cortex Xpanse
Cortex Xpanse
- An enterprise finding forgotten cloud assets and shadow ITnot AWS CDK
- An acquirer assessing the exposure of a target companynot AWS CDK
- A security team responding to a new CVE across internet-facing assetsnot AWS CDK
- A risk team reducing exposures flagged by cyber insurersnot AWS CDK
Where do AWS CDK and Cortex Xpanse fall short?
AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Cortex Xpanse's: pricing is not published, so budget and trial terms require a sales conversation. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS CDK
- Targets AWS only, so it does not provision resources on other clouds
- Deploys through CloudFormation, so its resource coverage and limits apply
- Infrastructure written in code can be harder to review than declarative templates
- The AWS resources it creates are billed separately at standard AWS rates
Cortex Xpanse
- Pricing is not published, so budget and trial terms require a sales conversation
- It only sees the external surface; internal asset and vulnerability coverage needs other tools
- Attribution of discovered assets can be wrong, so analysts still verify ownership
- Automated remediation needs integrations and approvals that take time to set up
- Palo Alto Networks sells overlapping Cortex Exposure Management, so the product boundary and licensing can be unclear
How much do AWS CDK and Cortex Xpanse cost?
AWS CDK is free to use; Cortex Xpanse is priced on request. Plan by plan below, from each vendor's own pricing page.
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
Cortex Xpanse
On request- Cortex XpanseOn request
- Subscription sized by organisation attack surface
- Automated remediation playbooks
- Quote only
Which should you pick?
Choose AWS CDK if
- You need construct library of reusable components.
- You want to start without paying.
- You work on Windows, macOS, Linux.
- You also want cdk cli for synthesis and deployment.
Choose Cortex Xpanse if
- You need internet-wide discovery.
- You also want asset attribution.
Questions people ask
- Is AWS CDK or Cortex Xpanse better?
- It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Cortex Xpanse fits an enterprise finding forgotten cloud assets and shadow IT. AWS CDK starts at Free and Cortex Xpanse at On request.
- Which is cheaper, AWS CDK or Cortex Xpanse?
- AWS CDK has a free tier; the other does not. Paid plans start at Free for AWS CDK and On request for Cortex Xpanse.
- Does AWS CDK or Cortex Xpanse run on more platforms?
- AWS CDK runs on Windows, macOS, Linux. Cortex Xpanse runs on Web.
- Can I use AWS CDK for free?
- Yes. AWS CDK has a free tier, so you can try it without paying. Cortex Xpanse starts at On request.
- What is AWS CDK best used for?
- AWS CDK is most often used for defining aws infrastructure in typescript or python, reusable internal infrastructure modules, serverless application stacks, testing infrastructure with unit tests. Of those, defining aws infrastructure in typescript or python and reusable internal infrastructure modules are not what Cortex Xpanse is typically brought in for.
- What can AWS CDK do that Cortex Xpanse cannot?
- AWS CDK covers Construct Library of reusable components, CDK CLI for synthesis and deployment, Programmatic CDK Toolkit Library, Support for TypeScript, JavaScript, Python, Java, C# and Go. Cortex Xpanse covers Internet-wide discovery, Asset attribution, Risk prioritisation, Automated playbooks.
Answered from the vendors’ own pages
AWS CDK: Which languages does AWS CDK support?
The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.
SourceCortex Xpanse: What is Xpanse used for?
Discovering and reducing risks on internet-facing assets, including ones you did not know existed.
AWS CDK: How does AWS CDK deploy resources?
CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.
SourceCortex Xpanse: Is it a vulnerability scanner?
It overlaps, but it scans the internet continuously and discovers assets, rather than scanning a list you provide.
AWS CDK: Is AWS CDK free?
It is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.
SourceCortex Xpanse: Does it fix issues?
It can run automated playbooks for remediation.
AWS CDK: When was AWS CDK first released?
Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.
SourceCortex Xpanse: Is the price published?
No.
Related pages
More on Cortex Xpanse
Other head to heads
- AWS CDK vs Terraform
- AWS CDK vs HCP Terraform
- AWS CDK vs Atlantis
- AWS CDK vs Pants Build
- AWS CDK vs Frappe
- AWS CDK vs Spacelift
- AWS CDK vs Eclipse
- AWS CDK vs Python
- AWS CDK vs Backstage
- AWS CDK vs Jitsu
- AWS CDK vs Notepad++
- AWS CDK vs Steampipe
- AWS CDK vs JFrog Artifactory
- AWS CDK vs Nixpacks
- AWS CDK vs Portainer
- AWS CDK vs RAD Studio
- AWS CDK vs Refact
- AWS CDK vs Restate
- AWS CDK vs Tenable
- AWS CDK vs Recorded Future
- AWS CDK vs Qualys VMDR
- AWS CDK vs ServiceNow Security Operations
- AWS CDK vs ManageEngine Vulnerability Manager Plus
- AWS CDK vs BigID
- AWS CDK vs Jamf Pro
- AWS CDK vs Osano
- AWS CDK vs Orca Security
- AWS CDK vs Omada Identity
- AWS CDK vs Spot AI
- AWS CDK vs Arnica
- AWS CDK vs TunnelBear
- AWS CDK vs Wireshark
- AWS CDK vs Akeyless
- AWS CDK vs Camio
- AWS CDK vs Doppler
- AWS CDK vs Drata
- Cortex Xpanse vs Terraform
- Cortex Xpanse vs HCP Terraform
- Cortex Xpanse vs Atlantis
- Cortex Xpanse vs Pants Build
- Cortex Xpanse vs Frappe
- Cortex Xpanse vs Spacelift
- Cortex Xpanse vs Eclipse
- Cortex Xpanse vs Python
- Cortex Xpanse vs Backstage
- Cortex Xpanse vs Jitsu
- Cortex Xpanse vs Notepad++
- Cortex Xpanse vs Steampipe
- Cortex Xpanse vs JFrog Artifactory
- Cortex Xpanse vs Nixpacks
- Cortex Xpanse vs Portainer
- Cortex Xpanse vs RAD Studio
- Cortex Xpanse vs Refact
- Cortex Xpanse vs Restate
- Cortex Xpanse vs Tenable
- Cortex Xpanse vs Recorded Future
- Cortex Xpanse vs Qualys VMDR
- Cortex Xpanse vs ServiceNow Security Operations
- Cortex Xpanse vs ManageEngine Vulnerability Manager Plus
- Cortex Xpanse vs BigID
- Cortex Xpanse vs Jamf Pro
- Cortex Xpanse vs Osano
- Cortex Xpanse vs Orca Security
- Cortex Xpanse vs Omada Identity
- Cortex Xpanse vs Spot AI
- Cortex Xpanse vs Arnica
- Cortex Xpanse vs TunnelBear
- Cortex Xpanse vs Wireshark
- Cortex Xpanse vs Akeyless
- Cortex Xpanse vs Camio
- Cortex Xpanse vs Doppler
- Cortex Xpanse vs Drata
