Class: AWSCDK::LicenseManager::CfnLicense::IssuerDataProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
license_manager/cfn_license.rb

Overview

Details associated with the issuer of a license.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, sign_key: nil) ⇒ IssuerDataProperty

Returns a new instance of IssuerDataProperty.

Parameters:

  • name (String)

    Issuer name.

  • sign_key (String, nil) (defaults to: nil)

    Asymmetric KMS key from AWS Key Management Service .



857
858
859
860
861
862
# File 'license_manager/cfn_license.rb', line 857

def initialize(name:, sign_key: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @sign_key = sign_key
  Jsii::Type.check_type(@sign_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "signKey") unless @sign_key.nil?
end

Instance Attribute Details

#nameString (readonly)

Issuer name.



868
869
870
# File 'license_manager/cfn_license.rb', line 868

def name
  @name
end

#sign_keyString? (readonly)

Asymmetric KMS key from AWS Key Management Service .

The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm.



875
876
877
# File 'license_manager/cfn_license.rb', line 875

def sign_key
  @sign_key
end

Class Method Details

.jsii_propertiesObject



877
878
879
880
881
882
# File 'license_manager/cfn_license.rb', line 877

def self.jsii_properties
  {
    :name => "name",
    :sign_key => "signKey",
  }
end

Instance Method Details

#to_jsiiObject



884
885
886
887
888
889
890
891
# File 'license_manager/cfn_license.rb', line 884

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "signKey" => @sign_key,
  })
  result.compact
end