Class: CloudCostTracker::Coding::RDS::AWS::AccountCodingPolicy
- Inherits:
-
AccountCodingPolicy
- Object
- AccountCodingPolicy
- CloudCostTracker::Coding::RDS::AWS::AccountCodingPolicy
- Defined in:
- lib/cloud_cost_tracker/coding/rds/account_coding_policy.rb
Overview
Implements the logic for attaching billing codes to all resources in a single AWS RDS account, and defines the default order in which RDS resources get coded.
Instance Method Summary collapse
-
#priority_classes ⇒ Array <Class>
Defines the order in which EC2 resources are coded.
Methods inherited from AccountCodingPolicy
#attach_account_codes, #code, #initialize, #setup
Constructor Details
This class inherits a constructor from CloudCostTracker::Coding::AccountCodingPolicy
Instance Method Details
#priority_classes ⇒ Array <Class>
Defines the order in which EC2 resources are coded.
12 13 14 15 16 17 18 19 |
# File 'lib/cloud_cost_tracker/coding/rds/account_coding_policy.rb', line 12 def priority_classes [ Fog::AWS::RDS::SecurityGroup, Fog::AWS::RDS::ParameterGroup, Fog::AWS::RDS::Server, # pulls codes from security group Fog::AWS::RDS::Snapshot, # pulls codes from server ] end |