Method: Codepipe::Sns#run

Defined in:
lib/codepipe/sns.rb

#runObject



12
13
14
15
16
17
18
19
20
21
22
# File 'lib/codepipe/sns.rb', line 12

def run
  evaluate(@sns_path) if File.exist?(@sns_path)

  resource = {
    sns_topic: {
      type: "AWS::SNS::Topic",
      properties: @properties
    }
  }
  CfnCamelizer.transform(resource)
end