# CfnConnectorProfile

The `AWS::AppFlow::ConnectorProfile` resource is an Amazon AppFlow resource type that specifies the configuration profile for an instance of a connector.

This includes the provided name, credentials ARN, connection-mode, and so on. The fields that are common to all types of connector profiles are explicitly specified under the `Properties` field. The rest of the connector-specific properties are specified under `Properties/ConnectorProfileConfig` .

> If you want to use CloudFormation to create a connector profile for connectors that implement OAuth (such as Salesforce, Slack, Zendesk, and Google Analytics), you must fetch the access and refresh tokens. You can do this by implementing your own UI for OAuth, or by retrieving the tokens from elsewhere. Alternatively, you can use the Amazon AppFlow console to create the connector profile, and then use that connector profile in the flow creation CloudFormation template.

Extends: [Construct](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.Construct.html) › [CfnElement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnElement.html) › [CfnRefElement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnRefElement.html) › [CfnResource](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnResource.html) › CfnConnectorProfile
Implements: [IInspectable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IInspectable.html), [IEnvironmentAware](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.IEnvironmentAware.html), [IConnectorProfileRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_appflow.IConnectorProfileRef.html), [IConstruct](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.IConstruct.html), IDependable

- CloudFormation: [`AWS::AppFlow::ConnectorProfile`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-appflow-connectorprofile.html)
- Source: Generated at build time
- Type last changed: v2.252.0 · 30 Apr 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_appflow as appflow } from 'aws-cdk-lib';
const cfnConnectorProfile = new appflow.CfnConnectorProfile(this, 'MyCfnConnectorProfile', {
  connectionMode: 'connectionMode',
  connectorProfileName: 'connectorProfileName',
  connectorType: 'connectorType',

  // the properties below are optional
  connectorLabel: 'connectorLabel',
  connectorProfileConfig: {
    connectorProfileCredentials: {
      amplitude: {
        apiKey: 'apiKey',
        secretKey: 'secretKey',
      },
      customConnector: {
        authenticationType: 'authenticationType',

        // the properties below are optional
        apiKey: {
          apiKey: 'apiKey',

          // the properties below are optional
          apiSecretKey: 'apiSecretKey',
        },
        basic: {
          password: 'password',
          username: 'username',
        },
        custom: {
          customAuthenticationType: 'customAuthenticationType',

          // the properties below are optional
          credentialsMap: {
            credentialsMapKey: 'credentialsMap',
          },
        },
        oauth2: {
          accessToken: 'accessToken',
          clientId: 'clientId',
          clientSecret: 'clientSecret',
          oAuthRequest: {
            authCode: 'authCode',
            redirectUri: 'redirectUri',
          },
          refreshToken: 'refreshToken',
        },
      },
      datadog: {
        apiKey: 'apiKey',
        applicationKey: 'applicationKey',
      },
      dynatrace: {
        apiToken: 'apiToken',
      },
      googleAnalytics: {
        clientId: 'clientId',
        clientSecret: 'clientSecret',

        // the properties below are optional
        accessToken: 'accessToken',
        connectorOAuthRequest: {
          authCode: 'authCode',
          redirectUri: 'redirectUri',
        },
        refreshToken: 'refreshToken',
      },
      inforNexus: {
        accessKeyId: 'accessKeyId',
        datakey: 'datakey',
        secretAccessKey: 'secretAccessKey',
        userId: 'userId',
      },
      marketo: {
        clientId: 'clientId',
        clientSecret: 'clientSecret',

        // the properties below are optional
        accessToken: 'accessToken',
        connectorOAuthRequest: {
          authCode: 'authCode',
          redirectUri: 'redirectUri',
        },
      },
      pardot: {
        accessToken: 'accessToken',
        clientCredentialsArn: 'clientCredentialsArn',
        connectorOAuthRequest: {
          authCode: 'authCode',
          redirectUri: 'redirectUri',
        },
        refreshToken: 'refreshToken',
      },
      redshift: {
        password: 'password',
        username: 'username',
      },
      salesforce: {
        accessToken: 'accessToken',
        clientCredentialsArn: 'clientCredentialsArn',
        connectorOAuthRequest: {
          authCode: 'authCode',
          redirectUri: 'redirectUri',
        },
        jwtToken: 'jwtToken',
        oAuth2GrantType: 'oAuth2GrantType',
        refreshToken: 'refreshToken',
      },
      sapoData: {
        basicAuthCredentials: {
          password: 'password',
          username: 'username',
        },
        oAuthCredentials: {
          accessToken: 'accessToken',
          clientId: 'clientId',
          clientSecret: 'clientSecret',
          connectorOAuthRequest: {
            authCode: 'authCode',
            redirectUri: 'redirectUri',
          },
          refreshToken: 'refreshToken',
        },
      },
      serviceNow: {
        oAuth2Credentials: {
          accessToken: 'accessToken',
          clientId: 'clientId',
          clientSecret: 'clientSecret',
          oAuthRequest: {
            authCode: 'authCode',
            redirectUri: 'redirectUri',
          },
          refreshToken: 'refreshToken',
        },
        password: 'password',
        username: 'username',
      },
      singular: {
        apiKey: 'apiKey',
      },
      slack: {
        clientId: 'clientId',
        clientSecret: 'clientSecret',

        // the properties below are optional
        accessToken: 'accessToken',
        connectorOAuthRequest: {
          authCode: 'authCode',
          redirectUri: 'redirectUri',
        },
      },
      snowflake: {
        password: 'password',
        username: 'username',
      },
      trendmicro: {
        apiSecretKey: 'apiSecretKey',
      },
      veeva: {
        password: 'password',
        username: 'username',
      },
      zendesk: {
        clientId: 'clientId',
        clientSecret: 'clientSecret',

        // the properties below are optional
        accessToken: 'accessToken',
        connectorOAuthRequest: {
          authCode: 'authCode',
          redirectUri: 'redirectUri',
        },
      },
    },
    connectorProfileProperties: {
      customConnector: {
        oAuth2Properties: {
          oAuth2GrantType: 'oAuth2GrantType',
          tokenUrl: 'tokenUrl',
          tokenUrlCustomProperties: {
            tokenUrlCustomPropertiesKey: 'tokenUrlCustomProperties',
          },
        },
        profileProperties: {
          profilePropertiesKey: 'profileProperties',
        },
      },
      datadog: {
        instanceUrl: 'instanceUrl',
      },
      dynatrace: {
        instanceUrl: 'instanceUrl',
      },
      inforNexus: {
        instanceUrl: 'instanceUrl',
      },
      marketo: {
        instanceUrl: 'instanceUrl',
      },
      pardot: {
        businessUnitId: 'businessUnitId',

        // the properties below are optional
        instanceUrl: 'instanceUrl',
        isSandboxEnvironment: false,
      },
      redshift: {
        bucketName: 'bucketName',
        roleArn: 'roleArn',

        // the properties below are optional
        bucketPrefix: 'bucketPrefix',
        clusterIdentifier: 'clusterIdentifier',
        dataApiRoleArn: 'dataApiRoleArn',
        databaseName: 'databaseName',
        databaseUrl: 'databaseUrl',
        isRedshiftServerless: false,
        workgroupName: 'workgroupName',
      },
      salesforce: {
        instanceUrl: 'instanceUrl',
        isSandboxEnvironment: false,
        usePrivateLinkForMetadataAndAuthorization: false,
      },
      sapoData: {
        applicationHostUrl: 'applicationHostUrl',
        applicationServicePath: 'applicationServicePath',
        clientNumber: 'clientNumber',
        disableSso: false,
        logonLanguage: 'logonLanguage',
        oAuthProperties: {
          authCodeUrl: 'authCodeUrl',
          oAuthScopes: ['oAuthScopes'],
          tokenUrl: 'tokenUrl',
        },
        portNumber: 123,
        privateLinkServiceName: 'privateLinkServiceName',
      },
      serviceNow: {
        instanceUrl: 'instanceUrl',
      },
      slack: {
        instanceUrl: 'instanceUrl',
      },
      snowflake: {
        bucketName: 'bucketName',
        stage: 'stage',
        warehouse: 'warehouse',

        // the properties below are optional
        accountName: 'accountName',
        bucketPrefix: 'bucketPrefix',
        privateLinkServiceName: 'privateLinkServiceName',
        region: 'region',
      },
      veeva: {
        instanceUrl: 'instanceUrl',
      },
      zendesk: {
        instanceUrl: 'instanceUrl',
      },
    },
  },
  kmsArn: 'kmsArn',
});
```

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_appflow as appflow

cfn_connector_profile = appflow.CfnConnectorProfile(self, "MyCfnConnectorProfile",
    connection_mode="connectionMode",
    connector_profile_name="connectorProfileName",
    connector_type="connectorType",

    # the properties below are optional
    connector_label="connectorLabel",
    connector_profile_config=appflow.CfnConnectorProfile.ConnectorProfileConfigProperty(
        connector_profile_credentials=appflow.CfnConnectorProfile.ConnectorProfileCredentialsProperty(
            amplitude=appflow.CfnConnectorProfile.AmplitudeConnectorProfileCredentialsProperty(
                api_key="apiKey",
                secret_key="secretKey"
            ),
            custom_connector=appflow.CfnConnectorProfile.CustomConnectorProfileCredentialsProperty(
                authentication_type="authenticationType",

                # the properties below are optional
                api_key=appflow.CfnConnectorProfile.ApiKeyCredentialsProperty(
                    api_key="apiKey",

                    # the properties below are optional
                    api_secret_key="apiSecretKey"
                ),
                basic=appflow.CfnConnectorProfile.BasicAuthCredentialsProperty(
                    password="password",
                    username="username"
                ),
                custom=appflow.CfnConnectorProfile.CustomAuthCredentialsProperty(
                    custom_authentication_type="customAuthenticationType",

                    # the properties below are optional
                    credentials_map={
                        "credentials_map_key": "credentialsMap"
                    }
                ),
                oauth2=appflow.CfnConnectorProfile.OAuth2CredentialsProperty(
                    access_token="accessToken",
                    client_id="clientId",
                    client_secret="clientSecret",
                    o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                        auth_code="authCode",
                        redirect_uri="redirectUri"
                    ),
                    refresh_token="refreshToken"
                )
            ),
            datadog=appflow.CfnConnectorProfile.DatadogConnectorProfileCredentialsProperty(
                api_key="apiKey",
                application_key="applicationKey"
            ),
            dynatrace=appflow.CfnConnectorProfile.DynatraceConnectorProfileCredentialsProperty(
                api_token="apiToken"
            ),
            google_analytics=appflow.CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty(
                client_id="clientId",
                client_secret="clientSecret",

                # the properties below are optional
                access_token="accessToken",
                connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                    auth_code="authCode",
                    redirect_uri="redirectUri"
                ),
                refresh_token="refreshToken"
            ),
            infor_nexus=appflow.CfnConnectorProfile.InforNexusConnectorProfileCredentialsProperty(
                access_key_id="accessKeyId",
                datakey="datakey",
                secret_access_key="secretAccessKey",
                user_id="userId"
            ),
            marketo=appflow.CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty(
                client_id="clientId",
                client_secret="clientSecret",

                # the properties below are optional
                access_token="accessToken",
                connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                    auth_code="authCode",
                    redirect_uri="redirectUri"
                )
            ),
            pardot=appflow.CfnConnectorProfile.PardotConnectorProfileCredentialsProperty(
                access_token="accessToken",
                client_credentials_arn="clientCredentialsArn",
                connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                    auth_code="authCode",
                    redirect_uri="redirectUri"
                ),
                refresh_token="refreshToken"
            ),
            redshift=appflow.CfnConnectorProfile.RedshiftConnectorProfileCredentialsProperty(
                password="password",
                username="username"
            ),
            salesforce=appflow.CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty(
                access_token="accessToken",
                client_credentials_arn="clientCredentialsArn",
                connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                    auth_code="authCode",
                    redirect_uri="redirectUri"
                ),
                jwt_token="jwtToken",
                o_auth2_grant_type="oAuth2GrantType",
                refresh_token="refreshToken"
            ),
            sapo_data=appflow.CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty(
                basic_auth_credentials=appflow.CfnConnectorProfile.BasicAuthCredentialsProperty(
                    password="password",
                    username="username"
                ),
                o_auth_credentials=appflow.CfnConnectorProfile.OAuthCredentialsProperty(
                    access_token="accessToken",
                    client_id="clientId",
                    client_secret="clientSecret",
                    connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                        auth_code="authCode",
                        redirect_uri="redirectUri"
                    ),
                    refresh_token="refreshToken"
                )
            ),
            service_now=appflow.CfnConnectorProfile.ServiceNowConnectorProfileCredentialsProperty(
                o_auth2_credentials=appflow.CfnConnectorProfile.OAuth2CredentialsProperty(
                    access_token="accessToken",
                    client_id="clientId",
                    client_secret="clientSecret",
                    o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                        auth_code="authCode",
                        redirect_uri="redirectUri"
                    ),
                    refresh_token="refreshToken"
                ),
                password="password",
                username="username"
            ),
            singular=appflow.CfnConnectorProfile.SingularConnectorProfileCredentialsProperty(
                api_key="apiKey"
            ),
            slack=appflow.CfnConnectorProfile.SlackConnectorProfileCredentialsProperty(
                client_id="clientId",
                client_secret="clientSecret",

                # the properties below are optional
                access_token="accessToken",
                connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                    auth_code="authCode",
                    redirect_uri="redirectUri"
                )
            ),
            snowflake=appflow.CfnConnectorProfile.SnowflakeConnectorProfileCredentialsProperty(
                password="password",
                username="username"
            ),
            trendmicro=appflow.CfnConnectorProfile.TrendmicroConnectorProfileCredentialsProperty(
                api_secret_key="apiSecretKey"
            ),
            veeva=appflow.CfnConnectorProfile.VeevaConnectorProfileCredentialsProperty(
                password="password",
                username="username"
            ),
            zendesk=appflow.CfnConnectorProfile.ZendeskConnectorProfileCredentialsProperty(
                client_id="clientId",
                client_secret="clientSecret",

                # the properties below are optional
                access_token="accessToken",
                connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
                    auth_code="authCode",
                    redirect_uri="redirectUri"
                )
            )
        ),
        connector_profile_properties=appflow.CfnConnectorProfile.ConnectorProfilePropertiesProperty(
            custom_connector=appflow.CfnConnectorProfile.CustomConnectorProfilePropertiesProperty(
                o_auth2_properties=appflow.CfnConnectorProfile.OAuth2PropertiesProperty(
                    o_auth2_grant_type="oAuth2GrantType",
                    token_url="tokenUrl",
                    token_url_custom_properties={
                        "token_url_custom_properties_key": "tokenUrlCustomProperties"
                    }
                ),
                profile_properties={
                    "profile_properties_key": "profileProperties"
                }
            ),
            datadog=appflow.CfnConnectorProfile.DatadogConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            ),
            dynatrace=appflow.CfnConnectorProfile.DynatraceConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            ),
            infor_nexus=appflow.CfnConnectorProfile.InforNexusConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            ),
            marketo=appflow.CfnConnectorProfile.MarketoConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            ),
            pardot=appflow.CfnConnectorProfile.PardotConnectorProfilePropertiesProperty(
                business_unit_id="businessUnitId",

                # the properties below are optional
                instance_url="instanceUrl",
                is_sandbox_environment=False
            ),
            redshift=appflow.CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty(
                bucket_name="bucketName",
                role_arn="roleArn",

                # the properties below are optional
                bucket_prefix="bucketPrefix",
                cluster_identifier="clusterIdentifier",
                data_api_role_arn="dataApiRoleArn",
                database_name="databaseName",
                database_url="databaseUrl",
                is_redshift_serverless=False,
                workgroup_name="workgroupName"
            ),
            salesforce=appflow.CfnConnectorProfile.SalesforceConnectorProfilePropertiesProperty(
                instance_url="instanceUrl",
                is_sandbox_environment=False,
                use_private_link_for_metadata_and_authorization=False
            ),
            sapo_data=appflow.CfnConnectorProfile.SAPODataConnectorProfilePropertiesProperty(
                application_host_url="applicationHostUrl",
                application_service_path="applicationServicePath",
                client_number="clientNumber",
                disable_sso=False,
                logon_language="logonLanguage",
                o_auth_properties=appflow.CfnConnectorProfile.OAuthPropertiesProperty(
                    auth_code_url="authCodeUrl",
                    o_auth_scopes=["oAuthScopes"],
                    token_url="tokenUrl"
                ),
                port_number=123,
                private_link_service_name="privateLinkServiceName"
            ),
            service_now=appflow.CfnConnectorProfile.ServiceNowConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            ),
            slack=appflow.CfnConnectorProfile.SlackConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            ),
            snowflake=appflow.CfnConnectorProfile.SnowflakeConnectorProfilePropertiesProperty(
                bucket_name="bucketName",
                stage="stage",
                warehouse="warehouse",

                # the properties below are optional
                account_name="accountName",
                bucket_prefix="bucketPrefix",
                private_link_service_name="privateLinkServiceName",
                region="region"
            ),
            veeva=appflow.CfnConnectorProfile.VeevaConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            ),
            zendesk=appflow.CfnConnectorProfile.ZendeskConnectorProfilePropertiesProperty(
                instance_url="instanceUrl"
            )
        )
    ),
    kms_arn="kmsArn"
)
```

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

CfnConnectorProfile cfnConnectorProfile = CfnConnectorProfile.Builder.create(this, "MyCfnConnectorProfile")
        .connectionMode("connectionMode")
        .connectorProfileName("connectorProfileName")
        .connectorType("connectorType")

        // the properties below are optional
        .connectorLabel("connectorLabel")
        .connectorProfileConfig(ConnectorProfileConfigProperty.builder()
                .connectorProfileCredentials(ConnectorProfileCredentialsProperty.builder()
                        .amplitude(AmplitudeConnectorProfileCredentialsProperty.builder()
                                .apiKey("apiKey")
                                .secretKey("secretKey")
                                .build())
                        .customConnector(CustomConnectorProfileCredentialsProperty.builder()
                                .authenticationType("authenticationType")

                                // the properties below are optional
                                .apiKey(ApiKeyCredentialsProperty.builder()
                                        .apiKey("apiKey")

                                        // the properties below are optional
                                        .apiSecretKey("apiSecretKey")
                                        .build())
                                .basic(BasicAuthCredentialsProperty.builder()
                                        .password("password")
                                        .username("username")
                                        .build())
                                .custom(CustomAuthCredentialsProperty.builder()
                                        .customAuthenticationType("customAuthenticationType")

                                        // the properties below are optional
                                        .credentialsMap(Map.of(
                                                "credentialsMapKey", "credentialsMap"))
                                        .build())
                                .oauth2(OAuth2CredentialsProperty.builder()
                                        .accessToken("accessToken")
                                        .clientId("clientId")
                                        .clientSecret("clientSecret")
                                        .oAuthRequest(ConnectorOAuthRequestProperty.builder()
                                                .authCode("authCode")
                                                .redirectUri("redirectUri")
                                                .build())
                                        .refreshToken("refreshToken")
                                        .build())
                                .build())
                        .datadog(DatadogConnectorProfileCredentialsProperty.builder()
                                .apiKey("apiKey")
                                .applicationKey("applicationKey")
                                .build())
                        .dynatrace(DynatraceConnectorProfileCredentialsProperty.builder()
                                .apiToken("apiToken")
                                .build())
                        .googleAnalytics(GoogleAnalyticsConnectorProfileCredentialsProperty.builder()
                                .clientId("clientId")
                                .clientSecret("clientSecret")

                                // the properties below are optional
                                .accessToken("accessToken")
                                .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                                        .authCode("authCode")
                                        .redirectUri("redirectUri")
                                        .build())
                                .refreshToken("refreshToken")
                                .build())
                        .inforNexus(InforNexusConnectorProfileCredentialsProperty.builder()
                                .accessKeyId("accessKeyId")
                                .datakey("datakey")
                                .secretAccessKey("secretAccessKey")
                                .userId("userId")
                                .build())
                        .marketo(MarketoConnectorProfileCredentialsProperty.builder()
                                .clientId("clientId")
                                .clientSecret("clientSecret")

                                // the properties below are optional
                                .accessToken("accessToken")
                                .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                                        .authCode("authCode")
                                        .redirectUri("redirectUri")
                                        .build())
                                .build())
                        .pardot(PardotConnectorProfileCredentialsProperty.builder()
                                .accessToken("accessToken")
                                .clientCredentialsArn("clientCredentialsArn")
                                .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                                        .authCode("authCode")
                                        .redirectUri("redirectUri")
                                        .build())
                                .refreshToken("refreshToken")
                                .build())
                        .redshift(RedshiftConnectorProfileCredentialsProperty.builder()
                                .password("password")
                                .username("username")
                                .build())
                        .salesforce(SalesforceConnectorProfileCredentialsProperty.builder()
                                .accessToken("accessToken")
                                .clientCredentialsArn("clientCredentialsArn")
                                .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                                        .authCode("authCode")
                                        .redirectUri("redirectUri")
                                        .build())
                                .jwtToken("jwtToken")
                                .oAuth2GrantType("oAuth2GrantType")
                                .refreshToken("refreshToken")
                                .build())
                        .sapoData(SAPODataConnectorProfileCredentialsProperty.builder()
                                .basicAuthCredentials(BasicAuthCredentialsProperty.builder()
                                        .password("password")
                                        .username("username")
                                        .build())
                                .oAuthCredentials(OAuthCredentialsProperty.builder()
                                        .accessToken("accessToken")
                                        .clientId("clientId")
                                        .clientSecret("clientSecret")
                                        .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                                                .authCode("authCode")
                                                .redirectUri("redirectUri")
                                                .build())
                                        .refreshToken("refreshToken")
                                        .build())
                                .build())
                        .serviceNow(ServiceNowConnectorProfileCredentialsProperty.builder()
                                .oAuth2Credentials(OAuth2CredentialsProperty.builder()
                                        .accessToken("accessToken")
                                        .clientId("clientId")
                                        .clientSecret("clientSecret")
                                        .oAuthRequest(ConnectorOAuthRequestProperty.builder()
                                                .authCode("authCode")
                                                .redirectUri("redirectUri")
                                                .build())
                                        .refreshToken("refreshToken")
                                        .build())
                                .password("password")
                                .username("username")
                                .build())
                        .singular(SingularConnectorProfileCredentialsProperty.builder()
                                .apiKey("apiKey")
                                .build())
                        .slack(SlackConnectorProfileCredentialsProperty.builder()
                                .clientId("clientId")
                                .clientSecret("clientSecret")

                                // the properties below are optional
                                .accessToken("accessToken")
                                .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                                        .authCode("authCode")
                                        .redirectUri("redirectUri")
                                        .build())
                                .build())
                        .snowflake(SnowflakeConnectorProfileCredentialsProperty.builder()
                                .password("password")
                                .username("username")
                                .build())
                        .trendmicro(TrendmicroConnectorProfileCredentialsProperty.builder()
                                .apiSecretKey("apiSecretKey")
                                .build())
                        .veeva(VeevaConnectorProfileCredentialsProperty.builder()
                                .password("password")
                                .username("username")
                                .build())
                        .zendesk(ZendeskConnectorProfileCredentialsProperty.builder()
                                .clientId("clientId")
                                .clientSecret("clientSecret")

                                // the properties below are optional
                                .accessToken("accessToken")
                                .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                                        .authCode("authCode")
                                        .redirectUri("redirectUri")
                                        .build())
                                .build())
                        .build())
                .connectorProfileProperties(ConnectorProfilePropertiesProperty.builder()
                        .customConnector(CustomConnectorProfilePropertiesProperty.builder()
                                .oAuth2Properties(OAuth2PropertiesProperty.builder()
                                        .oAuth2GrantType("oAuth2GrantType")
                                        .tokenUrl("tokenUrl")
                                        .tokenUrlCustomProperties(Map.of(
                                                "tokenUrlCustomPropertiesKey", "tokenUrlCustomProperties"))
                                        .build())
                                .profileProperties(Map.of(
                                        "profilePropertiesKey", "profileProperties"))
                                .build())
                        .datadog(DatadogConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .dynatrace(DynatraceConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .inforNexus(InforNexusConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .marketo(MarketoConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .pardot(PardotConnectorProfilePropertiesProperty.builder()
                                .businessUnitId("businessUnitId")

                                // the properties below are optional
                                .instanceUrl("instanceUrl")
                                .isSandboxEnvironment(false)
                                .build())
                        .redshift(RedshiftConnectorProfilePropertiesProperty.builder()
                                .bucketName("bucketName")
                                .roleArn("roleArn")

                                // the properties below are optional
                                .bucketPrefix("bucketPrefix")
                                .clusterIdentifier("clusterIdentifier")
                                .dataApiRoleArn("dataApiRoleArn")
                                .databaseName("databaseName")
                                .databaseUrl("databaseUrl")
                                .isRedshiftServerless(false)
                                .workgroupName("workgroupName")
                                .build())
                        .salesforce(SalesforceConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .isSandboxEnvironment(false)
                                .usePrivateLinkForMetadataAndAuthorization(false)
                                .build())
                        .sapoData(SAPODataConnectorProfilePropertiesProperty.builder()
                                .applicationHostUrl("applicationHostUrl")
                                .applicationServicePath("applicationServicePath")
                                .clientNumber("clientNumber")
                                .disableSso(false)
                                .logonLanguage("logonLanguage")
                                .oAuthProperties(OAuthPropertiesProperty.builder()
                                        .authCodeUrl("authCodeUrl")
                                        .oAuthScopes(List.of("oAuthScopes"))
                                        .tokenUrl("tokenUrl")
                                        .build())
                                .portNumber(123)
                                .privateLinkServiceName("privateLinkServiceName")
                                .build())
                        .serviceNow(ServiceNowConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .slack(SlackConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .snowflake(SnowflakeConnectorProfilePropertiesProperty.builder()
                                .bucketName("bucketName")
                                .stage("stage")
                                .warehouse("warehouse")

                                // the properties below are optional
                                .accountName("accountName")
                                .bucketPrefix("bucketPrefix")
                                .privateLinkServiceName("privateLinkServiceName")
                                .region("region")
                                .build())
                        .veeva(VeevaConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .zendesk(ZendeskConnectorProfilePropertiesProperty.builder()
                                .instanceUrl("instanceUrl")
                                .build())
                        .build())
                .build())
        .kmsArn("kmsArn")
        .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.AppFlow;

var cfnConnectorProfile = new CfnConnectorProfile(this, "MyCfnConnectorProfile", new CfnConnectorProfileProps {
    ConnectionMode = "connectionMode",
    ConnectorProfileName = "connectorProfileName",
    ConnectorType = "connectorType",

    // the properties below are optional
    ConnectorLabel = "connectorLabel",
    ConnectorProfileConfig = new ConnectorProfileConfigProperty {
        ConnectorProfileCredentials = new ConnectorProfileCredentialsProperty {
            Amplitude = new AmplitudeConnectorProfileCredentialsProperty {
                ApiKey = "apiKey",
                SecretKey = "secretKey"
            },
            CustomConnector = new CustomConnectorProfileCredentialsProperty {
                AuthenticationType = "authenticationType",

                // the properties below are optional
                ApiKey = new ApiKeyCredentialsProperty {
                    ApiKey = "apiKey",

                    // the properties below are optional
                    ApiSecretKey = "apiSecretKey"
                },
                Basic = new BasicAuthCredentialsProperty {
                    Password = "password",
                    Username = "username"
                },
                Custom = new CustomAuthCredentialsProperty {
                    CustomAuthenticationType = "customAuthenticationType",

                    // the properties below are optional
                    CredentialsMap = new Dictionary<string, string> {
                        { "credentialsMapKey", "credentialsMap" }
                    }
                },
                Oauth2 = new OAuth2CredentialsProperty {
                    AccessToken = "accessToken",
                    ClientId = "clientId",
                    ClientSecret = "clientSecret",
                    OAuthRequest = new ConnectorOAuthRequestProperty {
                        AuthCode = "authCode",
                        RedirectUri = "redirectUri"
                    },
                    RefreshToken = "refreshToken"
                }
            },
            Datadog = new DatadogConnectorProfileCredentialsProperty {
                ApiKey = "apiKey",
                ApplicationKey = "applicationKey"
            },
            Dynatrace = new DynatraceConnectorProfileCredentialsProperty {
                ApiToken = "apiToken"
            },
            GoogleAnalytics = new GoogleAnalyticsConnectorProfileCredentialsProperty {
                ClientId = "clientId",
                ClientSecret = "clientSecret",

                // the properties below are optional
                AccessToken = "accessToken",
                ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
                    AuthCode = "authCode",
                    RedirectUri = "redirectUri"
                },
                RefreshToken = "refreshToken"
            },
            InforNexus = new InforNexusConnectorProfileCredentialsProperty {
                AccessKeyId = "accessKeyId",
                Datakey = "datakey",
                SecretAccessKey = "secretAccessKey",
                UserId = "userId"
            },
            Marketo = new MarketoConnectorProfileCredentialsProperty {
                ClientId = "clientId",
                ClientSecret = "clientSecret",

                // the properties below are optional
                AccessToken = "accessToken",
                ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
                    AuthCode = "authCode",
                    RedirectUri = "redirectUri"
                }
            },
            Pardot = new PardotConnectorProfileCredentialsProperty {
                AccessToken = "accessToken",
                ClientCredentialsArn = "clientCredentialsArn",
                ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
                    AuthCode = "authCode",
                    RedirectUri = "redirectUri"
                },
                RefreshToken = "refreshToken"
            },
            Redshift = new RedshiftConnectorProfileCredentialsProperty {
                Password = "password",
                Username = "username"
            },
            Salesforce = new SalesforceConnectorProfileCredentialsProperty {
                AccessToken = "accessToken",
                ClientCredentialsArn = "clientCredentialsArn",
                ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
                    AuthCode = "authCode",
                    RedirectUri = "redirectUri"
                },
                JwtToken = "jwtToken",
                OAuth2GrantType = "oAuth2GrantType",
                RefreshToken = "refreshToken"
            },
            SapoData = new SAPODataConnectorProfileCredentialsProperty {
                BasicAuthCredentials = new BasicAuthCredentialsProperty {
                    Password = "password",
                    Username = "username"
                },
                OAuthCredentials = new OAuthCredentialsProperty {
                    AccessToken = "accessToken",
                    ClientId = "clientId",
                    ClientSecret = "clientSecret",
                    ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
                        AuthCode = "authCode",
                        RedirectUri = "redirectUri"
                    },
                    RefreshToken = "refreshToken"
                }
            },
            ServiceNow = new ServiceNowConnectorProfileCredentialsProperty {
                OAuth2Credentials = new OAuth2CredentialsProperty {
                    AccessToken = "accessToken",
                    ClientId = "clientId",
                    ClientSecret = "clientSecret",
                    OAuthRequest = new ConnectorOAuthRequestProperty {
                        AuthCode = "authCode",
                        RedirectUri = "redirectUri"
                    },
                    RefreshToken = "refreshToken"
                },
                Password = "password",
                Username = "username"
            },
            Singular = new SingularConnectorProfileCredentialsProperty {
                ApiKey = "apiKey"
            },
            Slack = new SlackConnectorProfileCredentialsProperty {
                ClientId = "clientId",
                ClientSecret = "clientSecret",

                // the properties below are optional
                AccessToken = "accessToken",
                ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
                    AuthCode = "authCode",
                    RedirectUri = "redirectUri"
                }
            },
            Snowflake = new SnowflakeConnectorProfileCredentialsProperty {
                Password = "password",
                Username = "username"
            },
            Trendmicro = new TrendmicroConnectorProfileCredentialsProperty {
                ApiSecretKey = "apiSecretKey"
            },
            Veeva = new VeevaConnectorProfileCredentialsProperty {
                Password = "password",
                Username = "username"
            },
            Zendesk = new ZendeskConnectorProfileCredentialsProperty {
                ClientId = "clientId",
                ClientSecret = "clientSecret",

                // the properties below are optional
                AccessToken = "accessToken",
                ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
                    AuthCode = "authCode",
                    RedirectUri = "redirectUri"
                }
            }
        },
        ConnectorProfileProperties = new ConnectorProfilePropertiesProperty {
            CustomConnector = new CustomConnectorProfilePropertiesProperty {
                OAuth2Properties = new OAuth2PropertiesProperty {
                    OAuth2GrantType = "oAuth2GrantType",
                    TokenUrl = "tokenUrl",
                    TokenUrlCustomProperties = new Dictionary<string, string> {
                        { "tokenUrlCustomPropertiesKey", "tokenUrlCustomProperties" }
                    }
                },
                ProfileProperties = new Dictionary<string, string> {
                    { "profilePropertiesKey", "profileProperties" }
                }
            },
            Datadog = new DatadogConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            },
            Dynatrace = new DynatraceConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            },
            InforNexus = new InforNexusConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            },
            Marketo = new MarketoConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            },
            Pardot = new PardotConnectorProfilePropertiesProperty {
                BusinessUnitId = "businessUnitId",

                // the properties below are optional
                InstanceUrl = "instanceUrl",
                IsSandboxEnvironment = false
            },
            Redshift = new RedshiftConnectorProfilePropertiesProperty {
                BucketName = "bucketName",
                RoleArn = "roleArn",

                // the properties below are optional
                BucketPrefix = "bucketPrefix",
                ClusterIdentifier = "clusterIdentifier",
                DataApiRoleArn = "dataApiRoleArn",
                DatabaseName = "databaseName",
                DatabaseUrl = "databaseUrl",
                IsRedshiftServerless = false,
                WorkgroupName = "workgroupName"
            },
            Salesforce = new SalesforceConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl",
                IsSandboxEnvironment = false,
                UsePrivateLinkForMetadataAndAuthorization = false
            },
            SapoData = new SAPODataConnectorProfilePropertiesProperty {
                ApplicationHostUrl = "applicationHostUrl",
                ApplicationServicePath = "applicationServicePath",
                ClientNumber = "clientNumber",
                DisableSso = false,
                LogonLanguage = "logonLanguage",
                OAuthProperties = new OAuthPropertiesProperty {
                    AuthCodeUrl = "authCodeUrl",
                    OAuthScopes = new [] { "oAuthScopes" },
                    TokenUrl = "tokenUrl"
                },
                PortNumber = 123,
                PrivateLinkServiceName = "privateLinkServiceName"
            },
            ServiceNow = new ServiceNowConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            },
            Slack = new SlackConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            },
            Snowflake = new SnowflakeConnectorProfilePropertiesProperty {
                BucketName = "bucketName",
                Stage = "stage",
                Warehouse = "warehouse",

                // the properties below are optional
                AccountName = "accountName",
                BucketPrefix = "bucketPrefix",
                PrivateLinkServiceName = "privateLinkServiceName",
                Region = "region"
            },
            Veeva = new VeevaConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            },
            Zendesk = new ZendeskConnectorProfilePropertiesProperty {
                InstanceUrl = "instanceUrl"
            }
        }
    },
    KmsArn = "kmsArn"
});
```

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"

cfnConnectorProfile := awscdk.Aws_appflow.NewCfnConnectorProfile(this, jsii.String("MyCfnConnectorProfile"), &CfnConnectorProfileProps{
	ConnectionMode: jsii.String("connectionMode"),
	ConnectorProfileName: jsii.String("connectorProfileName"),
	ConnectorType: jsii.String("connectorType"),

	// the properties below are optional
	ConnectorLabel: jsii.String("connectorLabel"),
	ConnectorProfileConfig: &ConnectorProfileConfigProperty{
		ConnectorProfileCredentials: &ConnectorProfileCredentialsProperty{
			Amplitude: &AmplitudeConnectorProfileCredentialsProperty{
				ApiKey: jsii.String("apiKey"),
				SecretKey: jsii.String("secretKey"),
			},
			CustomConnector: &CustomConnectorProfileCredentialsProperty{
				AuthenticationType: jsii.String("authenticationType"),

				// the properties below are optional
				ApiKey: &ApiKeyCredentialsProperty{
					ApiKey: jsii.String("apiKey"),

					// the properties below are optional
					ApiSecretKey: jsii.String("apiSecretKey"),
				},
				Basic: &BasicAuthCredentialsProperty{
					Password: jsii.String("password"),
					Username: jsii.String("username"),
				},
				Custom: &CustomAuthCredentialsProperty{
					CustomAuthenticationType: jsii.String("customAuthenticationType"),

					// the properties below are optional
					CredentialsMap: map[string]*string{
						"credentialsMapKey": jsii.String("credentialsMap"),
					},
				},
				Oauth2: &OAuth2CredentialsProperty{
					AccessToken: jsii.String("accessToken"),
					ClientId: jsii.String("clientId"),
					ClientSecret: jsii.String("clientSecret"),
					OAuthRequest: &ConnectorOAuthRequestProperty{
						AuthCode: jsii.String("authCode"),
						RedirectUri: jsii.String("redirectUri"),
					},
					RefreshToken: jsii.String("refreshToken"),
				},
			},
			Datadog: &DatadogConnectorProfileCredentialsProperty{
				ApiKey: jsii.String("apiKey"),
				ApplicationKey: jsii.String("applicationKey"),
			},
			Dynatrace: &DynatraceConnectorProfileCredentialsProperty{
				ApiToken: jsii.String("apiToken"),
			},
			GoogleAnalytics: &GoogleAnalyticsConnectorProfileCredentialsProperty{
				ClientId: jsii.String("clientId"),
				ClientSecret: jsii.String("clientSecret"),

				// the properties below are optional
				AccessToken: jsii.String("accessToken"),
				ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
					AuthCode: jsii.String("authCode"),
					RedirectUri: jsii.String("redirectUri"),
				},
				RefreshToken: jsii.String("refreshToken"),
			},
			InforNexus: &InforNexusConnectorProfileCredentialsProperty{
				AccessKeyId: jsii.String("accessKeyId"),
				Datakey: jsii.String("datakey"),
				SecretAccessKey: jsii.String("secretAccessKey"),
				UserId: jsii.String("userId"),
			},
			Marketo: &MarketoConnectorProfileCredentialsProperty{
				ClientId: jsii.String("clientId"),
				ClientSecret: jsii.String("clientSecret"),

				// the properties below are optional
				AccessToken: jsii.String("accessToken"),
				ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
					AuthCode: jsii.String("authCode"),
					RedirectUri: jsii.String("redirectUri"),
				},
			},
			Pardot: &PardotConnectorProfileCredentialsProperty{
				AccessToken: jsii.String("accessToken"),
				ClientCredentialsArn: jsii.String("clientCredentialsArn"),
				ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
					AuthCode: jsii.String("authCode"),
					RedirectUri: jsii.String("redirectUri"),
				},
				RefreshToken: jsii.String("refreshToken"),
			},
			Redshift: &RedshiftConnectorProfileCredentialsProperty{
				Password: jsii.String("password"),
				Username: jsii.String("username"),
			},
			Salesforce: &SalesforceConnectorProfileCredentialsProperty{
				AccessToken: jsii.String("accessToken"),
				ClientCredentialsArn: jsii.String("clientCredentialsArn"),
				ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
					AuthCode: jsii.String("authCode"),
					RedirectUri: jsii.String("redirectUri"),
				},
				JwtToken: jsii.String("jwtToken"),
				OAuth2GrantType: jsii.String("oAuth2GrantType"),
				RefreshToken: jsii.String("refreshToken"),
			},
			SapoData: &SAPODataConnectorProfileCredentialsProperty{
				BasicAuthCredentials: &BasicAuthCredentialsProperty{
					Password: jsii.String("password"),
					Username: jsii.String("username"),
				},
				OAuthCredentials: &OAuthCredentialsProperty{
					AccessToken: jsii.String("accessToken"),
					ClientId: jsii.String("clientId"),
					ClientSecret: jsii.String("clientSecret"),
					ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
						AuthCode: jsii.String("authCode"),
						RedirectUri: jsii.String("redirectUri"),
					},
					RefreshToken: jsii.String("refreshToken"),
				},
			},
			ServiceNow: &ServiceNowConnectorProfileCredentialsProperty{
				OAuth2Credentials: &OAuth2CredentialsProperty{
					AccessToken: jsii.String("accessToken"),
					ClientId: jsii.String("clientId"),
					ClientSecret: jsii.String("clientSecret"),
					OAuthRequest: &ConnectorOAuthRequestProperty{
						AuthCode: jsii.String("authCode"),
						RedirectUri: jsii.String("redirectUri"),
					},
					RefreshToken: jsii.String("refreshToken"),
				},
				Password: jsii.String("password"),
				Username: jsii.String("username"),
			},
			Singular: &SingularConnectorProfileCredentialsProperty{
				ApiKey: jsii.String("apiKey"),
			},
			Slack: &SlackConnectorProfileCredentialsProperty{
				ClientId: jsii.String("clientId"),
				ClientSecret: jsii.String("clientSecret"),

				// the properties below are optional
				AccessToken: jsii.String("accessToken"),
				ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
					AuthCode: jsii.String("authCode"),
					RedirectUri: jsii.String("redirectUri"),
				},
			},
			Snowflake: &SnowflakeConnectorProfileCredentialsProperty{
				Password: jsii.String("password"),
				Username: jsii.String("username"),
			},
			Trendmicro: &TrendmicroConnectorProfileCredentialsProperty{
				ApiSecretKey: jsii.String("apiSecretKey"),
			},
			Veeva: &VeevaConnectorProfileCredentialsProperty{
				Password: jsii.String("password"),
				Username: jsii.String("username"),
			},
			Zendesk: &ZendeskConnectorProfileCredentialsProperty{
				ClientId: jsii.String("clientId"),
				ClientSecret: jsii.String("clientSecret"),

				// the properties below are optional
				AccessToken: jsii.String("accessToken"),
				ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
					AuthCode: jsii.String("authCode"),
					RedirectUri: jsii.String("redirectUri"),
				},
			},
		},
		ConnectorProfileProperties: &ConnectorProfilePropertiesProperty{
			CustomConnector: &CustomConnectorProfilePropertiesProperty{
				OAuth2Properties: &OAuth2PropertiesProperty{
					OAuth2GrantType: jsii.String("oAuth2GrantType"),
					TokenUrl: jsii.String("tokenUrl"),
					TokenUrlCustomProperties: map[string]*string{
						"tokenUrlCustomPropertiesKey": jsii.String("tokenUrlCustomProperties"),
					},
				},
				ProfileProperties: map[string]*string{
					"profilePropertiesKey": jsii.String("profileProperties"),
				},
			},
			Datadog: &DatadogConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
			Dynatrace: &DynatraceConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
			InforNexus: &InforNexusConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
			Marketo: &MarketoConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
			Pardot: &PardotConnectorProfilePropertiesProperty{
				BusinessUnitId: jsii.String("businessUnitId"),

				// the properties below are optional
				InstanceUrl: jsii.String("instanceUrl"),
				IsSandboxEnvironment: jsii.Boolean(false),
			},
			Redshift: &RedshiftConnectorProfilePropertiesProperty{
				BucketName: jsii.String("bucketName"),
				RoleArn: jsii.String("roleArn"),

				// the properties below are optional
				BucketPrefix: jsii.String("bucketPrefix"),
				ClusterIdentifier: jsii.String("clusterIdentifier"),
				DataApiRoleArn: jsii.String("dataApiRoleArn"),
				DatabaseName: jsii.String("databaseName"),
				DatabaseUrl: jsii.String("databaseUrl"),
				IsRedshiftServerless: jsii.Boolean(false),
				WorkgroupName: jsii.String("workgroupName"),
			},
			Salesforce: &SalesforceConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
				IsSandboxEnvironment: jsii.Boolean(false),
				UsePrivateLinkForMetadataAndAuthorization: jsii.Boolean(false),
			},
			SapoData: &SAPODataConnectorProfilePropertiesProperty{
				ApplicationHostUrl: jsii.String("applicationHostUrl"),
				ApplicationServicePath: jsii.String("applicationServicePath"),
				ClientNumber: jsii.String("clientNumber"),
				DisableSso: jsii.Boolean(false),
				LogonLanguage: jsii.String("logonLanguage"),
				OAuthProperties: &OAuthPropertiesProperty{
					AuthCodeUrl: jsii.String("authCodeUrl"),
					OAuthScopes: []*string{
						jsii.String("oAuthScopes"),
					},
					TokenUrl: jsii.String("tokenUrl"),
				},
				PortNumber: jsii.Number(123),
				PrivateLinkServiceName: jsii.String("privateLinkServiceName"),
			},
			ServiceNow: &ServiceNowConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
			Slack: &SlackConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
			Snowflake: &SnowflakeConnectorProfilePropertiesProperty{
				BucketName: jsii.String("bucketName"),
				Stage: jsii.String("stage"),
				Warehouse: jsii.String("warehouse"),

				// the properties below are optional
				AccountName: jsii.String("accountName"),
				BucketPrefix: jsii.String("bucketPrefix"),
				PrivateLinkServiceName: jsii.String("privateLinkServiceName"),
				Region: jsii.String("region"),
			},
			Veeva: &VeevaConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
			Zendesk: &ZendeskConnectorProfilePropertiesProperty{
				InstanceUrl: jsii.String("instanceUrl"),
			},
		},
	},
	KmsArn: jsii.String("kmsArn"),
})
```

## Initializer

TypeScript:

```ts
new CfnConnectorProfile(scope: Construct, id: string, props: CfnConnectorProfileProps)
```

Python:

```python
CfnConnectorProfile(scope: Construct, id: str, props: CfnConnectorProfileProps)
```

Java:

```java
new CfnConnectorProfile(Construct scope, String id, CfnConnectorProfileProps props)
```

C# / .NET:

```csharp
new CfnConnectorProfile(Construct scope, string id, CfnConnectorProfileProps props)
```

Golang:

```go
NewCfnConnectorProfile(Scope Construct, Id *string, Props CfnConnectorProfileProps)
```

## Construct Props

- `connectionMode`: string (required) — Indicates the connection mode and if it is public or private.

- `connectorLabel`: string — The label for the connector profile being created.

- `connectorProfileConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectorProfile.ConnectorProfileConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appflow.CfnConnectorProfile.ConnectorProfileConfigProperty.html) — Defines the connector-specific configuration and credentials.

- `connectorProfileName`: string (required) — The name of the connector profile.

  The name is unique for each `ConnectorProfile` in the AWS account .

- `connectorType`: string (required) — The type of connector, such as Salesforce, Amplitude, and so on.

- `kmsArn`: string — The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.

  This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

## Properties

- `attrConnectorProfileArn`: string — The Amazon Resource Name (ARN) of the connector profile.

- `attrCredentialsArn`: string — The Amazon Resource Name (ARN) of the connector profile credentials.

- `CFN_RESOURCE_TYPE_NAME`: string (static) — The CloudFormation resource type name for this resource class.

- `cfnOptions`: [ICfnResourceOptions](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.ICfnResourceOptions.html) — Options for this resource, such as condition, update policy etc.

- `cfnResourceType`: string — AWS resource type.

- `connectionMode`: string — Indicates the connection mode and if it is public or private.

- `connectorLabel`: string — The label for the connector profile being created.

- `connectorProfileConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectorProfile.ConnectorProfileConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appflow.CfnConnectorProfile.ConnectorProfileConfigProperty.html) — Defines the connector-specific configuration and credentials.

- `connectorProfileName`: string — The name of the connector profile.

- `connectorProfileRef`: [ConnectorProfileReference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_appflow.ConnectorProfileReference.html) — A reference to a ConnectorProfile resource.

- `connectorType`: string — The type of connector, such as Salesforce, Amplitude, and so on.

- `creationStack`: string[]

- `env`: [ResourceEnvironment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html)

- `kmsArn`: string — The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.

- `logicalId`: string — The logical ID for this CloudFormation stack element.

  The logical ID of the element
  is calculated from the path of the resource node in the construct tree.

  To override this value, use `overrideLogicalId(newLogicalId)`.

- `node`: [Node](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.Node.html) — The tree node.

- `ref`: string — Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.

  If, by any chance, the intrinsic reference of a resource is not a string, you could
  coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.

- `stack`: [Stack](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html) — The stack in which this element is defined.

  CfnElements must be defined within a stack scope (directly or indirectly).

## Methods

- `addDeletionOverride(path: string): void` — Syntactic sugar for `addOverride(path, undefined)`.

  **Parameters**

  - `path` — The path of the value to delete.

- `addDependency(target: CfnResource): void` — Use `addResourceDependency` instead.

  This method has been renamed to `addResourceDependency` to more clearly
  set it apart from `construct.node.addDependency`. See the documentation
  of that function for more details.

- `addDependsOn(target: CfnResource): void` — Use `addResourceDependency` instead.

  This can be used for resources across stacks (or nested stack) boundaries
  and the dependency will automatically be transferred to the relevant scope.

  This method has been renamed to `addResourceDependency`, which makes it
  more clear that this method operates at a different level from the
  construct-level `construct.node.addDependency()` mechanism.

- `addMetadata(key: string, value: any): void` — Add a value to the CloudFormation Resource Metadata.

- `addOverride(path: string, value: any): void` — Adds an override to the synthesized CloudFormation resource.

  To add a
  property override, either use `addPropertyOverride` or prefix `path` with
  "Properties." (i.e. `Properties.TopicName`).

  If the override is nested, separate each nested level using a dot (.) in the path parameter.
  If there is an array as part of the nesting, specify the index in the path.

  To include a literal `.` in the property name, prefix with a `\`. In most
  programming languages you will need to write this as `"\\."` because the
  `\` itself will need to be escaped.

  For example,
  ```typescript
  cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
  cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
  ```
  would add the overrides
  ```json
  "Properties": {
    "GlobalSecondaryIndexes": [
      {
        "Projection": {
          "NonKeyAttributes": [ "myattribute" ]
          ...
        }
        ...
      },
      {
        "ProjectionType": "INCLUDE"
        ...
      },
    ]
    ...
  }
  ```

  The `value` argument to `addOverride` will not be processed or translated
  in any way. Pass raw JSON values in here with the correct capitalization
  for CloudFormation. If you pass CDK classes or structs, they will be
  rendered with lowercased key names, and CloudFormation will reject the
  template.

  **Parameters**

  - `path` — - The path of the property, you can use dot notation to override values in complex types.
  - `value` — - The value.

- `addPropertyDeletionOverride(propertyPath: string): void` — Adds an override that deletes the value of a property from the resource definition.

  **Parameters**

  - `propertyPath` — The path to the property.

- `addPropertyOverride(propertyPath: string, value: any): void` — Adds an override to a resource property.

  Syntactic sugar for `addOverride("Properties.<...>", value)`.

  **Parameters**

  - `propertyPath` — The path of the property.
  - `value` — The value.

- `addResourceDependency(target: CfnResource, reason?: string): void` — Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

  This can be used for resources across stacks (or nested stack) boundaries
  and the dependency will automatically be transferred to the relevant scope.

  This method only adds dependencies between L1 resources. If you are
  looking for a generic construct-to-construct dependency mechanism that works
  for all constructs including L2s, use `construct.node.addDependency` instead.

- `applyCrossStackReferenceStrength(strength: ReferenceStrength): void` — Sets the cross-stack reference strength for this resource.

  When set, any cross-stack reference to this resource will use the specified
  strength instead of the global default from the consuming stack's context.

  **Parameters**

  - `strength` — - The reference strength to use for this resource.

- `applyRemovalPolicy(policy?: RemovalPolicy, options?: RemovalPolicyOptions): void` — Sets the deletion policy of the resource based on the removal policy specified.

  The Removal Policy controls what happens to this resource when it stops
  being managed by CloudFormation, either because you've removed it from the
  CDK application or because you've made a change that requires the resource
  to be replaced.

  The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
  account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
  cases, a snapshot can be taken of the resource prior to deletion
  (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
  can be found in the following link:

- `arnForConnectorProfile(resource: IConnectorProfileRef): string` (static)

- `cfnPropertyName(cdkPropertyName: string): string`

- `getAtt(attributeName: string, typeHint?: ResolutionTypeHint): Reference` — Returns a token for an runtime attribute of this resource.

  Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
  in case there is no generated attribute.

  **Parameters**

  - `attributeName` — The name of the attribute.

- `getMetadata(key: string): any` — Retrieve a value value from the CloudFormation Resource Metadata.

- `inspect(inspector: TreeInspector): void` — Examines the CloudFormation resource and discloses attributes.

  **Parameters**

  - `inspector` — tree inspector to collect and process attributes.

- `isCfnConnectorProfile(x: any): boolean` (static) — Checks whether the given object is a CfnConnectorProfile.

- `isCfnElement(x: any): boolean` (static) — Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

  Uses duck-typing instead of `instanceof` to allow stack elements from different
  versions of this library to be included in the same stack.

  **Returns:** The construct as a stack element or undefined if it is not a stack element.

- `isCfnResource(x: any): boolean` (static) — Check whether the given object is a CfnResource.

- `isConstruct(x: any): boolean` (static) — Checks if `x` is a construct.

  Use this method instead of `instanceof` to properly detect `Construct`
  instances, even when the construct library is symlinked.

  Explanation: in JavaScript, multiple copies of the `constructs` library on
  disk are seen as independent, completely different libraries. As a
  consequence, the class `Construct` in each copy of the `constructs` library
  is seen as a different class, and an instance of one class will not test as
  `instanceof` the other class. `npm install` will not create installations
  like this, but users may manually symlink construct libraries together or
  use a monorepo tool: in those cases, multiple copies of the `constructs`
  library can be accidentally installed, and `instanceof` will behave
  unpredictably. It is safest to avoid using `instanceof`, and using
  this type-testing method instead.

  **Parameters**

  - `x` — Any object.

  **Returns:** true if `x` is an object created from a class which extends `Construct`.

- `obtainDependencies(): Stack | CfnResource[]` — Retrieves an array of resources and stacks this resource depends on.

  For resources depended on directly, returns the `CfnResource` object. For
  dependencies on other stacks, returns the `Stack` object. The order of the
  array is not guaranteed.

- `overrideLogicalId(newLogicalId: string): void` — Overrides the auto-generated logical ID with a specific ID.

  **Parameters**

  - `newLogicalId` — The new logical ID to use for this stack element.

- `removeDependency(target: CfnResource): void` — Use `removeResourceDependency` instead

  This can be used for resources across stacks (including nested stacks)
  and the dependency will automatically be removed from the relevant scope.

- `removeResourceDependency(target: CfnResource): void` — Indicates that this resource no longer depends on another resource.

  This can be used for resources across stacks (including nested stacks)
  and the dependency will automatically be removed from the relevant scope.

- `replaceDependency(target: CfnResource, newTarget: CfnResource): void` — Replaces one dependency with another.

  **Parameters**

  - `target` — The dependency to replace.
  - `newTarget` — The new dependency to add.

- `toString(): string` — Returns a string representation of this construct.

  **Returns:** a string representation of this resource

- `with(...mixins: IMixin[]): IConstruct` — Applies one or more mixins to this construct.

  Mixins are applied in order. The list of constructs is captured at the
  start of the call, so constructs added by a mixin will not be visited.
  Use multiple `with()` calls if subsequent mixins should apply to added
  constructs.
