Class: AWSCDK::Interfaces::AWSIAM::AccessKeyReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSIAM::AccessKeyReference
- Defined in:
- interfaces/awsiam/access_key_reference.rb
Overview
A reference to a AccessKey resource.
Instance Attribute Summary collapse
-
#access_key_id ⇒ String
readonly
The Id of the AccessKey resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_key_id:) ⇒ AccessKeyReference
constructor
A new instance of AccessKeyReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_key_id:) ⇒ AccessKeyReference
Returns a new instance of AccessKeyReference.
8 9 10 11 |
# File 'interfaces/awsiam/access_key_reference.rb', line 8 def initialize(access_key_id:) @access_key_id = access_key_id Jsii::Type.check_type(@access_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessKeyId") end |
Instance Attribute Details
#access_key_id ⇒ String (readonly)
The Id of the AccessKey resource.
16 17 18 |
# File 'interfaces/awsiam/access_key_reference.rb', line 16 def access_key_id @access_key_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsiam/access_key_reference.rb', line 18 def self.jsii_properties { :access_key_id => "accessKeyId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsiam/access_key_reference.rb', line 24 def to_jsii result = {} result.merge!({ "accessKeyId" => @access_key_id, }) result.compact end |