Class: AWSCDK::IAM::CfnSAMLProvider::SAMLPrivateKeyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IAM::CfnSAMLProvider::SAMLPrivateKeyProperty
- 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
-
#key_id ⇒ String
readonly
The unique identifier for the SAML private key.
-
#timestamp ⇒ String
readonly
The date and time, in ISO 8601 date-time format, when the private key was uploaded.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key_id:, timestamp:) ⇒ SAMLPrivateKeyProperty
constructor
A new instance of SAMLPrivateKeyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key_id:, timestamp:) ⇒ SAMLPrivateKeyProperty
Returns a new instance of SAMLPrivateKeyProperty.
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 = Jsii::Type.check_type(@timestamp, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timestamp") end |
Instance Attribute Details
#key_id ⇒ String (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 |
#timestamp ⇒ String (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 end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |