AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig constructor

const AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig({
  1. Input<int?>? clientCredentialsWoVersion,
  2. Input<String?>? clientId,
  3. Input<String?>? clientIdWo,
  4. Input<String?>? clientSecret,
  5. Input<String?>? clientSecretWo,
  6. Input<AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery?>? oauthDiscovery,
})

Creates a new AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig. clientCredentialsWoVersion Used together with write-only credentials to trigger an update. Increment this value when an update to clientIdWo or clientSecretWo is required. clientId OAuth2 client ID. Cannot be used with clientIdWo. Must be used together with clientSecret. clientIdWo NOTE: This field is write-only and its value will not be updated in state as part of read operations. clientSecret OAuth2 client secret. Cannot be used with clientSecretWo. Must be used together with clientId. clientSecretWo NOTE: This field is write-only and its value will not be updated in state as part of read operations. oauthDiscovery OAuth discovery configuration. See oauthDiscovery below.

Implementation

const AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig({
  this.clientCredentialsWoVersion,
  this.clientId,
  this.clientIdWo,
  this.clientSecret,
  this.clientSecretWo,
  this.oauthDiscovery,
});