OidcConfigProperty Struct
The configuration of an OIDC Identity Provider (IdP) private workforce.
| Source | |
|---|---|
| Type last changed |
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 oidcConfigProperty: sagemaker.CfnWorkforce.OidcConfigProperty = {
authorizationEndpoint: 'authorizationEndpoint',
clientId: 'clientId',
issuer: 'issuer',
jwksUri: 'jwksUri',
logoutEndpoint: 'logoutEndpoint',
tokenEndpoint: 'tokenEndpoint',
userInfoEndpoint: 'userInfoEndpoint',
// the properties below are optional
authenticationRequestExtraParams: {
authenticationRequestExtraParamsKey: 'authenticationRequestExtraParams',
},
clientSecret: 'clientSecret',
scope: 'scope',
};
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_config_property = sagemaker.CfnWorkforce.OidcConfigProperty(
authorization_endpoint="authorizationEndpoint",
client_id="clientId",
issuer="issuer",
jwks_uri="jwksUri",
logout_endpoint="logoutEndpoint",
token_endpoint="tokenEndpoint",
user_info_endpoint="userInfoEndpoint",
# the properties below are optional
authentication_request_extra_params={
"authentication_request_extra_params_key": "authenticationRequestExtraParams"
},
client_secret="clientSecret",
scope="scope"
)
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.*;
OidcConfigProperty oidcConfigProperty = OidcConfigProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.clientId("clientId")
.issuer("issuer")
.jwksUri("jwksUri")
.logoutEndpoint("logoutEndpoint")
.tokenEndpoint("tokenEndpoint")
.userInfoEndpoint("userInfoEndpoint")
// the properties below are optional
.authenticationRequestExtraParams(Map.of(
"authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
.clientSecret("clientSecret")
.scope("scope")
.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 oidcConfigProperty = new OidcConfigProperty {
AuthorizationEndpoint = "authorizationEndpoint",
ClientId = "clientId",
Issuer = "issuer",
JwksUri = "jwksUri",
LogoutEndpoint = "logoutEndpoint",
TokenEndpoint = "tokenEndpoint",
UserInfoEndpoint = "userInfoEndpoint",
// the properties below are optional
AuthenticationRequestExtraParams = new Dictionary<string, string> {
{ "authenticationRequestExtraParamsKey", "authenticationRequestExtraParams" }
},
ClientSecret = "clientSecret",
Scope = "scope"
};
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"
oidcConfigProperty := &OidcConfigProperty{
AuthorizationEndpoint: jsii.String("authorizationEndpoint"),
ClientId: jsii.String("clientId"),
Issuer: jsii.String("issuer"),
JwksUri: jsii.String("jwksUri"),
LogoutEndpoint: jsii.String("logoutEndpoint"),
TokenEndpoint: jsii.String("tokenEndpoint"),
UserInfoEndpoint: jsii.String("userInfoEndpoint"),
// the properties below are optional
AuthenticationRequestExtraParams: map[string]*string{
"authenticationRequestExtraParamsKey": jsii.String("authenticationRequestExtraParams"),
},
ClientSecret: jsii.String("clientSecret"),
Scope: jsii.String("scope"),
}
Properties
authenticationRequestExtraParamsoptionalIResolvable | { [key: string]: string }authentication_request_extra_paramsoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]authenticationRequestExtraParamsoptionalIResolvableAuthenticationRequestExtraParamsoptionalIResolvableAuthenticationRequestExtraParamsoptionalinterface{} #A string to string map of identifiers specific to the custom identity provider (IdP) being used.
authorizationEndpointstringauthorization_endpointstrauthorizationEndpointStringAuthorizationEndpointstringAuthorizationEndpoint*string required #The OIDC IdP authorization endpoint used to configure your private workforce.
The OIDC IdP client ID used to configure your private workforce.
clientSecretoptionalstringclient_secretoptionalstrclientSecretoptionalStringClientSecretoptionalstringClientSecretoptional*string #The OIDC IdP client secret used to configure your private workforce.
The OIDC IdP issuer used to configure your private workforce.
The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
logoutEndpointstringlogout_endpointstrlogoutEndpointStringLogoutEndpointstringLogoutEndpoint*string required #The OIDC IdP logout endpoint used to configure your private workforce.
An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
tokenEndpointstringtoken_endpointstrtokenEndpointStringTokenEndpointstringTokenEndpoint*string required #The OIDC IdP token endpoint used to configure your private workforce.
userInfoEndpointstringuser_info_endpointstruserInfoEndpointStringUserInfoEndpointstringUserInfoEndpoint*string required #The OIDC IdP user info endpoint used to configure your private workforce.