Class: AWSCDK::EKS::CfnCapability::SsoIdentityProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCapability::SsoIdentityProperty
- Defined in:
- eks/cfn_capability.rb
Overview
An IAM Identity CenterIAM;
Identity Center identity (user or group) that can be assigned permissions in a capability.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The unique identifier of the IAM Identity CenterIAM;.
-
#type ⇒ String
readonly
The type of identity.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, type:) ⇒ SsoIdentityProperty
constructor
A new instance of SsoIdentityProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id:, type:) ⇒ SsoIdentityProperty
Returns a new instance of SsoIdentityProperty.
928 929 930 931 932 933 |
# File 'eks/cfn_capability.rb', line 928 def initialize(id:, type:) @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#id ⇒ String (readonly)
The unique identifier of the IAM Identity CenterIAM;
Identity Center user or group.
941 942 943 |
# File 'eks/cfn_capability.rb', line 941 def id @id end |
#type ⇒ String (readonly)
The type of identity.
Valid values are SSO_USER or SSO_GROUP .
948 949 950 |
# File 'eks/cfn_capability.rb', line 948 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
950 951 952 953 954 955 |
# File 'eks/cfn_capability.rb', line 950 def self.jsii_properties { :id => "id", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
957 958 959 960 961 962 963 964 |
# File 'eks/cfn_capability.rb', line 957 def to_jsii result = {} result.merge!({ "id" => @id, "type" => @type, }) result.compact end |