Class: Awshark::Sts::Configuration
- Inherits:
-
Object
- Object
- Awshark::Sts::Configuration
- Defined in:
- lib/awshark/sts/configuration.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object
13 14 15 |
# File 'lib/awshark/sts/configuration.rb', line 13 def client @client ||= Aws::STS::Client.new end |
Instance Method Details
#aws_account_id ⇒ Object
6 7 8 9 10 11 |
# File 'lib/awshark/sts/configuration.rb', line 6 def aws_account_id @aws_account_id ||= begin response = client.get_caller_identity response.account end end |