# SlackConnectorProfileCredentialsProperty

The connector-specific profile credentials required when using Slack.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const slackConnectorProfileCredentialsProperty: appflow.CfnConnectorProfile.SlackConnectorProfileCredentialsProperty = {
  clientId: 'clientId',
  clientSecret: 'clientSecret',

  // the properties below are optional
  accessToken: 'accessToken',
  connectorOAuthRequest: {
    authCode: 'authCode',
    redirectUri: 'redirectUri',
  },
};
```

## Properties

- `accessToken`: string — The credentials used to access protected Slack resources.

- `clientId`: string (required) — The identifier for the client.

- `clientSecret`: string (required) — The client secret used by the OAuth client to authenticate to the authorization server.

- `connectorOAuthRequest`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectorProfile.ConnectorOAuthRequestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty.html) — Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
