Class TemplateResourceScanner
java.lang.Object
com.cloudforge.core.local.TemplateResourceScanner
Reads canonical CloudFormation templates for preflight scans.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intfindEcsContainerPort(com.fasterxml.jackson.databind.JsonNode template) Primary container port from the firstAWS::ECS::Serviceload balancer mapping.static com.fasterxml.jackson.databind.JsonNodereadTemplate(Path canonicalTemplate)
-
Method Details
-
readTemplate
public static com.fasterxml.jackson.databind.JsonNode readTemplate(Path canonicalTemplate) throws IOException - Throws:
IOException
-
findEcsContainerPort
public static int findEcsContainerPort(com.fasterxml.jackson.databind.JsonNode template) Primary container port from the firstAWS::ECS::Serviceload balancer mapping.
-