Class CmsServiceTopologyConfiguration
java.lang.Object
com.cloudforgeci.api.core.topology.CmsServiceTopologyConfiguration
- All Implemented Interfaces:
BaseConfiguration, TopologyConfiguration
CMS-specific topology that auto-wires infrastructure from
CmsSpec capabilities.
Unlike the generic ApplicationServiceTopologyConfiguration, this topology
reads the CMS plugin's declared capabilities and conditionally provisions:
- S3 media bucket — when
CmsSpec.supportsS3MediaStorage() == true - ElastiCache Redis — when
CmsSpec.supportsObjectCache() == trueandpreferredCacheBackend() == "redis" - CloudFront CDN — when
CmsSpec.supportsCdnIntegration() == trueand either a custom domain or S3 media bucket is present - Route53 DNS records — when a hosted zone and ALB are available
- ECS/EC2 auto-scaling — when min/max capacity is configured
cdk.json example
{
"context": {
"cfc": {
"topology": "cms-service",
"applicationId": "wordpress",
"runtime": "fargate",
"env": "prod",
"domain": "example.com",
"subdomain": "blog",
"enableSsl": true,
"authMode": "alb-oidc"
}
}
}
- Since:
- 3.1.0
- See Also:
-
Constructor Details
-
CmsServiceTopologyConfiguration
public CmsServiceTopologyConfiguration()
-
-
Method Details
-
kind
- Specified by:
kindin interfaceTopologyConfiguration
-
id
- Specified by:
idin interfaceBaseConfiguration
-
rules
- Specified by:
rulesin interfaceBaseConfiguration
-
wire
- Specified by:
wirein interfaceBaseConfiguration
-