Class: AWSCDK::IAM::CfnSAMLProvider::SAMLPrivateKeyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
iam/cfn_saml_provider.rb

Overview

Contains the private keys for the SAML provider.

This data type is used as a response element in the GetSAMLProvider operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_id:, timestamp:) ⇒ SAMLPrivateKeyProperty

Returns a new instance of SAMLPrivateKeyProperty.

Parameters:

  • key_id (String)

    The unique identifier for the SAML private key.

  • timestamp (String)

    The date and time, in ISO 8601 date-time format, when the private key was uploaded.



614
615
616
617
618
619
# File 'iam/cfn_saml_provider.rb', line 614

def initialize(key_id:, timestamp:)
  @key_id = key_id
  Jsii::Type.check_type(@key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyId")
  @timestamp = timestamp
  Jsii::Type.check_type(@timestamp, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timestamp")
end

Instance Attribute Details

#key_idString (readonly)

The unique identifier for the SAML private key.



625
626
627
# File 'iam/cfn_saml_provider.rb', line 625

def key_id
  @key_id
end

#timestampString (readonly)

The date and time, in ISO 8601 date-time format, when the private key was uploaded.



630
631
632
# File 'iam/cfn_saml_provider.rb', line 630

def timestamp
  @timestamp
end

Class Method Details

.jsii_propertiesObject



632
633
634
635
636
637
# File 'iam/cfn_saml_provider.rb', line 632

def self.jsii_properties
  {
    :key_id => "keyId",
    :timestamp => "timestamp",
  }
end

Instance Method Details

#to_jsiiObject



639
640
641
642
643
644
645
646
# File 'iam/cfn_saml_provider.rb', line 639

def to_jsii
  result = {}
  result.merge!({
    "keyId" => @key_id,
    "timestamp" => @timestamp,
  })
  result.compact
end