Class: AWSCDK::Sagemaker::CfnWorkteam::OidcMemberDefinitionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_workteam.rb

Overview

A list of user groups that exist in your OIDC Identity Provider (IdP).

One to ten groups can be used to create a single private work team. When you add a user group to the list of Groups , you can add that user group to one or more private work teams. If you add a user group to a private work team, all workers in that user group are added to the work team.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(oidc_groups:) ⇒ OidcMemberDefinitionProperty

Returns a new instance of OidcMemberDefinitionProperty.

Parameters:

  • oidc_groups (Array<String>)


732
733
734
735
# File 'sagemaker/cfn_workteam.rb', line 732

def initialize(oidc_groups:)
  @oidc_groups = oidc_groups
  Jsii::Type.check_type(@oidc_groups, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "oidcGroups")
end

Instance Attribute Details

#oidc_groupsArray<String> (readonly)



739
740
741
# File 'sagemaker/cfn_workteam.rb', line 739

def oidc_groups
  @oidc_groups
end

Class Method Details

.jsii_propertiesObject



741
742
743
744
745
# File 'sagemaker/cfn_workteam.rb', line 741

def self.jsii_properties
  {
    :oidc_groups => "oidcGroups",
  }
end

Instance Method Details

#to_jsiiObject



747
748
749
750
751
752
753
# File 'sagemaker/cfn_workteam.rb', line 747

def to_jsii
  result = {}
  result.merge!({
    "oidcGroups" => @oidc_groups,
  })
  result.compact
end