Class: AWSCDK::Signer::SigningProfileAttributes

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
signer/signing_profile_attributes.rb

Overview

A reference to a Signing Profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(signing_profile_name:, signing_profile_version:) ⇒ SigningProfileAttributes

Returns a new instance of SigningProfileAttributes.

Parameters:

  • signing_profile_name (String)

    The name of signing profile.

  • signing_profile_version (String)

    The version of signing profile.



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

The name of signing profile.

Returns:

  • (String)


19
20
21
# File 'signer/signing_profile_attributes.rb', line 19

def signing_profile_name
  @signing_profile_name
end

#signing_profile_versionString (readonly)

The version of signing profile.

Returns:

  • (String)


23
24
25
# File 'signer/signing_profile_attributes.rb', line 23

def signing_profile_version
  @signing_profile_version
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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