Skip to content
v2.278.0

IncludedOauth2TenantEndpoints Struct ​

Optional tenant OAuth endpoints for IdPs that use CloudFormation IncludedOauth2ProviderConfig with issuer and/or endpoints per the IdP’s outbound documentation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const includedOauth2TenantEndpoints: bedrock_agentcore_alpha.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.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

included_oauth2_tenant_endpoints = bedrock_agentcore_alpha.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.bedrock.agentcore.alpha.*;

IncludedOauth2TenantEndpoints includedOauth2TenantEndpoints = IncludedOauth2TenantEndpoints.builder()
        .authorizationEndpoint("authorizationEndpoint")
        .issuer("issuer")
        .tokenEndpoint("tokenEndpoint")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;

var includedOauth2TenantEndpoints = new IncludedOauth2TenantEndpoints {
    AuthorizationEndpoint = "authorizationEndpoint",
    Issuer = "issuer",
    TokenEndpoint = "tokenEndpoint"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"

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