Class: AWSCDK::Sagemaker::CfnWorkteam::OidcMemberDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnWorkteam::OidcMemberDefinitionProperty
- 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
- #oidc_groups ⇒ Array<String> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(oidc_groups:) ⇒ OidcMemberDefinitionProperty
constructor
A new instance of OidcMemberDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(oidc_groups:) ⇒ OidcMemberDefinitionProperty
Returns a new instance of OidcMemberDefinitionProperty.
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_groups ⇒ Array<String> (readonly)
739 740 741 |
# File 'sagemaker/cfn_workteam.rb', line 739 def oidc_groups @oidc_groups end |
Class Method Details
.jsii_properties ⇒ Object
741 742 743 744 745 |
# File 'sagemaker/cfn_workteam.rb', line 741 def self.jsii_properties { :oidc_groups => "oidcGroups", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |