Class: Jets::Cfn::TemplateBuilders::IamPolicy::ApplicationPolicy
- Inherits:
-
BasePolicy
- Object
- BasePolicy
- Jets::Cfn::TemplateBuilders::IamPolicy::ApplicationPolicy
- Defined in:
- lib/jets/cfn/template_builders/iam_policy/application_policy.rb
Instance Attribute Summary
Attributes inherited from BasePolicy
Instance Method Summary collapse
-
#initialize ⇒ ApplicationPolicy
constructor
A new instance of ApplicationPolicy.
-
#policy_name ⇒ Object
Example: PostsControllerPolicy or SleepJobPolicy Note: There is no “method” in the name.
Methods inherited from BasePolicy
#classify_name, #policy_document, #setup, #standardize
Constructor Details
#initialize ⇒ ApplicationPolicy
Returns a new instance of ApplicationPolicy.
7 8 9 10 |
# File 'lib/jets/cfn/template_builders/iam_policy/application_policy.rb', line 7 def initialize setup @definitions = Jets.config.iam_policy || [] # config.iam_policy contains definitions end |
Instance Method Details
#policy_name ⇒ Object
Example: PostsControllerPolicy or SleepJobPolicy Note: There is no “method” in the name
14 15 16 |
# File 'lib/jets/cfn/template_builders/iam_policy/application_policy.rb', line 14 def policy_name "ApplicationPolicy" end |