Module: AWSCDK::IPolicyValidationContext
- Defined in:
- i_policy_validation_context.rb
Overview
Context available to the validation plugin.
Class Method Summary collapse
Instance Method Summary collapse
-
#account_id ⇒ String?
The account ID for these templates, if known.
-
#app_construct ⇒ Constructs::IConstruct
The root construct of the app being validated.
-
#region ⇒ String?
The region for these templates, if known.
-
#template_paths ⇒ Array<String>
The absolute path of all templates to be processed.
Class Method Details
.jsii_overridable_methods ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'i_policy_validation_context.rb', line 40 def self.jsii_overridable_methods { :app_construct => { kind: :property, name: "appConstruct", is_optional: false }, :template_paths => { kind: :property, name: "templatePaths", is_optional: false }, :account_id => { kind: :property, name: "accountId", is_optional: true }, :region => { kind: :property, name: "region", is_optional: true }, } end |
Instance Method Details
#account_id ⇒ String?
The account ID for these templates, if known.
29 30 31 |
# File 'i_policy_validation_context.rb', line 29 def account_id() jsii_get_property("accountId") end |
#app_construct ⇒ Constructs::IConstruct
The root construct of the app being validated.
Plugins may walk this tree for typed L1 property access and token
resolution via Stack.of(node).resolve(). The tree is finalized and
should be treated as read-only; mutations have no effect on synthesized
output.
15 16 17 |
# File 'i_policy_validation_context.rb', line 15 def app_construct() jsii_get_property("appConstruct") end |
#region ⇒ String?
The region for these templates, if known.
36 37 38 |
# File 'i_policy_validation_context.rb', line 36 def region() jsii_get_property("region") end |
#template_paths ⇒ Array<String>
The absolute path of all templates to be processed.
22 23 24 |
# File 'i_policy_validation_context.rb', line 22 def template_paths() jsii_get_property("templatePaths") end |