Class: AWSCDK::CXAPI::KeyContextResponse Deprecated

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_id:) ⇒ KeyContextResponse

Returns a new instance of KeyContextResponse.

Parameters:

  • key_id (String)

    Id of the key.



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_idString (readonly)

Id of the key.

Returns:

  • (String)


18
19
20
# File 'cxapi/key_context_response.rb', line 18

def key_id
  @key_id
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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