Class: CfnDslPipeline::Options
- Inherits:
-
Object
- Object
- CfnDslPipeline::Options
- Defined in:
- lib/options.rb
Overview
Main pipeline options
Instance Attribute Summary collapse
-
#aws_region ⇒ Object
Returns the value of attribute aws_region.
-
#cfn_nag ⇒ Object
Returns the value of attribute cfn_nag.
-
#debug_audit ⇒ Object
Returns the value of attribute debug_audit.
-
#debug_cfndsl ⇒ Object
Returns the value of attribute debug_cfndsl.
-
#debug_pipeline ⇒ Object
Returns the value of attribute debug_pipeline.
-
#dump_deploy_params ⇒ Object
Returns the value of attribute dump_deploy_params.
-
#estimate_cost ⇒ Object
Returns the value of attribute estimate_cost.
-
#save_audit_report ⇒ Object
Returns the value of attribute save_audit_report.
-
#save_syntax_report ⇒ Object
Returns the value of attribute save_syntax_report.
-
#validate_cfn_nag ⇒ Object
Returns the value of attribute validate_cfn_nag.
-
#validate_output ⇒ Object
Returns the value of attribute validate_output.
-
#validate_syntax ⇒ Object
Returns the value of attribute validate_syntax.
-
#validation_bucket ⇒ Object
Returns the value of attribute validation_bucket.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/options.rb', line 12 def initialize self.aws_region = ENV['AWS_REGION'] || 'ap-southeast-2' self.validation_bucket = '' self.validate_cfn_nag = false self.validate_syntax = false self.estimate_cost = false self.save_syntax_report = false self.dump_deploy_params = false self.save_audit_report = false self.debug_pipeline = false self.debug_cfndsl = false self.debug_audit = false self.cfn_nag = CfnNagConfig.new( print_suppression: false, fail_on_warnings: true ) end |
Instance Attribute Details
#aws_region ⇒ Object
Returns the value of attribute aws_region.
9 10 11 |
# File 'lib/options.rb', line 9 def aws_region @aws_region end |
#cfn_nag ⇒ Object
Returns the value of attribute cfn_nag.
9 10 11 |
# File 'lib/options.rb', line 9 def cfn_nag @cfn_nag end |
#debug_audit ⇒ Object
Returns the value of attribute debug_audit.
11 12 13 |
# File 'lib/options.rb', line 11 def debug_audit @debug_audit end |
#debug_cfndsl ⇒ Object
Returns the value of attribute debug_cfndsl.
11 12 13 |
# File 'lib/options.rb', line 11 def debug_cfndsl @debug_cfndsl end |
#debug_pipeline ⇒ Object
Returns the value of attribute debug_pipeline.
11 12 13 |
# File 'lib/options.rb', line 11 def debug_pipeline @debug_pipeline end |
#dump_deploy_params ⇒ Object
Returns the value of attribute dump_deploy_params.
9 10 11 |
# File 'lib/options.rb', line 9 def dump_deploy_params @dump_deploy_params end |
#estimate_cost ⇒ Object
Returns the value of attribute estimate_cost.
9 10 11 |
# File 'lib/options.rb', line 9 def estimate_cost @estimate_cost end |
#save_audit_report ⇒ Object
Returns the value of attribute save_audit_report.
10 11 12 |
# File 'lib/options.rb', line 10 def save_audit_report @save_audit_report end |
#save_syntax_report ⇒ Object
Returns the value of attribute save_syntax_report.
10 11 12 |
# File 'lib/options.rb', line 10 def save_syntax_report @save_syntax_report end |
#validate_cfn_nag ⇒ Object
Returns the value of attribute validate_cfn_nag.
10 11 12 |
# File 'lib/options.rb', line 10 def validate_cfn_nag @validate_cfn_nag end |
#validate_output ⇒ Object
Returns the value of attribute validate_output.
10 11 12 |
# File 'lib/options.rb', line 10 def validate_output @validate_output end |
#validate_syntax ⇒ Object
Returns the value of attribute validate_syntax.
10 11 12 |
# File 'lib/options.rb', line 10 def validate_syntax @validate_syntax end |
#validation_bucket ⇒ Object
Returns the value of attribute validation_bucket.
9 10 11 |
# File 'lib/options.rb', line 9 def validation_bucket @validation_bucket end |