Class: AWSCDK::EKS::CfnIdentityProviderConfig::RequiredClaimProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnIdentityProviderConfig::RequiredClaimProperty
- Defined in:
- eks/cfn_identity_provider_config.rb
Overview
A key-value pair that describes a required claim in the identity token.
If set, each claim is verified to be present in the token with a matching value.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The key to match from the token.
-
#value ⇒ String
readonly
The value for the key from the token.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ RequiredClaimProperty
constructor
A new instance of RequiredClaimProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ RequiredClaimProperty
Returns a new instance of RequiredClaimProperty.
676 677 678 679 680 681 |
# File 'eks/cfn_identity_provider_config.rb', line 676 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The key to match from the token.
687 688 689 |
# File 'eks/cfn_identity_provider_config.rb', line 687 def key @key end |
#value ⇒ String (readonly)
The value for the key from the token.
692 693 694 |
# File 'eks/cfn_identity_provider_config.rb', line 692 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
694 695 696 697 698 699 |
# File 'eks/cfn_identity_provider_config.rb', line 694 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
701 702 703 704 705 706 707 708 |
# File 'eks/cfn_identity_provider_config.rb', line 701 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |