Interface CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty

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

@Stability(Stable) public static interface CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty extends software.amazon.jsii.JsiiSerializable
The connector-specific profile credentials required when using Salesforce.

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.*;
 SalesforceConnectorProfileCredentialsProperty salesforceConnectorProfileCredentialsProperty = SalesforceConnectorProfileCredentialsProperty.builder()
         .accessToken("accessToken")
         .clientCredentialsArn("clientCredentialsArn")
         .connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
                 .authCode("authCode")
                 .redirectUri("redirectUri")
                 .build())
         .jwtToken("jwtToken")
         .oAuth2GrantType("oAuth2GrantType")
         .refreshToken("refreshToken")
         .build();
 
  • Method Details

    • getAccessToken

      @Stability(Stable) @Nullable default String getAccessToken()
      The credentials used to access protected Salesforce resources.
    • getClientCredentialsArn

      @Stability(Stable) @Nullable default String getClientCredentialsArn()
      The secret manager ARN, which contains the client ID and client secret of the connected app.
    • getConnectorOAuthRequest

      @Stability(Stable) @Nullable default Object getConnectorOAuthRequest()
      Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
    • getJwtToken

      @Stability(Stable) @Nullable default String getJwtToken()
      CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty.JwtToken.
    • getOAuth2GrantType

      @Stability(Stable) @Nullable default String getOAuth2GrantType()
      CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty.OAuth2GrantType.
    • getRefreshToken

      @Stability(Stable) @Nullable default String getRefreshToken()
      The credentials used to acquire new access tokens.
    • builder

      Returns:
      a CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty.Builder of CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty