Class CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty
The connector-specific profile credentials required when using Salesforce.
Inheritance
Namespace: Amazon.CDK.AWS.AppFlow
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SalesforceConnectorProfileCredentialsProperty : Object, CfnConnectorProfile.ISalesforceConnectorProfileCredentialsProperty
Syntax (vb)
Public Class SalesforceConnectorProfileCredentialsProperty
Inherits Object
Implements CfnConnectorProfile.ISalesforceConnectorProfileCredentialsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 salesforceConnectorProfileCredentialsProperty = new SalesforceConnectorProfileCredentialsProperty {
AccessToken = "accessToken",
ClientCredentialsArn = "clientCredentialsArn",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
JwtToken = "jwtToken",
OAuth2GrantType = "oAuth2GrantType",
RefreshToken = "refreshToken"
};
Synopsis
Constructors
SalesforceConnectorProfileCredentialsProperty() |
Properties
AccessToken | The credentials used to access protected Salesforce resources. |
ClientCredentialsArn | The secret manager ARN, which contains the client ID and client secret of the connected app. |
ConnectorOAuthRequest | Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. |
JwtToken | A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records. |
OAuth2GrantType | Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. |
RefreshToken | The credentials used to acquire new access tokens. |
Constructors
SalesforceConnectorProfileCredentialsProperty()
public SalesforceConnectorProfileCredentialsProperty()
Properties
AccessToken
The credentials used to access protected Salesforce resources.
public string AccessToken { get; set; }
Property Value
System.String
Remarks
ClientCredentialsArn
The secret manager ARN, which contains the client ID and client secret of the connected app.
public string ClientCredentialsArn { get; set; }
Property Value
System.String
Remarks
ConnectorOAuthRequest
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
public object ConnectorOAuthRequest { get; set; }
Property Value
System.Object
Remarks
JwtToken
A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
public string JwtToken { get; set; }
Property Value
System.String
Remarks
OAuth2GrantType
Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.
public string OAuth2GrantType { get; set; }
Property Value
System.String
Remarks
RefreshToken
The credentials used to acquire new access tokens.
public string RefreshToken { get; set; }
Property Value
System.String