Class: AWSCDK::AWS
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::AWS
- Defined in:
- aws.rb
Overview
Accessor for pseudo parameters.
Since pseudo parameters need to be anchored to a stack somewhere in the construct tree, this class takes an scope parameter; the pseudo parameter values can be obtained as properties from an scoped object.
Class Method Summary collapse
- .ACCOUNT_ID ⇒ String
- .jsii_overridable_methods ⇒ Object
- .NO_VALUE ⇒ String
- .NOTIFICATION_ARNS ⇒ Array<String>
- .PARTITION ⇒ String
- .REGION ⇒ String
- .STACK_ID ⇒ String
- .STACK_NAME ⇒ String
- .URL_SUFFIX ⇒ String
Instance Method Summary collapse
-
#initialize(*args) ⇒ AWS
constructor
A new instance of AWS.
Constructor Details
#initialize(*args) ⇒ AWS
Returns a new instance of AWS.
12 13 14 |
# File 'aws.rb', line 12 def initialize(*args) raise NoMethodError, "aws-cdk-lib.Aws does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.ACCOUNT_ID ⇒ String
22 23 24 |
# File 'aws.rb', line 22 def self.ACCOUNT_ID() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "ACCOUNT_ID") end |
.jsii_overridable_methods ⇒ Object
16 17 18 19 |
# File 'aws.rb', line 16 def self.jsii_overridable_methods { } end |
.NO_VALUE ⇒ String
27 28 29 |
# File 'aws.rb', line 27 def self.NO_VALUE() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "NO_VALUE") end |
.NOTIFICATION_ARNS ⇒ Array<String>
32 33 34 |
# File 'aws.rb', line 32 def self.NOTIFICATION_ARNS() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "NOTIFICATION_ARNS") end |
.PARTITION ⇒ String
37 38 39 |
# File 'aws.rb', line 37 def self.PARTITION() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "PARTITION") end |
.REGION ⇒ String
42 43 44 |
# File 'aws.rb', line 42 def self.REGION() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "REGION") end |
.STACK_ID ⇒ String
47 48 49 |
# File 'aws.rb', line 47 def self.STACK_ID() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "STACK_ID") end |
.STACK_NAME ⇒ String
52 53 54 |
# File 'aws.rb', line 52 def self.STACK_NAME() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "STACK_NAME") end |
.URL_SUFFIX ⇒ String
57 58 59 |
# File 'aws.rb', line 57 def self.URL_SUFFIX() Jsii::Kernel.instance.get_static("aws-cdk-lib.Aws", "URL_SUFFIX") end |