Skip to content
v2.278.0

ConnectorProfilePropertiesProperty Struct ​

The connector-specific profile properties required by each connector.

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 connectorProfilePropertiesProperty: appflow.CfnConnectorProfile.ConnectorProfilePropertiesProperty = {
  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',
  },
};
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

connector_profile_properties_property = 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"
    )
)
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.*;

ConnectorProfilePropertiesProperty connectorProfilePropertiesProperty = 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();
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 connectorProfilePropertiesProperty = 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"
    }
};
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"

connectorProfilePropertiesProperty := &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"),
	},
}

Properties ​

customConnectoroptionalIResolvable | CfnConnectorProfile.CustomConnectorProfilePropertiesPropertycustom_connectoroptionaltyping.Union[IResolvable, CustomConnectorProfilePropertiesProperty]customConnectoroptionalIResolvableCustomConnectoroptionalIResolvableCustomConnectoroptionalinterface{} #
The properties required by the custom connector.
datadogoptionalIResolvable | CfnConnectorProfile.DatadogConnectorProfilePropertiesPropertydatadogoptionaltyping.Union[IResolvable, DatadogConnectorProfilePropertiesProperty]datadogoptionalIResolvableDatadogoptionalIResolvableDatadogoptionalinterface{} #
The connector-specific properties required by Datadog.
dynatraceoptionalIResolvable | CfnConnectorProfile.DynatraceConnectorProfilePropertiesPropertydynatraceoptionaltyping.Union[IResolvable, DynatraceConnectorProfilePropertiesProperty]dynatraceoptionalIResolvableDynatraceoptionalIResolvableDynatraceoptionalinterface{} #
The connector-specific properties required by Dynatrace.
inforNexusoptionalIResolvable | CfnConnectorProfile.InforNexusConnectorProfilePropertiesPropertyinfor_nexusoptionaltyping.Union[IResolvable, InforNexusConnectorProfilePropertiesProperty]inforNexusoptionalIResolvableInforNexusoptionalIResolvableInforNexusoptionalinterface{} #
The connector-specific properties required by Infor Nexus.
marketooptionalIResolvable | CfnConnectorProfile.MarketoConnectorProfilePropertiesPropertymarketooptionaltyping.Union[IResolvable, MarketoConnectorProfilePropertiesProperty]marketooptionalIResolvableMarketooptionalIResolvableMarketooptionalinterface{} #
The connector-specific properties required by Marketo.
pardotoptionalIResolvable | CfnConnectorProfile.PardotConnectorProfilePropertiesPropertypardotoptionaltyping.Union[IResolvable, PardotConnectorProfilePropertiesProperty]pardotoptionalIResolvablePardotoptionalIResolvablePardotoptionalinterface{} #
The connector-specific properties required by Salesforce Pardot.
redshiftoptionalIResolvable | CfnConnectorProfile.RedshiftConnectorProfilePropertiesPropertyredshiftoptionaltyping.Union[IResolvable, RedshiftConnectorProfilePropertiesProperty]redshiftoptionalIResolvableRedshiftoptionalIResolvableRedshiftoptionalinterface{} #
The connector-specific properties required by Amazon Redshift.
salesforceoptionalIResolvable | CfnConnectorProfile.SalesforceConnectorProfilePropertiesPropertysalesforceoptionaltyping.Union[IResolvable, SalesforceConnectorProfilePropertiesProperty]salesforceoptionalIResolvableSalesforceoptionalIResolvableSalesforceoptionalinterface{} #
The connector-specific properties required by Salesforce.
sapoDataoptionalIResolvable | CfnConnectorProfile.SAPODataConnectorProfilePropertiesPropertysapo_dataoptionaltyping.Union[IResolvable, SAPODataConnectorProfilePropertiesProperty]sapoDataoptionalIResolvableSapoDataoptionalIResolvableSapoDataoptionalinterface{} #
The connector-specific profile properties required when using SAPOData.
serviceNowoptionalIResolvable | CfnConnectorProfile.ServiceNowConnectorProfilePropertiesPropertyservice_nowoptionaltyping.Union[IResolvable, ServiceNowConnectorProfilePropertiesProperty]serviceNowoptionalIResolvableServiceNowoptionalIResolvableServiceNowoptionalinterface{} #
The connector-specific properties required by serviceNow.
slackoptionalIResolvable | CfnConnectorProfile.SlackConnectorProfilePropertiesPropertyslackoptionaltyping.Union[IResolvable, SlackConnectorProfilePropertiesProperty]slackoptionalIResolvableSlackoptionalIResolvableSlackoptionalinterface{} #
The connector-specific properties required by Slack.
snowflakeoptionalIResolvable | CfnConnectorProfile.SnowflakeConnectorProfilePropertiesPropertysnowflakeoptionaltyping.Union[IResolvable, SnowflakeConnectorProfilePropertiesProperty]snowflakeoptionalIResolvableSnowflakeoptionalIResolvableSnowflakeoptionalinterface{} #
The connector-specific properties required by Snowflake.
veevaoptionalIResolvable | CfnConnectorProfile.VeevaConnectorProfilePropertiesPropertyveevaoptionaltyping.Union[IResolvable, VeevaConnectorProfilePropertiesProperty]veevaoptionalIResolvableVeevaoptionalIResolvableVeevaoptionalinterface{} #
The connector-specific properties required by Veeva.
zendeskoptionalIResolvable | CfnConnectorProfile.ZendeskConnectorProfilePropertiesPropertyzendeskoptionaltyping.Union[IResolvable, ZendeskConnectorProfilePropertiesProperty]zendeskoptionalIResolvableZendeskoptionalIResolvableZendeskoptionalinterface{} #
The connector-specific properties required by Zendesk.