Skip to content
v2.278.0

IncludedOauth2ProviderConfigInputProperty Struct ​

Input configuration for a supported non-custom OAuth2 provider.

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 includedOauth2ProviderConfigInputProperty: bedrockagentcore.CfnOAuth2CredentialProvider.IncludedOauth2ProviderConfigInputProperty = {
  clientId: 'clientId',

  // the properties below are optional
  authorizationEndpoint: 'authorizationEndpoint',
  clientSecret: 'clientSecret',
  clientSecretConfig: {
    jsonKey: 'jsonKey',
    secretId: 'secretId',
  },
  clientSecretSource: 'clientSecretSource',
  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_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProvider.IncludedOauth2ProviderConfigInputProperty(
    client_id="clientId",

    # the properties below are optional
    authorization_endpoint="authorizationEndpoint",
    client_secret="clientSecret",
    client_secret_config=bedrockagentcore.CfnOAuth2CredentialProvider.SecretReferenceProperty(
        json_key="jsonKey",
        secret_id="secretId"
    ),
    client_secret_source="clientSecretSource",
    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.*;

IncludedOauth2ProviderConfigInputProperty includedOauth2ProviderConfigInputProperty = IncludedOauth2ProviderConfigInputProperty.builder()
        .clientId("clientId")

        // the properties below are optional
        .authorizationEndpoint("authorizationEndpoint")
        .clientSecret("clientSecret")
        .clientSecretConfig(SecretReferenceProperty.builder()
                .jsonKey("jsonKey")
                .secretId("secretId")
                .build())
        .clientSecretSource("clientSecretSource")
        .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 includedOauth2ProviderConfigInputProperty = new IncludedOauth2ProviderConfigInputProperty {
    ClientId = "clientId",

    // the properties below are optional
    AuthorizationEndpoint = "authorizationEndpoint",
    ClientSecret = "clientSecret",
    ClientSecretConfig = new SecretReferenceProperty {
        JsonKey = "jsonKey",
        SecretId = "secretId"
    },
    ClientSecretSource = "clientSecretSource",
    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"

includedOauth2ProviderConfigInputProperty := &IncludedOauth2ProviderConfigInputProperty{
	ClientId: jsii.String("clientId"),

	// the properties below are optional
	AuthorizationEndpoint: jsii.String("authorizationEndpoint"),
	ClientSecret: jsii.String("clientSecret"),
	ClientSecretConfig: &SecretReferenceProperty{
		JsonKey: jsii.String("jsonKey"),
		SecretId: jsii.String("secretId"),
	},
	ClientSecretSource: jsii.String("clientSecretSource"),
	Issuer: jsii.String("issuer"),
	TokenEndpoint: jsii.String("tokenEndpoint"),
}

Properties ​

authorizationEndpointoptionalstringauthorization_endpointoptionalstrauthorizationEndpointoptionalStringAuthorizationEndpointoptionalstringAuthorizationEndpointoptional*string #
OAuth2 authorization endpoint for your isolated OAuth2 application tenant.
clientIdstringclient_idstrclientIdStringClientIdstringClientId*string required #
clientSecretoptionalstringclient_secretoptionalstrclientSecretoptionalStringClientSecretoptionalstringClientSecretoptional*string #
clientSecretConfigoptionalIResolvable | CfnOAuth2CredentialProvider.SecretReferencePropertyclient_secret_configoptionaltyping.Union[IResolvable, SecretReferenceProperty]clientSecretConfigoptionalIResolvableClientSecretConfigoptionalIResolvableClientSecretConfigoptionalinterface{} #
A reference to a customer-provided secret stored in AWS Secrets Manager.
clientSecretSourceoptionalstringclient_secret_sourceoptionalstrclientSecretSourceoptionalStringClientSecretSourceoptionalstringClientSecretSourceoptional*string #
issueroptionalstringissueroptionalstrissueroptionalStringIssueroptionalstringIssueroptional*string #
Token issuer of your isolated OAuth2 application tenant.
tokenEndpointoptionalstringtoken_endpointoptionalstrtokenEndpointoptionalStringTokenEndpointoptionalstringTokenEndpointoptional*string #
OAuth2 token endpoint for your isolated OAuth2 application tenant.