Skip to content
v2.276.0

OidcMemberDefinitionProperty Struct ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const oidcMemberDefinitionProperty: sagemaker.CfnWorkteam.OidcMemberDefinitionProperty = {
  oidcGroups: ['oidcGroups'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

oidc_member_definition_property = sagemaker.CfnWorkteam.OidcMemberDefinitionProperty(
    oidc_groups=["oidcGroups"]
)
java
// 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.*;

OidcMemberDefinitionProperty oidcMemberDefinitionProperty = OidcMemberDefinitionProperty.builder()
        .oidcGroups(List.of("oidcGroups"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var oidcMemberDefinitionProperty = new OidcMemberDefinitionProperty {
    OidcGroups = new [] { "oidcGroups" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

oidcMemberDefinitionProperty := &OidcMemberDefinitionProperty{
	OidcGroups: []*string{
		jsii.String("oidcGroups"),
	},
}

Properties ​

oidcGroupsstring[]oidc_groupstyping.List[str]oidcGroupsList<String>OidcGroupsstring[]OidcGroups*[]*stringrequired#
A list of OIDC group names whose members will be part of this workteam.