Class: AWSCDK::Signer::SigningProfileAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Signer::SigningProfileAttributes
- Defined in:
- signer/signing_profile_attributes.rb
Overview
A reference to a Signing Profile.
Instance Attribute Summary collapse
-
#signing_profile_name ⇒ String
readonly
The name of signing profile.
-
#signing_profile_version ⇒ String
readonly
The version of signing profile.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(signing_profile_name:, signing_profile_version:) ⇒ SigningProfileAttributes
constructor
A new instance of SigningProfileAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(signing_profile_name:, signing_profile_version:) ⇒ SigningProfileAttributes
Returns a new instance of SigningProfileAttributes.
9 10 11 12 13 14 |
# File 'signer/signing_profile_attributes.rb', line 9 def initialize(signing_profile_name:, signing_profile_version:) @signing_profile_name = signing_profile_name Jsii::Type.check_type(@signing_profile_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "signingProfileName") @signing_profile_version = signing_profile_version Jsii::Type.check_type(@signing_profile_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "signingProfileVersion") end |
Instance Attribute Details
#signing_profile_name ⇒ String (readonly)
The name of signing profile.
19 20 21 |
# File 'signer/signing_profile_attributes.rb', line 19 def signing_profile_name @signing_profile_name end |
#signing_profile_version ⇒ String (readonly)
The version of signing profile.
23 24 25 |
# File 'signer/signing_profile_attributes.rb', line 23 def signing_profile_version @signing_profile_version end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'signer/signing_profile_attributes.rb', line 25 def self.jsii_properties { :signing_profile_name => "signingProfileName", :signing_profile_version => "signingProfileVersion", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'signer/signing_profile_attributes.rb', line 32 def to_jsii result = {} result.merge!({ "signingProfileName" => @signing_profile_name, "signingProfileVersion" => @signing_profile_version, }) result.compact end |