aws-cdk-lib.aws_appflow.CfnConnectorProfile.SlackConnectorProfileCredentialsProperty

interface SlackConnectorProfileCredentialsProperty

LanguageType name
.NETAmazon.CDK.AWS.AppFlow.CfnConnectorProfile.SlackConnectorProfileCredentialsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnConnectorProfile_SlackConnectorProfileCredentialsProperty
Javasoftware.amazon.awscdk.services.appflow.CfnConnectorProfile.SlackConnectorProfileCredentialsProperty
Pythonaws_cdk.aws_appflow.CfnConnectorProfile.SlackConnectorProfileCredentialsProperty
TypeScript aws-cdk-lib » aws_appflow » CfnConnectorProfile » SlackConnectorProfileCredentialsProperty

The connector-specific profile credentials required when using Slack.

Example

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

NameTypeDescription
clientIdstringThe identifier for the client.
clientSecretstringThe client secret used by the OAuth client to authenticate to the authorization server.
accessToken?stringThe credentials used to access protected Slack resources.
connectorOAuthRequest?IResolvable | ConnectorOAuthRequestPropertyUsed by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.

clientId

Type: string

The identifier for the client.


clientSecret

Type: string

The client secret used by the OAuth client to authenticate to the authorization server.


accessToken?

Type: string (optional)

The credentials used to access protected Slack resources.


connectorOAuthRequest?

Type: IResolvable | ConnectorOAuthRequestProperty (optional)

Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.