Class: AWSCDK::ScopedAWS
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::ScopedAWS
- Defined in:
- scoped_aws.rb
Overview
Accessor for scoped pseudo parameters.
These pseudo parameters are anchored to a stack somewhere in the construct tree, and their values will be exported automatically.
Class Method Summary collapse
Instance Method Summary collapse
- #account_id ⇒ String
-
#initialize(scope) ⇒ ScopedAWS
constructor
A new instance of ScopedAWS.
- #notification_arns ⇒ Array<String>
- #partition ⇒ String
- #region ⇒ String
- #stack_id ⇒ String
- #stack_name ⇒ String
- #url_suffix ⇒ String
Constructor Details
#initialize(scope) ⇒ ScopedAWS
Returns a new instance of ScopedAWS.
12 13 14 15 |
# File 'scoped_aws.rb', line 12 def initialize(scope) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Object.instance_method(:initialize).bind(self).call(scope) end |
Class Method Details
.jsii_overridable_methods ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'scoped_aws.rb', line 17 def self.jsii_overridable_methods { :account_id => { kind: :property, name: "accountId", is_optional: false }, :notification_arns => { kind: :property, name: "notificationArns", is_optional: false }, :partition => { kind: :property, name: "partition", is_optional: false }, :region => { kind: :property, name: "region", is_optional: false }, :stack_id => { kind: :property, name: "stackId", is_optional: false }, :stack_name => { kind: :property, name: "stackName", is_optional: false }, :url_suffix => { kind: :property, name: "urlSuffix", is_optional: false }, } end |
Instance Method Details
#account_id ⇒ String
30 31 32 |
# File 'scoped_aws.rb', line 30 def account_id() jsii_get_property("accountId") end |
#notification_arns ⇒ Array<String>
35 36 37 |
# File 'scoped_aws.rb', line 35 def notification_arns() jsii_get_property("notificationArns") end |
#partition ⇒ String
40 41 42 |
# File 'scoped_aws.rb', line 40 def partition() jsii_get_property("partition") end |
#region ⇒ String
45 46 47 |
# File 'scoped_aws.rb', line 45 def region() jsii_get_property("region") end |
#stack_id ⇒ String
50 51 52 |
# File 'scoped_aws.rb', line 50 def stack_id() jsii_get_property("stackId") end |
#stack_name ⇒ String
55 56 57 |
# File 'scoped_aws.rb', line 55 def stack_name() jsii_get_property("stackName") end |
#url_suffix ⇒ String
60 61 62 |
# File 'scoped_aws.rb', line 60 def url_suffix() jsii_get_property("urlSuffix") end |