AgentcoreGatewayTargetCredentialProviderConfigurationOauth constructor

const AgentcoreGatewayTargetCredentialProviderConfigurationOauth({
  1. Input<Map<String, String>?>? customParameters,
  2. Input<String?>? defaultReturnUrl,
  3. Input<String?>? grantType,
  4. required Input<String> providerArn,
  5. required Input<List<String>> scopes,
})

Creates a new AgentcoreGatewayTargetCredentialProviderConfigurationOauth. customParameters Map of custom parameters to include in OAuth requests. defaultReturnUrl The URL where the end user's browser is redirected after obtaining the authorization code. Required when grantType is AUTHORIZATION_CODE. grantType The OAuth grant type. Valid values: CLIENT_CREDENTIALS (machine-to-machine authentication), AUTHORIZATION_CODE (user-delegated access). providerArn ARN of the Oauth credential provider for OAuth authentication. scopes Set of OAuth scopes to request.

Implementation

const AgentcoreGatewayTargetCredentialProviderConfigurationOauth({
  this.customParameters,
  this.defaultReturnUrl,
  this.grantType,
  required this.providerArn,
  required this.scopes,
});