Skip to content
v2.278.0

SalesforceSourceConfigurationProperty Struct ​

The endpoint information to connect to your Salesforce data source.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const salesforceSourceConfigurationProperty: bedrock.CfnDataSource.SalesforceSourceConfigurationProperty = {
  authType: 'authType',
  credentialsSecretArn: 'credentialsSecretArn',
  hostUrl: 'hostUrl',
};
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_bedrock as bedrock

salesforce_source_configuration_property = bedrock.CfnDataSource.SalesforceSourceConfigurationProperty(
    auth_type="authType",
    credentials_secret_arn="credentialsSecretArn",
    host_url="hostUrl"
)
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.bedrock.*;

SalesforceSourceConfigurationProperty salesforceSourceConfigurationProperty = SalesforceSourceConfigurationProperty.builder()
        .authType("authType")
        .credentialsSecretArn("credentialsSecretArn")
        .hostUrl("hostUrl")
        .build();
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.Bedrock;

var salesforceSourceConfigurationProperty = new SalesforceSourceConfigurationProperty {
    AuthType = "authType",
    CredentialsSecretArn = "credentialsSecretArn",
    HostUrl = "hostUrl"
};
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"

salesforceSourceConfigurationProperty := &SalesforceSourceConfigurationProperty{
	AuthType: jsii.String("authType"),
	CredentialsSecretArn: jsii.String("credentialsSecretArn"),
	HostUrl: jsii.String("hostUrl"),
}

Properties ​

authTypestringauth_typestrauthTypeStringAuthTypestringAuthType*string required #
The supported authentication type to authenticate and connect to your Salesforce instance.
credentialsSecretArnstringcredentials_secret_arnstrcredentialsSecretArnStringCredentialsSecretArnstringCredentialsSecretArn*string required #
The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Salesforce instance URL.
notes

For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Salesforce connection configuration .

hostUrlstringhost_urlstrhostUrlStringHostUrlstringHostUrl*string required #
The Salesforce host URL or instance URL.