Class: AWSCDK::EKS::CfnCapability::SsoIdentityProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, type:) ⇒ SsoIdentityProperty

Returns a new instance of SsoIdentityProperty.

Parameters:

  • id (String)

    The unique identifier of the IAM Identity CenterIAM;

  • type (String)

    The type of identity.



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

#idString (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

#typeString (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_propertiesObject



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_jsiiObject



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