public static interface CfnWorkteam.MemberDefinitionProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnWorkteam.MemberDefinitionProperty.Builder
A builder for
CfnWorkteam.MemberDefinitionProperty |
static class |
CfnWorkteam.MemberDefinitionProperty.Jsii$Proxy
An implementation for
CfnWorkteam.MemberDefinitionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnWorkteam.MemberDefinitionProperty.Builder |
builder() |
default java.lang.Object |
getCognitoMemberDefinition()
The Amazon Cognito user group that is part of the work team.
|
default java.lang.Object |
getOidcMemberDefinition()
A list user groups that exist in your OIDC Identity Provider (IdP).
|
default java.lang.Object getCognitoMemberDefinition()
default java.lang.Object getOidcMemberDefinition()
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.
static CfnWorkteam.MemberDefinitionProperty.Builder builder()