Interface CfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProvider
@Stability(Stable)
public static interface CfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for on-behalf-of token exchange.
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.bedrockagentcore.*;
OnBehalfOfTokenExchangeConfigProperty onBehalfOfTokenExchangeConfigProperty = OnBehalfOfTokenExchangeConfigProperty.builder()
.grantType("grantType")
// the properties below are optional
.tokenExchangeGrantTypeConfig(TokenExchangeGrantTypeConfigProperty.builder()
.actorTokenContent("actorTokenContent")
// the properties below are optional
.actorTokenScopes(List.of("actorTokenScopes"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGrantType
The grant type for on-behalf-of token exchange.- See Also:
-
getTokenExchangeGrantTypeConfig
Configuration for RFC 8693 Token Exchange.Returns union: either
IResolvableorCfnOAuth2CredentialProvider.TokenExchangeGrantTypeConfigProperty- See Also:
-
builder
@Stability(Stable) static CfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty.Builder builder()
-