CfnConnectorProfileProps Struct
Properties for defining a CfnConnectorProfile.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const cfnConnectorProfileProps: appflow.CfnConnectorProfileProps = {
connectionMode: 'connectionMode',
connectorProfileName: 'connectorProfileName',
connectorType: 'connectorType',
// the properties below are optional
connectorLabel: 'connectorLabel',
connectorProfileConfig: {
connectorProfileCredentials: {
amplitude: {
apiKey: 'apiKey',
secretKey: 'secretKey',
},
customConnector: {
authenticationType: 'authenticationType',
// the properties below are optional
apiKey: {
apiKey: 'apiKey',
// the properties below are optional
apiSecretKey: 'apiSecretKey',
},
basic: {
password: 'password',
username: 'username',
},
custom: {
customAuthenticationType: 'customAuthenticationType',
// the properties below are optional
credentialsMap: {
credentialsMapKey: 'credentialsMap',
},
},
oauth2: {
accessToken: 'accessToken',
clientId: 'clientId',
clientSecret: 'clientSecret',
oAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
refreshToken: 'refreshToken',
},
},
datadog: {
apiKey: 'apiKey',
applicationKey: 'applicationKey',
},
dynatrace: {
apiToken: 'apiToken',
},
googleAnalytics: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
accessToken: 'accessToken',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
refreshToken: 'refreshToken',
},
inforNexus: {
accessKeyId: 'accessKeyId',
datakey: 'datakey',
secretAccessKey: 'secretAccessKey',
userId: 'userId',
},
marketo: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
accessToken: 'accessToken',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
},
pardot: {
accessToken: 'accessToken',
clientCredentialsArn: 'clientCredentialsArn',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
refreshToken: 'refreshToken',
},
redshift: {
password: 'password',
username: 'username',
},
salesforce: {
accessToken: 'accessToken',
clientCredentialsArn: 'clientCredentialsArn',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
jwtToken: 'jwtToken',
oAuth2GrantType: 'oAuth2GrantType',
refreshToken: 'refreshToken',
},
sapoData: {
basicAuthCredentials: {
password: 'password',
username: 'username',
},
oAuthCredentials: {
accessToken: 'accessToken',
clientId: 'clientId',
clientSecret: 'clientSecret',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
refreshToken: 'refreshToken',
},
},
serviceNow: {
oAuth2Credentials: {
accessToken: 'accessToken',
clientId: 'clientId',
clientSecret: 'clientSecret',
oAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
refreshToken: 'refreshToken',
},
password: 'password',
username: 'username',
},
singular: {
apiKey: 'apiKey',
},
slack: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
accessToken: 'accessToken',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
},
snowflake: {
password: 'password',
username: 'username',
},
trendmicro: {
apiSecretKey: 'apiSecretKey',
},
veeva: {
password: 'password',
username: 'username',
},
zendesk: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
accessToken: 'accessToken',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
},
},
connectorProfileProperties: {
customConnector: {
oAuth2Properties: {
oAuth2GrantType: 'oAuth2GrantType',
tokenUrl: 'tokenUrl',
tokenUrlCustomProperties: {
tokenUrlCustomPropertiesKey: 'tokenUrlCustomProperties',
},
},
profileProperties: {
profilePropertiesKey: 'profileProperties',
},
},
datadog: {
instanceUrl: 'instanceUrl',
},
dynatrace: {
instanceUrl: 'instanceUrl',
},
inforNexus: {
instanceUrl: 'instanceUrl',
},
marketo: {
instanceUrl: 'instanceUrl',
},
pardot: {
businessUnitId: 'businessUnitId',
// the properties below are optional
instanceUrl: 'instanceUrl',
isSandboxEnvironment: false,
},
redshift: {
bucketName: 'bucketName',
roleArn: 'roleArn',
// the properties below are optional
bucketPrefix: 'bucketPrefix',
clusterIdentifier: 'clusterIdentifier',
dataApiRoleArn: 'dataApiRoleArn',
databaseName: 'databaseName',
databaseUrl: 'databaseUrl',
isRedshiftServerless: false,
workgroupName: 'workgroupName',
},
salesforce: {
instanceUrl: 'instanceUrl',
isSandboxEnvironment: false,
usePrivateLinkForMetadataAndAuthorization: false,
},
sapoData: {
applicationHostUrl: 'applicationHostUrl',
applicationServicePath: 'applicationServicePath',
clientNumber: 'clientNumber',
disableSso: false,
logonLanguage: 'logonLanguage',
oAuthProperties: {
authCodeUrl: 'authCodeUrl',
oAuthScopes: ['oAuthScopes'],
tokenUrl: 'tokenUrl',
},
portNumber: 123,
privateLinkServiceName: 'privateLinkServiceName',
},
serviceNow: {
instanceUrl: 'instanceUrl',
},
slack: {
instanceUrl: 'instanceUrl',
},
snowflake: {
bucketName: 'bucketName',
stage: 'stage',
warehouse: 'warehouse',
// the properties below are optional
accountName: 'accountName',
bucketPrefix: 'bucketPrefix',
privateLinkServiceName: 'privateLinkServiceName',
region: 'region',
},
veeva: {
instanceUrl: 'instanceUrl',
},
zendesk: {
instanceUrl: 'instanceUrl',
},
},
},
kmsArn: 'kmsArn',
};
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_appflow as appflow
cfn_connector_profile_props = appflow.CfnConnectorProfileProps(
connection_mode="connectionMode",
connector_profile_name="connectorProfileName",
connector_type="connectorType",
# the properties below are optional
connector_label="connectorLabel",
connector_profile_config=appflow.CfnConnectorProfile.ConnectorProfileConfigProperty(
connector_profile_credentials=appflow.CfnConnectorProfile.ConnectorProfileCredentialsProperty(
amplitude=appflow.CfnConnectorProfile.AmplitudeConnectorProfileCredentialsProperty(
api_key="apiKey",
secret_key="secretKey"
),
custom_connector=appflow.CfnConnectorProfile.CustomConnectorProfileCredentialsProperty(
authentication_type="authenticationType",
# the properties below are optional
api_key=appflow.CfnConnectorProfile.ApiKeyCredentialsProperty(
api_key="apiKey",
# the properties below are optional
api_secret_key="apiSecretKey"
),
basic=appflow.CfnConnectorProfile.BasicAuthCredentialsProperty(
password="password",
username="username"
),
custom=appflow.CfnConnectorProfile.CustomAuthCredentialsProperty(
custom_authentication_type="customAuthenticationType",
# the properties below are optional
credentials_map={
"credentials_map_key": "credentialsMap"
}
),
oauth2=appflow.CfnConnectorProfile.OAuth2CredentialsProperty(
access_token="accessToken",
client_id="clientId",
client_secret="clientSecret",
o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
),
refresh_token="refreshToken"
)
),
datadog=appflow.CfnConnectorProfile.DatadogConnectorProfileCredentialsProperty(
api_key="apiKey",
application_key="applicationKey"
),
dynatrace=appflow.CfnConnectorProfile.DynatraceConnectorProfileCredentialsProperty(
api_token="apiToken"
),
google_analytics=appflow.CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty(
client_id="clientId",
client_secret="clientSecret",
# the properties below are optional
access_token="accessToken",
connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
),
refresh_token="refreshToken"
),
infor_nexus=appflow.CfnConnectorProfile.InforNexusConnectorProfileCredentialsProperty(
access_key_id="accessKeyId",
datakey="datakey",
secret_access_key="secretAccessKey",
user_id="userId"
),
marketo=appflow.CfnConnectorProfile.MarketoConnectorProfileCredentialsProperty(
client_id="clientId",
client_secret="clientSecret",
# the properties below are optional
access_token="accessToken",
connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
)
),
pardot=appflow.CfnConnectorProfile.PardotConnectorProfileCredentialsProperty(
access_token="accessToken",
client_credentials_arn="clientCredentialsArn",
connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
),
refresh_token="refreshToken"
),
redshift=appflow.CfnConnectorProfile.RedshiftConnectorProfileCredentialsProperty(
password="password",
username="username"
),
salesforce=appflow.CfnConnectorProfile.SalesforceConnectorProfileCredentialsProperty(
access_token="accessToken",
client_credentials_arn="clientCredentialsArn",
connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
),
jwt_token="jwtToken",
o_auth2_grant_type="oAuth2GrantType",
refresh_token="refreshToken"
),
sapo_data=appflow.CfnConnectorProfile.SAPODataConnectorProfileCredentialsProperty(
basic_auth_credentials=appflow.CfnConnectorProfile.BasicAuthCredentialsProperty(
password="password",
username="username"
),
o_auth_credentials=appflow.CfnConnectorProfile.OAuthCredentialsProperty(
access_token="accessToken",
client_id="clientId",
client_secret="clientSecret",
connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
),
refresh_token="refreshToken"
)
),
service_now=appflow.CfnConnectorProfile.ServiceNowConnectorProfileCredentialsProperty(
o_auth2_credentials=appflow.CfnConnectorProfile.OAuth2CredentialsProperty(
access_token="accessToken",
client_id="clientId",
client_secret="clientSecret",
o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
),
refresh_token="refreshToken"
),
password="password",
username="username"
),
singular=appflow.CfnConnectorProfile.SingularConnectorProfileCredentialsProperty(
api_key="apiKey"
),
slack=appflow.CfnConnectorProfile.SlackConnectorProfileCredentialsProperty(
client_id="clientId",
client_secret="clientSecret",
# the properties below are optional
access_token="accessToken",
connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
)
),
snowflake=appflow.CfnConnectorProfile.SnowflakeConnectorProfileCredentialsProperty(
password="password",
username="username"
),
trendmicro=appflow.CfnConnectorProfile.TrendmicroConnectorProfileCredentialsProperty(
api_secret_key="apiSecretKey"
),
veeva=appflow.CfnConnectorProfile.VeevaConnectorProfileCredentialsProperty(
password="password",
username="username"
),
zendesk=appflow.CfnConnectorProfile.ZendeskConnectorProfileCredentialsProperty(
client_id="clientId",
client_secret="clientSecret",
# the properties below are optional
access_token="accessToken",
connector_o_auth_request=appflow.CfnConnectorProfile.ConnectorOAuthRequestProperty(
auth_code="authCode",
redirect_uri="redirectUri"
)
)
),
connector_profile_properties=appflow.CfnConnectorProfile.ConnectorProfilePropertiesProperty(
custom_connector=appflow.CfnConnectorProfile.CustomConnectorProfilePropertiesProperty(
o_auth2_properties=appflow.CfnConnectorProfile.OAuth2PropertiesProperty(
o_auth2_grant_type="oAuth2GrantType",
token_url="tokenUrl",
token_url_custom_properties={
"token_url_custom_properties_key": "tokenUrlCustomProperties"
}
),
profile_properties={
"profile_properties_key": "profileProperties"
}
),
datadog=appflow.CfnConnectorProfile.DatadogConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
),
dynatrace=appflow.CfnConnectorProfile.DynatraceConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
),
infor_nexus=appflow.CfnConnectorProfile.InforNexusConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
),
marketo=appflow.CfnConnectorProfile.MarketoConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
),
pardot=appflow.CfnConnectorProfile.PardotConnectorProfilePropertiesProperty(
business_unit_id="businessUnitId",
# the properties below are optional
instance_url="instanceUrl",
is_sandbox_environment=False
),
redshift=appflow.CfnConnectorProfile.RedshiftConnectorProfilePropertiesProperty(
bucket_name="bucketName",
role_arn="roleArn",
# the properties below are optional
bucket_prefix="bucketPrefix",
cluster_identifier="clusterIdentifier",
data_api_role_arn="dataApiRoleArn",
database_name="databaseName",
database_url="databaseUrl",
is_redshift_serverless=False,
workgroup_name="workgroupName"
),
salesforce=appflow.CfnConnectorProfile.SalesforceConnectorProfilePropertiesProperty(
instance_url="instanceUrl",
is_sandbox_environment=False,
use_private_link_for_metadata_and_authorization=False
),
sapo_data=appflow.CfnConnectorProfile.SAPODataConnectorProfilePropertiesProperty(
application_host_url="applicationHostUrl",
application_service_path="applicationServicePath",
client_number="clientNumber",
disable_sso=False,
logon_language="logonLanguage",
o_auth_properties=appflow.CfnConnectorProfile.OAuthPropertiesProperty(
auth_code_url="authCodeUrl",
o_auth_scopes=["oAuthScopes"],
token_url="tokenUrl"
),
port_number=123,
private_link_service_name="privateLinkServiceName"
),
service_now=appflow.CfnConnectorProfile.ServiceNowConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
),
slack=appflow.CfnConnectorProfile.SlackConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
),
snowflake=appflow.CfnConnectorProfile.SnowflakeConnectorProfilePropertiesProperty(
bucket_name="bucketName",
stage="stage",
warehouse="warehouse",
# the properties below are optional
account_name="accountName",
bucket_prefix="bucketPrefix",
private_link_service_name="privateLinkServiceName",
region="region"
),
veeva=appflow.CfnConnectorProfile.VeevaConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
),
zendesk=appflow.CfnConnectorProfile.ZendeskConnectorProfilePropertiesProperty(
instance_url="instanceUrl"
)
)
),
kms_arn="kmsArn"
)
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.appflow.*;
CfnConnectorProfileProps cfnConnectorProfileProps = CfnConnectorProfileProps.builder()
.connectionMode("connectionMode")
.connectorProfileName("connectorProfileName")
.connectorType("connectorType")
// the properties below are optional
.connectorLabel("connectorLabel")
.connectorProfileConfig(ConnectorProfileConfigProperty.builder()
.connectorProfileCredentials(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()
.oAuth2Credentials(OAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.clientId("clientId")
.clientSecret("clientSecret")
.oAuthRequest(ConnectorOAuthRequestProperty.builder()
.authCode("authCode")
.redirectUri("redirectUri")
.build())
.refreshToken("refreshToken")
.build())
.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())
.connectorProfileProperties(ConnectorProfilePropertiesProperty.builder()
.customConnector(CustomConnectorProfilePropertiesProperty.builder()
.oAuth2Properties(OAuth2PropertiesProperty.builder()
.oAuth2GrantType("oAuth2GrantType")
.tokenUrl("tokenUrl")
.tokenUrlCustomProperties(Map.of(
"tokenUrlCustomPropertiesKey", "tokenUrlCustomProperties"))
.build())
.profileProperties(Map.of(
"profilePropertiesKey", "profileProperties"))
.build())
.datadog(DatadogConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.dynatrace(DynatraceConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.inforNexus(InforNexusConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.marketo(MarketoConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.pardot(PardotConnectorProfilePropertiesProperty.builder()
.businessUnitId("businessUnitId")
// the properties below are optional
.instanceUrl("instanceUrl")
.isSandboxEnvironment(false)
.build())
.redshift(RedshiftConnectorProfilePropertiesProperty.builder()
.bucketName("bucketName")
.roleArn("roleArn")
// the properties below are optional
.bucketPrefix("bucketPrefix")
.clusterIdentifier("clusterIdentifier")
.dataApiRoleArn("dataApiRoleArn")
.databaseName("databaseName")
.databaseUrl("databaseUrl")
.isRedshiftServerless(false)
.workgroupName("workgroupName")
.build())
.salesforce(SalesforceConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.isSandboxEnvironment(false)
.usePrivateLinkForMetadataAndAuthorization(false)
.build())
.sapoData(SAPODataConnectorProfilePropertiesProperty.builder()
.applicationHostUrl("applicationHostUrl")
.applicationServicePath("applicationServicePath")
.clientNumber("clientNumber")
.disableSso(false)
.logonLanguage("logonLanguage")
.oAuthProperties(OAuthPropertiesProperty.builder()
.authCodeUrl("authCodeUrl")
.oAuthScopes(List.of("oAuthScopes"))
.tokenUrl("tokenUrl")
.build())
.portNumber(123)
.privateLinkServiceName("privateLinkServiceName")
.build())
.serviceNow(ServiceNowConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.slack(SlackConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.snowflake(SnowflakeConnectorProfilePropertiesProperty.builder()
.bucketName("bucketName")
.stage("stage")
.warehouse("warehouse")
// the properties below are optional
.accountName("accountName")
.bucketPrefix("bucketPrefix")
.privateLinkServiceName("privateLinkServiceName")
.region("region")
.build())
.veeva(VeevaConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.zendesk(ZendeskConnectorProfilePropertiesProperty.builder()
.instanceUrl("instanceUrl")
.build())
.build())
.build())
.kmsArn("kmsArn")
.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.AppFlow;
var cfnConnectorProfileProps = new CfnConnectorProfileProps {
ConnectionMode = "connectionMode",
ConnectorProfileName = "connectorProfileName",
ConnectorType = "connectorType",
// the properties below are optional
ConnectorLabel = "connectorLabel",
ConnectorProfileConfig = new ConnectorProfileConfigProperty {
ConnectorProfileCredentials = new ConnectorProfileCredentialsProperty {
Amplitude = new AmplitudeConnectorProfileCredentialsProperty {
ApiKey = "apiKey",
SecretKey = "secretKey"
},
CustomConnector = new CustomConnectorProfileCredentialsProperty {
AuthenticationType = "authenticationType",
// the properties below are optional
ApiKey = new ApiKeyCredentialsProperty {
ApiKey = "apiKey",
// the properties below are optional
ApiSecretKey = "apiSecretKey"
},
Basic = new BasicAuthCredentialsProperty {
Password = "password",
Username = "username"
},
Custom = new CustomAuthCredentialsProperty {
CustomAuthenticationType = "customAuthenticationType",
// the properties below are optional
CredentialsMap = new Dictionary<string, string> {
{ "credentialsMapKey", "credentialsMap" }
}
},
Oauth2 = new OAuth2CredentialsProperty {
AccessToken = "accessToken",
ClientId = "clientId",
ClientSecret = "clientSecret",
OAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
}
},
Datadog = new DatadogConnectorProfileCredentialsProperty {
ApiKey = "apiKey",
ApplicationKey = "applicationKey"
},
Dynatrace = new DynatraceConnectorProfileCredentialsProperty {
ApiToken = "apiToken"
},
GoogleAnalytics = new GoogleAnalyticsConnectorProfileCredentialsProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
// the properties below are optional
AccessToken = "accessToken",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
},
InforNexus = new InforNexusConnectorProfileCredentialsProperty {
AccessKeyId = "accessKeyId",
Datakey = "datakey",
SecretAccessKey = "secretAccessKey",
UserId = "userId"
},
Marketo = new MarketoConnectorProfileCredentialsProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
// the properties below are optional
AccessToken = "accessToken",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
}
},
Pardot = new PardotConnectorProfileCredentialsProperty {
AccessToken = "accessToken",
ClientCredentialsArn = "clientCredentialsArn",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
},
Redshift = new RedshiftConnectorProfileCredentialsProperty {
Password = "password",
Username = "username"
},
Salesforce = new SalesforceConnectorProfileCredentialsProperty {
AccessToken = "accessToken",
ClientCredentialsArn = "clientCredentialsArn",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
JwtToken = "jwtToken",
OAuth2GrantType = "oAuth2GrantType",
RefreshToken = "refreshToken"
},
SapoData = new SAPODataConnectorProfileCredentialsProperty {
BasicAuthCredentials = new BasicAuthCredentialsProperty {
Password = "password",
Username = "username"
},
OAuthCredentials = new OAuthCredentialsProperty {
AccessToken = "accessToken",
ClientId = "clientId",
ClientSecret = "clientSecret",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
}
},
ServiceNow = new ServiceNowConnectorProfileCredentialsProperty {
OAuth2Credentials = new OAuth2CredentialsProperty {
AccessToken = "accessToken",
ClientId = "clientId",
ClientSecret = "clientSecret",
OAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
},
Password = "password",
Username = "username"
},
Singular = new SingularConnectorProfileCredentialsProperty {
ApiKey = "apiKey"
},
Slack = new SlackConnectorProfileCredentialsProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
// the properties below are optional
AccessToken = "accessToken",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
}
},
Snowflake = new SnowflakeConnectorProfileCredentialsProperty {
Password = "password",
Username = "username"
},
Trendmicro = new TrendmicroConnectorProfileCredentialsProperty {
ApiSecretKey = "apiSecretKey"
},
Veeva = new VeevaConnectorProfileCredentialsProperty {
Password = "password",
Username = "username"
},
Zendesk = new ZendeskConnectorProfileCredentialsProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
// the properties below are optional
AccessToken = "accessToken",
ConnectorOAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
}
}
},
ConnectorProfileProperties = new ConnectorProfilePropertiesProperty {
CustomConnector = new CustomConnectorProfilePropertiesProperty {
OAuth2Properties = new OAuth2PropertiesProperty {
OAuth2GrantType = "oAuth2GrantType",
TokenUrl = "tokenUrl",
TokenUrlCustomProperties = new Dictionary<string, string> {
{ "tokenUrlCustomPropertiesKey", "tokenUrlCustomProperties" }
}
},
ProfileProperties = new Dictionary<string, string> {
{ "profilePropertiesKey", "profileProperties" }
}
},
Datadog = new DatadogConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
},
Dynatrace = new DynatraceConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
},
InforNexus = new InforNexusConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
},
Marketo = new MarketoConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
},
Pardot = new PardotConnectorProfilePropertiesProperty {
BusinessUnitId = "businessUnitId",
// the properties below are optional
InstanceUrl = "instanceUrl",
IsSandboxEnvironment = false
},
Redshift = new RedshiftConnectorProfilePropertiesProperty {
BucketName = "bucketName",
RoleArn = "roleArn",
// the properties below are optional
BucketPrefix = "bucketPrefix",
ClusterIdentifier = "clusterIdentifier",
DataApiRoleArn = "dataApiRoleArn",
DatabaseName = "databaseName",
DatabaseUrl = "databaseUrl",
IsRedshiftServerless = false,
WorkgroupName = "workgroupName"
},
Salesforce = new SalesforceConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl",
IsSandboxEnvironment = false,
UsePrivateLinkForMetadataAndAuthorization = false
},
SapoData = new SAPODataConnectorProfilePropertiesProperty {
ApplicationHostUrl = "applicationHostUrl",
ApplicationServicePath = "applicationServicePath",
ClientNumber = "clientNumber",
DisableSso = false,
LogonLanguage = "logonLanguage",
OAuthProperties = new OAuthPropertiesProperty {
AuthCodeUrl = "authCodeUrl",
OAuthScopes = new [] { "oAuthScopes" },
TokenUrl = "tokenUrl"
},
PortNumber = 123,
PrivateLinkServiceName = "privateLinkServiceName"
},
ServiceNow = new ServiceNowConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
},
Slack = new SlackConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
},
Snowflake = new SnowflakeConnectorProfilePropertiesProperty {
BucketName = "bucketName",
Stage = "stage",
Warehouse = "warehouse",
// the properties below are optional
AccountName = "accountName",
BucketPrefix = "bucketPrefix",
PrivateLinkServiceName = "privateLinkServiceName",
Region = "region"
},
Veeva = new VeevaConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
},
Zendesk = new ZendeskConnectorProfilePropertiesProperty {
InstanceUrl = "instanceUrl"
}
}
},
KmsArn = "kmsArn"
};
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"
cfnConnectorProfileProps := &CfnConnectorProfileProps{
ConnectionMode: jsii.String("connectionMode"),
ConnectorProfileName: jsii.String("connectorProfileName"),
ConnectorType: jsii.String("connectorType"),
// the properties below are optional
ConnectorLabel: jsii.String("connectorLabel"),
ConnectorProfileConfig: &ConnectorProfileConfigProperty{
ConnectorProfileCredentials: &ConnectorProfileCredentialsProperty{
Amplitude: &AmplitudeConnectorProfileCredentialsProperty{
ApiKey: jsii.String("apiKey"),
SecretKey: jsii.String("secretKey"),
},
CustomConnector: &CustomConnectorProfileCredentialsProperty{
AuthenticationType: jsii.String("authenticationType"),
// the properties below are optional
ApiKey: &ApiKeyCredentialsProperty{
ApiKey: jsii.String("apiKey"),
// the properties below are optional
ApiSecretKey: jsii.String("apiSecretKey"),
},
Basic: &BasicAuthCredentialsProperty{
Password: jsii.String("password"),
Username: jsii.String("username"),
},
Custom: &CustomAuthCredentialsProperty{
CustomAuthenticationType: jsii.String("customAuthenticationType"),
// the properties below are optional
CredentialsMap: map[string]*string{
"credentialsMapKey": jsii.String("credentialsMap"),
},
},
Oauth2: &OAuth2CredentialsProperty{
AccessToken: jsii.String("accessToken"),
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
OAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
RefreshToken: jsii.String("refreshToken"),
},
},
Datadog: &DatadogConnectorProfileCredentialsProperty{
ApiKey: jsii.String("apiKey"),
ApplicationKey: jsii.String("applicationKey"),
},
Dynatrace: &DynatraceConnectorProfileCredentialsProperty{
ApiToken: jsii.String("apiToken"),
},
GoogleAnalytics: &GoogleAnalyticsConnectorProfileCredentialsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
AccessToken: jsii.String("accessToken"),
ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
RefreshToken: jsii.String("refreshToken"),
},
InforNexus: &InforNexusConnectorProfileCredentialsProperty{
AccessKeyId: jsii.String("accessKeyId"),
Datakey: jsii.String("datakey"),
SecretAccessKey: jsii.String("secretAccessKey"),
UserId: jsii.String("userId"),
},
Marketo: &MarketoConnectorProfileCredentialsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
AccessToken: jsii.String("accessToken"),
ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
},
Pardot: &PardotConnectorProfileCredentialsProperty{
AccessToken: jsii.String("accessToken"),
ClientCredentialsArn: jsii.String("clientCredentialsArn"),
ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
RefreshToken: jsii.String("refreshToken"),
},
Redshift: &RedshiftConnectorProfileCredentialsProperty{
Password: jsii.String("password"),
Username: jsii.String("username"),
},
Salesforce: &SalesforceConnectorProfileCredentialsProperty{
AccessToken: jsii.String("accessToken"),
ClientCredentialsArn: jsii.String("clientCredentialsArn"),
ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
JwtToken: jsii.String("jwtToken"),
OAuth2GrantType: jsii.String("oAuth2GrantType"),
RefreshToken: jsii.String("refreshToken"),
},
SapoData: &SAPODataConnectorProfileCredentialsProperty{
BasicAuthCredentials: &BasicAuthCredentialsProperty{
Password: jsii.String("password"),
Username: jsii.String("username"),
},
OAuthCredentials: &OAuthCredentialsProperty{
AccessToken: jsii.String("accessToken"),
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
RefreshToken: jsii.String("refreshToken"),
},
},
ServiceNow: &ServiceNowConnectorProfileCredentialsProperty{
OAuth2Credentials: &OAuth2CredentialsProperty{
AccessToken: jsii.String("accessToken"),
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
OAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
RefreshToken: jsii.String("refreshToken"),
},
Password: jsii.String("password"),
Username: jsii.String("username"),
},
Singular: &SingularConnectorProfileCredentialsProperty{
ApiKey: jsii.String("apiKey"),
},
Slack: &SlackConnectorProfileCredentialsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
AccessToken: jsii.String("accessToken"),
ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
},
Snowflake: &SnowflakeConnectorProfileCredentialsProperty{
Password: jsii.String("password"),
Username: jsii.String("username"),
},
Trendmicro: &TrendmicroConnectorProfileCredentialsProperty{
ApiSecretKey: jsii.String("apiSecretKey"),
},
Veeva: &VeevaConnectorProfileCredentialsProperty{
Password: jsii.String("password"),
Username: jsii.String("username"),
},
Zendesk: &ZendeskConnectorProfileCredentialsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
AccessToken: jsii.String("accessToken"),
ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{
AuthCode: jsii.String("authCode"),
RedirectUri: jsii.String("redirectUri"),
},
},
},
ConnectorProfileProperties: &ConnectorProfilePropertiesProperty{
CustomConnector: &CustomConnectorProfilePropertiesProperty{
OAuth2Properties: &OAuth2PropertiesProperty{
OAuth2GrantType: jsii.String("oAuth2GrantType"),
TokenUrl: jsii.String("tokenUrl"),
TokenUrlCustomProperties: map[string]*string{
"tokenUrlCustomPropertiesKey": jsii.String("tokenUrlCustomProperties"),
},
},
ProfileProperties: map[string]*string{
"profilePropertiesKey": jsii.String("profileProperties"),
},
},
Datadog: &DatadogConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
Dynatrace: &DynatraceConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
InforNexus: &InforNexusConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
Marketo: &MarketoConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
Pardot: &PardotConnectorProfilePropertiesProperty{
BusinessUnitId: jsii.String("businessUnitId"),
// the properties below are optional
InstanceUrl: jsii.String("instanceUrl"),
IsSandboxEnvironment: jsii.Boolean(false),
},
Redshift: &RedshiftConnectorProfilePropertiesProperty{
BucketName: jsii.String("bucketName"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
BucketPrefix: jsii.String("bucketPrefix"),
ClusterIdentifier: jsii.String("clusterIdentifier"),
DataApiRoleArn: jsii.String("dataApiRoleArn"),
DatabaseName: jsii.String("databaseName"),
DatabaseUrl: jsii.String("databaseUrl"),
IsRedshiftServerless: jsii.Boolean(false),
WorkgroupName: jsii.String("workgroupName"),
},
Salesforce: &SalesforceConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
IsSandboxEnvironment: jsii.Boolean(false),
UsePrivateLinkForMetadataAndAuthorization: jsii.Boolean(false),
},
SapoData: &SAPODataConnectorProfilePropertiesProperty{
ApplicationHostUrl: jsii.String("applicationHostUrl"),
ApplicationServicePath: jsii.String("applicationServicePath"),
ClientNumber: jsii.String("clientNumber"),
DisableSso: jsii.Boolean(false),
LogonLanguage: jsii.String("logonLanguage"),
OAuthProperties: &OAuthPropertiesProperty{
AuthCodeUrl: jsii.String("authCodeUrl"),
OAuthScopes: []*string{
jsii.String("oAuthScopes"),
},
TokenUrl: jsii.String("tokenUrl"),
},
PortNumber: jsii.Number(123),
PrivateLinkServiceName: jsii.String("privateLinkServiceName"),
},
ServiceNow: &ServiceNowConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
Slack: &SlackConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
Snowflake: &SnowflakeConnectorProfilePropertiesProperty{
BucketName: jsii.String("bucketName"),
Stage: jsii.String("stage"),
Warehouse: jsii.String("warehouse"),
// the properties below are optional
AccountName: jsii.String("accountName"),
BucketPrefix: jsii.String("bucketPrefix"),
PrivateLinkServiceName: jsii.String("privateLinkServiceName"),
Region: jsii.String("region"),
},
Veeva: &VeevaConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
Zendesk: &ZendeskConnectorProfilePropertiesProperty{
InstanceUrl: jsii.String("instanceUrl"),
},
},
},
KmsArn: jsii.String("kmsArn"),
}
Properties
connectionModestringconnection_modestrconnectionModeStringConnectionModestringConnectionMode*string required #Indicates the connection mode and if it is public or private.
connectorLabeloptionalstringconnector_labeloptionalstrconnectorLabeloptionalStringConnectorLabeloptionalstringConnectorLabeloptional*string #The label for the connector profile being created.
connectorProfileConfigoptionalIResolvable | CfnConnectorProfile.connector_profile_configoptionaltyping.Union[IResolvable, ConnectorProfileConfigProperty]connectorProfileConfigoptionalIResolvableConnectorProfileConfigoptionalIResolvableConnectorProfileConfigoptionalinterface{} #Defines the connector-specific configuration and credentials.
connectorProfileNamestringconnector_profile_namestrconnectorProfileNameStringConnectorProfileNamestringConnectorProfileName*string required #The name of the connector profile.
The name is unique for each ConnectorProfile in the AWS account .
connectorTypestringconnector_typestrconnectorTypeStringConnectorTypestringConnectorType*string required #The type of connector, such as Salesforce, Amplitude, and so on.
kmsArnoptionalstringkms_arnoptionalstrkmsArnoptionalStringKmsArnoptionalstringKmsArnoptional*string #The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.
This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.