Class: AWSCDK::LicenseManager::CfnLicense::IssuerDataProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LicenseManager::CfnLicense::IssuerDataProperty
- Defined in:
- license_manager/cfn_license.rb
Overview
Details associated with the issuer of a license.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Issuer name.
-
#sign_key ⇒ String?
readonly
Asymmetric KMS key from AWS Key Management Service .
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, sign_key: nil) ⇒ IssuerDataProperty
constructor
A new instance of IssuerDataProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, sign_key: nil) ⇒ IssuerDataProperty
Returns a new instance of IssuerDataProperty.
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
#name ⇒ String (readonly)
Issuer name.
868 869 870 |
# File 'license_manager/cfn_license.rb', line 868 def name @name end |
#sign_key ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |