We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.64.0
published on Monday, May 11, 2026 by Pulumi
published on Monday, May 11, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.64.0
published on Monday, May 11, 2026 by Pulumi
published on Monday, May 11, 2026 by Pulumi
Resource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider
Using getOAuth2CredentialProvider
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOAuth2CredentialProvider(args: GetOAuth2CredentialProviderArgs, opts?: InvokeOptions): Promise<GetOAuth2CredentialProviderResult>
function getOAuth2CredentialProviderOutput(args: GetOAuth2CredentialProviderOutputArgs, opts?: InvokeOptions): Output<GetOAuth2CredentialProviderResult>def get_o_auth2_credential_provider(credential_provider_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOAuth2CredentialProviderResult
def get_o_auth2_credential_provider_output(credential_provider_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOAuth2CredentialProviderResult]func LookupOAuth2CredentialProvider(ctx *Context, args *LookupOAuth2CredentialProviderArgs, opts ...InvokeOption) (*LookupOAuth2CredentialProviderResult, error)
func LookupOAuth2CredentialProviderOutput(ctx *Context, args *LookupOAuth2CredentialProviderOutputArgs, opts ...InvokeOption) LookupOAuth2CredentialProviderResultOutput> Note: This function is named LookupOAuth2CredentialProvider in the Go SDK.
public static class GetOAuth2CredentialProvider
{
public static Task<GetOAuth2CredentialProviderResult> InvokeAsync(GetOAuth2CredentialProviderArgs args, InvokeOptions? opts = null)
public static Output<GetOAuth2CredentialProviderResult> Invoke(GetOAuth2CredentialProviderInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOAuth2CredentialProviderResult> getOAuth2CredentialProvider(GetOAuth2CredentialProviderArgs args, InvokeOptions options)
public static Output<GetOAuth2CredentialProviderResult> getOAuth2CredentialProvider(GetOAuth2CredentialProviderArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:bedrockagentcore:getOAuth2CredentialProvider
arguments:
# arguments dictionarydata "aws-native_bedrockagentcore_getoauth2credentialprovider" "name" {
# arguments
}The following arguments are supported:
- Credential
Provider stringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- Credential
Provider stringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- credential_
provider_ stringarn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- credential
Provider StringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- credential
Provider stringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- credential_
provider_ strarn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- credential
Provider StringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
getOAuth2CredentialProvider Result
The following output properties are available:
- Callback
Url string - The callback URL for the OAuth2 authorization flow
- Client
Secret Pulumi.Arn Aws Native. Bedrock Agent Core. Outputs. OAuth2Credential Provider Client Secret Arn - The ARN of the client secret in AWS Secrets Manager
- Created
Time string - The timestamp when the credential provider was created
- Credential
Provider stringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- Last
Updated stringTime - The timestamp when the credential provider was last updated
- Oauth2Provider
Config Pulumi.Output Aws Native. Bedrock Agent Core. Outputs. OAuth2Credential Provider Oauth2Provider Config Output - The output configuration for the OAuth2 provider
-
List<Pulumi.
Aws Native. Outputs. Tag> - Tags to assign to the OAuth2 credential provider
- Callback
Url string - The callback URL for the OAuth2 authorization flow
- Client
Secret OAuth2CredentialArn Provider Client Secret Arn - The ARN of the client secret in AWS Secrets Manager
- Created
Time string - The timestamp when the credential provider was created
- Credential
Provider stringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- Last
Updated stringTime - The timestamp when the credential provider was last updated
- Oauth2Provider
Config OAuth2CredentialOutput Provider Oauth2Provider Config Output - The output configuration for the OAuth2 provider
- Tag
- Tags to assign to the OAuth2 credential provider
- callback_
url string - The callback URL for the OAuth2 authorization flow
- client_
secret_ objectarn - The ARN of the client secret in AWS Secrets Manager
- created_
time string - The timestamp when the credential provider was created
- credential_
provider_ stringarn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- last_
updated_ stringtime - The timestamp when the credential provider was last updated
- oauth2_
provider_ objectconfig_ output - The output configuration for the OAuth2 provider
- list(object)
- Tags to assign to the OAuth2 credential provider
- callback
Url String - The callback URL for the OAuth2 authorization flow
- client
Secret OAuth2CredentialArn Provider Client Secret Arn - The ARN of the client secret in AWS Secrets Manager
- created
Time String - The timestamp when the credential provider was created
- credential
Provider StringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- last
Updated StringTime - The timestamp when the credential provider was last updated
- oauth2Provider
Config OAuth2CredentialOutput Provider Oauth2Provider Config Output - The output configuration for the OAuth2 provider
- List<Tag>
- Tags to assign to the OAuth2 credential provider
- callback
Url string - The callback URL for the OAuth2 authorization flow
- client
Secret OAuth2CredentialArn Provider Client Secret Arn - The ARN of the client secret in AWS Secrets Manager
- created
Time string - The timestamp when the credential provider was created
- credential
Provider stringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- last
Updated stringTime - The timestamp when the credential provider was last updated
- oauth2Provider
Config OAuth2CredentialOutput Provider Oauth2Provider Config Output - The output configuration for the OAuth2 provider
- Tag[]
- Tags to assign to the OAuth2 credential provider
- callback_
url str - The callback URL for the OAuth2 authorization flow
- client_
secret_ OAuth2Credentialarn Provider Client Secret Arn - The ARN of the client secret in AWS Secrets Manager
- created_
time str - The timestamp when the credential provider was created
- credential_
provider_ strarn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- last_
updated_ strtime - The timestamp when the credential provider was last updated
- oauth2_
provider_ OAuth2Credentialconfig_ output Provider Oauth2Provider Config Output - The output configuration for the OAuth2 provider
- Sequence[root_Tag]
- Tags to assign to the OAuth2 credential provider
- callback
Url String - The callback URL for the OAuth2 authorization flow
- client
Secret Property MapArn - The ARN of the client secret in AWS Secrets Manager
- created
Time String - The timestamp when the credential provider was created
- credential
Provider StringArn - The Amazon Resource Name (ARN) of the OAuth2 credential provider
- last
Updated StringTime - The timestamp when the credential provider was last updated
- oauth2Provider
Config Property MapOutput - The output configuration for the OAuth2 provider
- List<Property Map>
- Tags to assign to the OAuth2 credential provider
Supporting Types
OAuth2CredentialProviderClientSecretArn
- Secret
Arn string - The ARN of the secret in AWS Secrets Manager
- Secret
Arn string - The ARN of the secret in AWS Secrets Manager
- secret_
arn string - The ARN of the secret in AWS Secrets Manager
- secret
Arn String - The ARN of the secret in AWS Secrets Manager
- secret
Arn string - The ARN of the secret in AWS Secrets Manager
- secret_
arn str - The ARN of the secret in AWS Secrets Manager
- secret
Arn String - The ARN of the secret in AWS Secrets Manager
OAuth2CredentialProviderOauth2AuthorizationServerMetadata
- string
- The authorization endpoint URL
- Issuer string
- The issuer URL for the OAuth2 authorization server
- Token
Endpoint string - The token endpoint URL
- Response
Types List<string> - The supported response types
- string
- The authorization endpoint URL
- Issuer string
- The issuer URL for the OAuth2 authorization server
- Token
Endpoint string - The token endpoint URL
- Response
Types []string - The supported response types
- string
- The authorization endpoint URL
- issuer string
- The issuer URL for the OAuth2 authorization server
- token_
endpoint string - The token endpoint URL
- response_
types list(string) - The supported response types
- String
- The authorization endpoint URL
- issuer String
- The issuer URL for the OAuth2 authorization server
- token
Endpoint String - The token endpoint URL
- response
Types List<String> - The supported response types
- string
- The authorization endpoint URL
- issuer string
- The issuer URL for the OAuth2 authorization server
- token
Endpoint string - The token endpoint URL
- response
Types string[] - The supported response types
- str
- The authorization endpoint URL
- issuer str
- The issuer URL for the OAuth2 authorization server
- token_
endpoint str - The token endpoint URL
- response_
types Sequence[str] - The supported response types
- String
- The authorization endpoint URL
- issuer String
- The issuer URL for the OAuth2 authorization server
- token
Endpoint String - The token endpoint URL
- response
Types List<String> - The supported response types
OAuth2CredentialProviderOauth2Discovery
-
Pulumi.
Aws Native. Bedrock Agent Core. Inputs. OAuth2Credential Provider Oauth2Authorization Server Metadata - Discovery
Url string - The discovery URL for the OAuth2 provider
-
OAuth2Credential
Provider Oauth2Authorization Server Metadata - Discovery
Url string - The discovery URL for the OAuth2 provider
- object
- discovery_
url string - The discovery URL for the OAuth2 provider
-
OAuth2Credential
Provider Oauth2Authorization Server Metadata - discovery
Url String - The discovery URL for the OAuth2 provider
-
OAuth2Credential
Provider Oauth2Authorization Server Metadata - discovery
Url string - The discovery URL for the OAuth2 provider
-
OAuth2Credential
Provider Oauth2Authorization Server Metadata - discovery_
url str - The discovery URL for the OAuth2 provider
- Property Map
- discovery
Url String - The discovery URL for the OAuth2 provider
OAuth2CredentialProviderOauth2ProviderConfigOutput
OAuth2CredentialProviderOnBehalfOfTokenExchangeConfig
- Grant
Type OAuth2CredentialProvider On Behalf Of Token Exchange Config Grant Type - The grant type for on-behalf-of token exchange
- Token
Exchange OAuth2CredentialGrant Type Config Provider Token Exchange Grant Type Config
- grant_
type "TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT" - The grant type for on-behalf-of token exchange
- token_
exchange_ objectgrant_ type_ config
- grant
Type OAuth2CredentialProvider On Behalf Of Token Exchange Config Grant Type - The grant type for on-behalf-of token exchange
- token
Exchange OAuth2CredentialGrant Type Config Provider Token Exchange Grant Type Config
- grant
Type OAuth2CredentialProvider On Behalf Of Token Exchange Config Grant Type - The grant type for on-behalf-of token exchange
- token
Exchange OAuth2CredentialGrant Type Config Provider Token Exchange Grant Type Config
- grant_
type OAuth2CredentialProvider On Behalf Of Token Exchange Config Grant Type - The grant type for on-behalf-of token exchange
- token_
exchange_ OAuth2Credentialgrant_ type_ config Provider Token Exchange Grant Type Config
- grant
Type "TOKEN_EXCHANGE" | "JWT_AUTHORIZATION_GRANT" - The grant type for on-behalf-of token exchange
- token
Exchange Property MapGrant Type Config
OAuth2CredentialProviderOnBehalfOfTokenExchangeConfigGrantType
OAuth2CredentialProviderTokenExchangeGrantTypeConfig
- Actor
Token Pulumi.Content Aws Native. Bedrock Agent Core. OAuth2Credential Provider Token Exchange Grant Type Config Actor Token Content - The actor token content type
- Actor
Token List<string>Scopes - The actor token scopes. Only valid when ActorTokenContent is M2M.
- Actor
Token OAuth2CredentialContent Provider Token Exchange Grant Type Config Actor Token Content - The actor token content type
- Actor
Token []stringScopes - The actor token scopes. Only valid when ActorTokenContent is M2M.
- actor_
token_ "NONE" | "M2M" | "AWS_IAM_ID_TOKEN_JWT"content - The actor token content type
- actor_
token_ list(string)scopes - The actor token scopes. Only valid when ActorTokenContent is M2M.
- actor
Token OAuth2CredentialContent Provider Token Exchange Grant Type Config Actor Token Content - The actor token content type
- actor
Token List<String>Scopes - The actor token scopes. Only valid when ActorTokenContent is M2M.
- actor
Token OAuth2CredentialContent Provider Token Exchange Grant Type Config Actor Token Content - The actor token content type
- actor
Token string[]Scopes - The actor token scopes. Only valid when ActorTokenContent is M2M.
- actor_
token_ OAuth2Credentialcontent Provider Token Exchange Grant Type Config Actor Token Content - The actor token content type
- actor_
token_ Sequence[str]scopes - The actor token scopes. Only valid when ActorTokenContent is M2M.
- actor
Token "NONE" | "M2M" | "AWS_IAM_ID_TOKEN_JWT"Content - The actor token content type
- actor
Token List<String>Scopes - The actor token scopes. Only valid when ActorTokenContent is M2M.
OAuth2CredentialProviderTokenExchangeGrantTypeConfigActorTokenContent
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.64.0
published on Monday, May 11, 2026 by Pulumi
published on Monday, May 11, 2026 by Pulumi
