Class: CfnDslPipeline::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOptions

Returns a new instance of Options.



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/options.rb', line 6

def initialize()
  self.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_audit        = false
  self.cfn_nag = CfnNagConfig.new(
    print_suppression: false,
    fail_on_warnings: true
  )
end

Instance Attribute Details

#aws_regionObject

Returns the value of attribute aws_region.



5
6
7
# File 'lib/options.rb', line 5

def aws_region
  @aws_region
end

#cfn_nagObject

Returns the value of attribute cfn_nag.



5
6
7
# File 'lib/options.rb', line 5

def cfn_nag
  @cfn_nag
end

#debug_auditObject

Returns the value of attribute debug_audit.



5
6
7
# File 'lib/options.rb', line 5

def debug_audit
  @debug_audit
end

#dump_deploy_paramsObject

Returns the value of attribute dump_deploy_params.



5
6
7
# File 'lib/options.rb', line 5

def dump_deploy_params
  @dump_deploy_params
end

#estimate_costObject

Returns the value of attribute estimate_cost.



5
6
7
# File 'lib/options.rb', line 5

def estimate_cost
  @estimate_cost
end

#save_audit_reportObject

Returns the value of attribute save_audit_report.



5
6
7
# File 'lib/options.rb', line 5

def save_audit_report
  @save_audit_report
end

#save_syntax_reportObject

Returns the value of attribute save_syntax_report.



5
6
7
# File 'lib/options.rb', line 5

def save_syntax_report
  @save_syntax_report
end

#validate_cfn_nagObject

Returns the value of attribute validate_cfn_nag.



5
6
7
# File 'lib/options.rb', line 5

def validate_cfn_nag
  @validate_cfn_nag
end

#validate_outputObject

Returns the value of attribute validate_output.



5
6
7
# File 'lib/options.rb', line 5

def validate_output
  @validate_output
end

#validate_syntaxObject

Returns the value of attribute validate_syntax.



5
6
7
# File 'lib/options.rb', line 5

def validate_syntax
  @validate_syntax
end

#validation_bucketObject

Returns the value of attribute validation_bucket.



5
6
7
# File 'lib/options.rb', line 5

def validation_bucket
  @validation_bucket
end