interface SlackOAuth2CredentialProviderProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.SlackOAuth2CredentialProviderProps |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#SlackOAuth2CredentialProviderProps |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.SlackOAuth2CredentialProviderProps |
Python | aws_cdk.aws_bedrock_agentcore_alpha.SlackOAuth2CredentialProviderProps |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป SlackOAuth2CredentialProviderProps |
Implements
OAuth2, OAuth2, OAuth2
Props for {@link OAuth2CredentialProvider.usingSlack}.
Example
// 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';
import * as cdk from 'aws-cdk-lib';
declare const secretValue: cdk.SecretValue;
const slackOAuth2CredentialProviderProps: bedrock_agentcore_alpha.SlackOAuth2CredentialProviderProps = {
clientId: 'clientId',
clientSecret: secretValue,
// the properties below are optional
oAuth2CredentialProviderName: 'oAuth2CredentialProviderName',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| client | string | OAuth2 client identifier. |
| client | Secret | OAuth2 client secret. |
| o | string | Name of the credential provider. |
| tags? | { [string]: string } | Tags for this credential provider. |
clientId
Type:
string
OAuth2 client identifier.
clientSecret
Type:
Secret
OAuth2 client secret.
NOTE: The client secret will be included in the CloudFormation template as part of synthesis.
The service stores the secret in Secrets Manager after creation, but the value is visible
in the template and deployment history. Use SecretValue.unsafePlainText() to explicitly
acknowledge plaintext, or pass a reference from another construct to avoid embedding the
literal value.
oAuth2CredentialProviderName?
Type:
string
(optional, default: a name generated by CDK)
Name of the credential provider.
tags?
Type:
{ [string]: string }
(optional, default: no tags)
Tags for this credential provider.

.NET
Go
Java
Python
TypeScript (