UNPKG

@cdklabs/cdk-appflow

Version:

*Note:* this library is currently in technical preview.

21 lines (20 loc) 1.2 kB
import { SecretValue } from "aws-cdk-lib"; import { CfnConnectorProfile } from "aws-cdk-lib/aws-appflow"; import { Construct } from "constructs"; import { ConnectorProfileBase, ConnectorProfileProps } from "../core/connectors/connector-profile"; export interface ZendeskConnectorProfileProps extends ConnectorProfileProps { readonly oAuth: ZendeskOAuthSettings; readonly instanceUrl: string; } export interface ZendeskOAuthSettings { readonly accessToken?: SecretValue; readonly clientId: SecretValue; readonly clientSecret: SecretValue; } export declare class ZendeskConnectorProfile extends ConnectorProfileBase { static fromConnectionProfileArn(scope: Construct, id: string, arn: string): ZendeskConnectorProfile; static fromConnectionProfileName(scope: Construct, id: string, name: string): ZendeskConnectorProfile; constructor(scope: Construct, id: string, props: ZendeskConnectorProfileProps); protected buildConnectorProfileProperties(props: ConnectorProfileProps): CfnConnectorProfile.ConnectorProfilePropertiesProperty; protected buildConnectorProfileCredentials(props: ConnectorProfileProps): CfnConnectorProfile.ConnectorProfileCredentialsProperty; }