Interface CfnConnectorProfile.ConnectorProfileCredentialsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConnectorProfile.ConnectorProfileCredentialsProperty.Jsii$Proxy
Enclosing class:
CfnConnectorProfile

@Stability(Stable) public static interface CfnConnectorProfile.ConnectorProfileCredentialsProperty extends software.amazon.jsii.JsiiSerializable
The connector-specific credentials required by a connector.

Example:

 // 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.*;
 ConnectorProfileCredentialsProperty connectorProfileCredentialsProperty = 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()
                 .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();
 
  • Method Details

    • getAmplitude

      @Stability(Stable) @Nullable default Object getAmplitude()
      The connector-specific credentials required when using Amplitude.
    • getCustomConnector

      @Stability(Stable) @Nullable default Object getCustomConnector()
      The connector-specific profile credentials that are required when using the custom connector.
    • getDatadog

      @Stability(Stable) @Nullable default Object getDatadog()
      The connector-specific credentials required when using Datadog.
    • getDynatrace

      @Stability(Stable) @Nullable default Object getDynatrace()
      The connector-specific credentials required when using Dynatrace.
    • getGoogleAnalytics

      @Stability(Stable) @Nullable default Object getGoogleAnalytics()
      The connector-specific credentials required when using Google Analytics.
    • getInforNexus

      @Stability(Stable) @Nullable default Object getInforNexus()
      The connector-specific credentials required when using Infor Nexus.
    • getMarketo

      @Stability(Stable) @Nullable default Object getMarketo()
      The connector-specific credentials required when using Marketo.
    • getPardot

      @Stability(Stable) @Nullable default Object getPardot()
      CfnConnectorProfile.ConnectorProfileCredentialsProperty.Pardot.
    • getRedshift

      @Stability(Stable) @Nullable default Object getRedshift()
      The connector-specific credentials required when using Amazon Redshift.
    • getSalesforce

      @Stability(Stable) @Nullable default Object getSalesforce()
      The connector-specific credentials required when using Salesforce.
    • getSapoData

      @Stability(Stable) @Nullable default Object getSapoData()
      The connector-specific profile credentials required when using SAPOData.
    • getServiceNow

      @Stability(Stable) @Nullable default Object getServiceNow()
      The connector-specific credentials required when using ServiceNow.
    • getSingular

      @Stability(Stable) @Nullable default Object getSingular()
      The connector-specific credentials required when using Singular.
    • getSlack

      @Stability(Stable) @Nullable default Object getSlack()
      The connector-specific credentials required when using Slack.
    • getSnowflake

      @Stability(Stable) @Nullable default Object getSnowflake()
      The connector-specific credentials required when using Snowflake.
    • getTrendmicro

      @Stability(Stable) @Nullable default Object getTrendmicro()
      The connector-specific credentials required when using Trend Micro.
    • getVeeva

      @Stability(Stable) @Nullable default Object getVeeva()
      The connector-specific credentials required when using Veeva.
    • getZendesk

      @Stability(Stable) @Nullable default Object getZendesk()
      The connector-specific credentials required when using Zendesk.
    • builder

      Returns:
      a CfnConnectorProfile.ConnectorProfileCredentialsProperty.Builder of CfnConnectorProfile.ConnectorProfileCredentialsProperty