Class: AWSCDK::CXAPI::KeyContextResponse Deprecated
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CXAPI::KeyContextResponse
- Defined in:
- cxapi/key_context_response.rb
Overview
Deprecated.
The definition of this type has moved to @aws-cdk/cloud-assembly-api.
Properties of a discovered key.
Instance Attribute Summary collapse
-
#key_id ⇒ String
readonly
Id of the key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key_id:) ⇒ KeyContextResponse
constructor
A new instance of KeyContextResponse.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key_id:) ⇒ KeyContextResponse
Returns a new instance of KeyContextResponse.
10 11 12 13 |
# File 'cxapi/key_context_response.rb', line 10 def initialize(key_id:) @key_id = key_id Jsii::Type.check_type(@key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyId") end |
Instance Attribute Details
#key_id ⇒ String (readonly)
Id of the key.
18 19 20 |
# File 'cxapi/key_context_response.rb', line 18 def key_id @key_id end |
Class Method Details
.jsii_properties ⇒ Object
20 21 22 23 24 |
# File 'cxapi/key_context_response.rb', line 20 def self.jsii_properties { :key_id => "keyId", } end |
Instance Method Details
#to_jsii ⇒ Object
26 27 28 29 30 31 32 |
# File 'cxapi/key_context_response.rb', line 26 def to_jsii result = {} result.merge!({ "keyId" => @key_id, }) result.compact end |