Skip to content
v2.275.0

SlackConnectorProfileCredentialsProperty Struct ​

The connector-specific profile credentials required when using Slack.

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 ​

accessTokenoptionalstringaccess_tokenoptionalstraccessTokenoptionalStringAccessTokenoptionalstringAccessTokenoptional*string#
The credentials used to access protected Slack resources.
clientIdstringclient_idstrclientIdStringClientIdstringClientId*stringrequired#
The identifier for the client.
clientSecretstringclient_secretstrclientSecretStringClientSecretstringClientSecret*stringrequired#
The client secret used by the OAuth client to authenticate to the authorization server.
connectorOAuthRequestoptionalIResolvable | CfnConnectorProfile.ConnectorOAuthRequestPropertyconnector_o_auth_requestoptionaltyping.Union[IResolvable, ConnectorOAuthRequestProperty]connectorOAuthRequestoptionalIResolvableConnectorOAuthRequestoptionalIResolvableConnectorOAuthRequestoptionalinterface{}#
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.