published on Sunday, Oct 11, 2026 by Descope
published on Sunday, Oct 11, 2026 by Descope
Manages a Salesforce Marketing Cloud connector and its configuration in a Descope project. Send transactional messages with the Salesforce Marketing Cloud connector.
Create SalesforceMarketingCloudConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SalesforceMarketingCloudConnector(name: string, args: SalesforceMarketingCloudConnectorArgs, opts?: CustomResourceOptions);@overload
def SalesforceMarketingCloudConnector(resource_name: str,
args: SalesforceMarketingCloudConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SalesforceMarketingCloudConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
project_id: Optional[str] = None,
subdomain: Optional[str] = None,
account_id: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
name: Optional[str] = None,
scope: Optional[str] = None)func NewSalesforceMarketingCloudConnector(ctx *Context, name string, args SalesforceMarketingCloudConnectorArgs, opts ...ResourceOption) (*SalesforceMarketingCloudConnector, error)public SalesforceMarketingCloudConnector(string name, SalesforceMarketingCloudConnectorArgs args, CustomResourceOptions? opts = null)
public SalesforceMarketingCloudConnector(String name, SalesforceMarketingCloudConnectorArgs args)
public SalesforceMarketingCloudConnector(String name, SalesforceMarketingCloudConnectorArgs args, CustomResourceOptions options)
type: descope:SalesforceMarketingCloudConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "descope_salesforce_marketing_cloud_connector" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SalesforceMarketingCloudConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SalesforceMarketingCloudConnectorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SalesforceMarketingCloudConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SalesforceMarketingCloudConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SalesforceMarketingCloudConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var salesforceMarketingCloudConnectorResource = new Descope.SalesforceMarketingCloudConnector("salesforceMarketingCloudConnectorResource", new()
{
ClientId = "string",
ClientSecret = "string",
ProjectId = "string",
Subdomain = "string",
AccountId = "string",
Description = "string",
Disabled = false,
Name = "string",
Scope = "string",
});
example, err := descope.NewSalesforceMarketingCloudConnector(ctx, "salesforceMarketingCloudConnectorResource", &descope.SalesforceMarketingCloudConnectorArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Subdomain: pulumi.String("string"),
AccountId: pulumi.String("string"),
Description: pulumi.String("string"),
Disabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Scope: pulumi.String("string"),
})
resource "descope_salesforce_marketing_cloud_connector" "salesforceMarketingCloudConnectorResource" {
lifecycle {
create_before_destroy = true
}
client_id = "string"
client_secret = "string"
project_id = "string"
subdomain = "string"
account_id = "string"
description = "string"
disabled = false
name = "string"
scope = "string"
}
var salesforceMarketingCloudConnectorResource = new SalesforceMarketingCloudConnector("salesforceMarketingCloudConnectorResource", SalesforceMarketingCloudConnectorArgs.builder()
.clientId("string")
.clientSecret("string")
.projectId("string")
.subdomain("string")
.accountId("string")
.description("string")
.disabled(false)
.name("string")
.scope("string")
.build());
salesforce_marketing_cloud_connector_resource = descope.SalesforceMarketingCloudConnector("salesforceMarketingCloudConnectorResource",
client_id="string",
client_secret="string",
project_id="string",
subdomain="string",
account_id="string",
description="string",
disabled=False,
name="string",
scope="string")
const salesforceMarketingCloudConnectorResource = new descope.SalesforceMarketingCloudConnector("salesforceMarketingCloudConnectorResource", {
clientId: "string",
clientSecret: "string",
projectId: "string",
subdomain: "string",
accountId: "string",
description: "string",
disabled: false,
name: "string",
scope: "string",
});
type: descope:SalesforceMarketingCloudConnector
properties:
accountId: string
clientId: string
clientSecret: string
description: string
disabled: false
name: string
projectId: string
scope: string
subdomain: string
SalesforceMarketingCloudConnector Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SalesforceMarketingCloudConnector resource accepts the following input properties:
- Client
Id string - Client ID issued when you create the API integration in Installed Packages.
- Client
Secret string - Client secret issued when you create the API integration in Installed Packages.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- Account
Id string - Account identifier, or MID, of the target business unit.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Scope string
- Space-separated list of data-access permissions for your connector.
- Client
Id string - Client ID issued when you create the API integration in Installed Packages.
- Client
Secret string - Client secret issued when you create the API integration in Installed Packages.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- Account
Id string - Account identifier, or MID, of the target business unit.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Scope string
- Space-separated list of data-access permissions for your connector.
- client_
id string - Client ID issued when you create the API integration in Installed Packages.
- client_
secret string - Client secret issued when you create the API integration in Installed Packages.
- project_
id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- account_
id string - Account identifier, or MID, of the target business unit.
- description string
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- scope string
- Space-separated list of data-access permissions for your connector.
- client
Id String - Client ID issued when you create the API integration in Installed Packages.
- client
Secret String - Client secret issued when you create the API integration in Installed Packages.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- subdomain String
- The Salesforce Marketing Cloud endpoint subdomain.
- account
Id String - Account identifier, or MID, of the target business unit.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- scope String
- Space-separated list of data-access permissions for your connector.
- client
Id string - Client ID issued when you create the API integration in Installed Packages.
- client
Secret string - Client secret issued when you create the API integration in Installed Packages.
- project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- account
Id string - Account identifier, or MID, of the target business unit.
- description string
- A description of what your connector is used for.
- disabled boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- scope string
- Space-separated list of data-access permissions for your connector.
- client_
id str - Client ID issued when you create the API integration in Installed Packages.
- client_
secret str - Client secret issued when you create the API integration in Installed Packages.
- project_
id str - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- subdomain str
- The Salesforce Marketing Cloud endpoint subdomain.
- account_
id str - Account identifier, or MID, of the target business unit.
- description str
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name str
- A custom name for your connector.
- scope str
- Space-separated list of data-access permissions for your connector.
- client
Id String - Client ID issued when you create the API integration in Installed Packages.
- client
Secret String - Client secret issued when you create the API integration in Installed Packages.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- subdomain String
- The Salesforce Marketing Cloud endpoint subdomain.
- account
Id String - Account identifier, or MID, of the target business unit.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- scope String
- Space-separated list of data-access permissions for your connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the SalesforceMarketingCloudConnector resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SalesforceMarketingCloudConnector Resource
Get an existing SalesforceMarketingCloudConnector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SalesforceMarketingCloudConnectorState, opts?: CustomResourceOptions): SalesforceMarketingCloudConnector@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
scope: Optional[str] = None,
subdomain: Optional[str] = None) -> SalesforceMarketingCloudConnectorfunc GetSalesforceMarketingCloudConnector(ctx *Context, name string, id IDInput, state *SalesforceMarketingCloudConnectorState, opts ...ResourceOption) (*SalesforceMarketingCloudConnector, error)public static SalesforceMarketingCloudConnector Get(string name, Input<string> id, SalesforceMarketingCloudConnectorState? state, CustomResourceOptions? opts = null)public static SalesforceMarketingCloudConnector get(String name, Output<String> id, SalesforceMarketingCloudConnectorState state, CustomResourceOptions options)resources: existingSalesforceMarketingCloudConnector: type: descope:SalesforceMarketingCloudConnector get: id: ${id}import {
to = descope_salesforce_marketing_cloud_connector.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state SalesforceMarketingCloudConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state SalesforceMarketingCloudConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state SalesforceMarketingCloudConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state SalesforceMarketingCloudConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Account
Id string - Account identifier, or MID, of the target business unit.
- Client
Id string - Client ID issued when you create the API integration in Installed Packages.
- Client
Secret string - Client secret issued when you create the API integration in Installed Packages.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Scope string
- Space-separated list of data-access permissions for your connector.
- Subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- Account
Id string - Account identifier, or MID, of the target business unit.
- Client
Id string - Client ID issued when you create the API integration in Installed Packages.
- Client
Secret string - Client secret issued when you create the API integration in Installed Packages.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- Scope string
- Space-separated list of data-access permissions for your connector.
- Subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- account_
id string - Account identifier, or MID, of the target business unit.
- client_
id string - Client ID issued when you create the API integration in Installed Packages.
- client_
secret string - Client secret issued when you create the API integration in Installed Packages.
- description string
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- project_
id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- scope string
- Space-separated list of data-access permissions for your connector.
- subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- account
Id String - Account identifier, or MID, of the target business unit.
- client
Id String - Client ID issued when you create the API integration in Installed Packages.
- client
Secret String - Client secret issued when you create the API integration in Installed Packages.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- scope String
- Space-separated list of data-access permissions for your connector.
- subdomain String
- The Salesforce Marketing Cloud endpoint subdomain.
- account
Id string - Account identifier, or MID, of the target business unit.
- client
Id string - Client ID issued when you create the API integration in Installed Packages.
- client
Secret string - Client secret issued when you create the API integration in Installed Packages.
- description string
- A description of what your connector is used for.
- disabled boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- project
Id string - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- scope string
- Space-separated list of data-access permissions for your connector.
- subdomain string
- The Salesforce Marketing Cloud endpoint subdomain.
- account_
id str - Account identifier, or MID, of the target business unit.
- client_
id str - Client ID issued when you create the API integration in Installed Packages.
- client_
secret str - Client secret issued when you create the API integration in Installed Packages.
- description str
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name str
- A custom name for your connector.
- project_
id str - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- scope str
- Space-separated list of data-access permissions for your connector.
- subdomain str
- The Salesforce Marketing Cloud endpoint subdomain.
- account
Id String - Account identifier, or MID, of the target business unit.
- client
Id String - Client ID issued when you create the API integration in Installed Packages.
- client
Secret String - Client secret issued when you create the API integration in Installed Packages.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- project
Id String - The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
- scope String
- Space-separated list of data-access permissions for your connector.
- subdomain String
- The Salesforce Marketing Cloud endpoint subdomain.
Package Details
- Repository
- descope descope/pulumi-descope
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
descopeTerraform Provider.
published on Sunday, Oct 11, 2026 by Descope