class

Detector::Specification::AwsCloudformation

Inherits Detector < Reference < Object

Constants

CANDIDATE_MARKER = Regex.union("AWSTemplateFormatVersion", SAM_TRANSFORM)

Every .yml/.yaml/.json in the tree reaches this gate, so the two-includes? chain it replaces was walking the whole corpus twice.

SAM_TRANSFORM = "AWS::Serverless-2016-10-31"

Class methods

tech_name

The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.

Source

Instance methods

applicable?(filename : String) : Bool

Registers each template path in CodeLocator.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers each template path in CodeLocator.

Source
set_name

Registers each template path in CodeLocator.

Source