@salesforce/b2c-tooling-sdk / operations/mrt / CreateProjectBackendOptions
Interface: CreateProjectBackendOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:910
Options for createProjectWithBackend.
Extends
Properties
legacyAuth?
optionallegacyAuth:AuthStrategy
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:824
Legacy API-key auth strategy. Optional; required only when the legacy backend actually runs.
Inherited from
ProjectBackendOptions.legacyAuth
name
name:
string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:912
Project / storefront name (both backends).
onFallback()?
optionalonFallback: (reason) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:828
Invoked when auto falls back from SCAPI to legacy.
Parameters
reason
string
Returns
void
Inherited from
ProjectBackendOptions.onFallback
onResolve()?
optionalonResolve: (backend) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:830
Invoked with the backend that serves the call (for -D debug).
Parameters
backend
Returns
void
Inherited from
ProjectBackendOptions.onResolve
organization?
optionalorganization:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:916
Organization slug (legacy only; SCAPI is scoped to the connection's tenant).
origin?
optionalorigin:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:826
Legacy MRT API origin.
Inherited from
preference
preference:
MrtBackendPreference
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:820
Resolved --mrt-backend preference.
Inherited from
ProjectBackendOptions.preference
scapiConnection?
optionalscapiConnection:ScapiMrtConnection
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:822
SCAPI connection; when absent, auto uses legacy and scapi throws.
Inherited from
ProjectBackendOptions.scapiConnection
sites?
optionalsites:string[]
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:926
Site IDs to assign (SCAPI only; at least one required for SCAPI).
slug?
optionalslug:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:914
Desired project slug (legacy only; SCAPI generates the storefront ID).
ssrRegion?
optionalssrRegion:"us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"ap-south-1"|"ap-south-2"|"ap-northeast-2"|"ap-southeast-1"|"ap-southeast-2"|"ap-southeast-3"|"ap-northeast-1"|"ap-northeast-3"|"ca-central-1"|"eu-central-1"|"eu-central-2"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"eu-north-1"|"eu-south-1"|"il-central-1"|"me-central-1"|"sa-east-1"
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:920
Default SSR region, hyphenated legacy form (legacy only).
staticIpsDefault?
optionalstaticIpsDefault:boolean
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:922
Default static-IP setting for new environments (legacy only).
type?
optionaltype:"storefront_next"
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:924
Storefront type (SCAPI only; defaults to storefront_next).
url?
optionalurl:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:918
Project URL (legacy only).