IncludedOauth2TenantEndpoints
Struct Stable
Optional tenant OAuth endpoints for IdPs that use CloudFormation IncludedOauth2ProviderConfig with issuer and/or endpoints per the IdP’s outbound documentation.
| Source | aws-bedrockagentcore/lib/identity/oauth2-credential-provider.ts |
|---|---|
| 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_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const includedOauth2TenantEndpoints: bedrockagentcore.IncludedOauth2TenantEndpoints = {
authorizationEndpoint: 'authorizationEndpoint',
issuer: 'issuer',
tokenEndpoint: 'tokenEndpoint',
};
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_bedrockagentcore as bedrockagentcore
included_oauth2_tenant_endpoints = bedrockagentcore.IncludedOauth2TenantEndpoints(
authorization_endpoint="authorizationEndpoint",
issuer="issuer",
token_endpoint="tokenEndpoint"
)
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.bedrockagentcore.*;
IncludedOauth2TenantEndpoints includedOauth2TenantEndpoints = IncludedOauth2TenantEndpoints.builder()
.authorizationEndpoint("authorizationEndpoint")
.issuer("issuer")
.tokenEndpoint("tokenEndpoint")
.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.BedrockAgentCore;
var includedOauth2TenantEndpoints = new IncludedOauth2TenantEndpoints {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
TokenEndpoint = "tokenEndpoint"
};
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"
includedOauth2TenantEndpoints := &IncludedOauth2TenantEndpoints{
AuthorizationEndpoint: jsii.String("authorizationEndpoint"),
Issuer: jsii.String("issuer"),
TokenEndpoint: jsii.String("tokenEndpoint"),
}
Properties
authorizationEndpointoptionalstringauthorization_endpointoptionalstrauthorizationEndpointoptionalStringAuthorizationEndpointoptionalstringAuthorizationEndpointoptional*string #OAuth2 authorization endpoint for your tenant.
Default: not specified; use when your IdP requires an explicit endpoint
issueroptionalstringissueroptionalstrissueroptionalStringIssueroptionalstringIssueroptional*string #Token issuer URL for your tenant (often the IdP base or issuer URI).
Default: not specified; use when your IdP requires an explicit issuer
tokenEndpointoptionalstringtoken_endpointoptionalstrtokenEndpointoptionalStringTokenEndpointoptionalstringTokenEndpointoptional*string #OAuth2 token endpoint for your tenant.
Default: not specified; use when your IdP requires an explicit endpoint