Interface CfnWorkteam.MemberDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkteam.MemberDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnWorkteam
@Stability(Stable)
public static interface CfnWorkteam.MemberDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
Defines an Amazon Cognito or your own OIDC IdP user group that is part of a work team.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; MemberDefinitionProperty memberDefinitionProperty = MemberDefinitionProperty.builder() .cognitoMemberDefinition(CognitoMemberDefinitionProperty.builder() .cognitoClientId("cognitoClientId") .cognitoUserGroup("cognitoUserGroup") .cognitoUserPool("cognitoUserPool") .build()) .oidcMemberDefinition(OidcMemberDefinitionProperty.builder() .oidcGroups(List.of("oidcGroups")) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWorkteam.MemberDefinitionProperty
static final class
An implementation forCfnWorkteam.MemberDefinitionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCognitoMemberDefinition
The Amazon Cognito user group that is part of the work team. -
getOidcMemberDefinition
A list 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. -
builder
-