Class CfnConnectorProfilePropsMixin.SalesforceConnectorProfileCredentialsProperty
The connector-specific profile credentials required when using Salesforce.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AppFlow
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnConnectorProfilePropsMixin.SalesforceConnectorProfileCredentialsProperty : CfnConnectorProfilePropsMixin.ISalesforceConnectorProfileCredentialsProperty
Syntax (vb)
Public Class CfnConnectorProfilePropsMixin.SalesforceConnectorProfileCredentialsProperty Implements CfnConnectorProfilePropsMixin.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.CfnPropertyMixins.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() | The connector-specific profile credentials required when using Salesforce. |
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()
The connector-specific profile credentials required when using Salesforce.
public SalesforceConnectorProfileCredentialsProperty()
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.CfnPropertyMixins.AWS.AppFlow;
var salesforceConnectorProfileCredentialsProperty = new SalesforceConnectorProfileCredentialsProperty {
AccessToken = "accessToken",
ClientCredentialsArn = "clientCredentialsArn",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
JwtToken = "jwtToken",
OAuth2GrantType = "oAuth2GrantType",
RefreshToken = "refreshToken"
};
Properties
AccessToken
The credentials used to access protected Salesforce resources.
public string? AccessToken { get; set; }
Property Value
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
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
Remarks
Type union: either IResolvable or CfnConnectorProfilePropsMixin.IConnectorOAuthRequestProperty
JwtToken
A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
public string? JwtToken { get; set; }
Property Value
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
Remarks
You can specify one of the following values:
The CLIENT_CREDENTIALS value is not supported for Salesforce.
RefreshToken
The credentials used to acquire new access tokens.
public string? RefreshToken { get; set; }