# SlackOauth2ProviderConfigInputProperty

Input configuration for a Slack OAuth2 provider.

- Source: Generated at build time
- Type last changed: v2.260.0 · 16 Jun 2026

## Example

TypeScript:

```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 slackOauth2ProviderConfigInputProperty: bedrockagentcore.CfnOAuth2CredentialProvider.SlackOauth2ProviderConfigInputProperty = {
  clientId: 'clientId',

  // the properties below are optional
  clientSecret: 'clientSecret',
  clientSecretConfig: {
    jsonKey: 'jsonKey',
    secretId: 'secretId',
  },
  clientSecretSource: 'clientSecretSource',
};
```

Python:

```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

slack_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProvider.SlackOauth2ProviderConfigInputProperty(
    client_id="clientId",

    # the properties below are optional
    client_secret="clientSecret",
    client_secret_config=bedrockagentcore.CfnOAuth2CredentialProvider.SecretReferenceProperty(
        json_key="jsonKey",
        secret_id="secretId"
    ),
    client_secret_source="clientSecretSource"
)
```

Java:

```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.*;

SlackOauth2ProviderConfigInputProperty slackOauth2ProviderConfigInputProperty = SlackOauth2ProviderConfigInputProperty.builder()
        .clientId("clientId")

        // the properties below are optional
        .clientSecret("clientSecret")
        .clientSecretConfig(SecretReferenceProperty.builder()
                .jsonKey("jsonKey")
                .secretId("secretId")
                .build())
        .clientSecretSource("clientSecretSource")
        .build();
```

C# / .NET:

```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 slackOauth2ProviderConfigInputProperty = new SlackOauth2ProviderConfigInputProperty {
    ClientId = "clientId",

    // the properties below are optional
    ClientSecret = "clientSecret",
    ClientSecretConfig = new SecretReferenceProperty {
        JsonKey = "jsonKey",
        SecretId = "secretId"
    },
    ClientSecretSource = "clientSecretSource"
};
```

Golang:

```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"

slackOauth2ProviderConfigInputProperty := &SlackOauth2ProviderConfigInputProperty{
	ClientId: jsii.String("clientId"),

	// the properties below are optional
	ClientSecret: jsii.String("clientSecret"),
	ClientSecretConfig: &SecretReferenceProperty{
		JsonKey: jsii.String("jsonKey"),
		SecretId: jsii.String("secretId"),
	},
	ClientSecretSource: jsii.String("clientSecretSource"),
}
```

## Properties

- `clientId`: string (required)

- `clientSecret`: string

- `clientSecretConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOAuth2CredentialProvider.SecretReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnOAuth2CredentialProvider.SecretReferenceProperty.html) — A reference to a customer-provided secret stored in AWS Secrets Manager.

- `clientSecretSource`: string
