@salesforce/b2c-tooling-sdk / operations/mrt / CreateProjectBackendOptions
Interface: CreateProjectBackendOptions
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:883
Options for createProjectWithBackend.
Extends
Properties
legacyAuth?
optionallegacyAuth:AuthStrategy
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:797
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:885
Project / storefront name (both backends).
onFallback()?
optionalonFallback: (reason) =>void
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:801
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:803
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:889
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:799
Legacy MRT API origin.
Inherited from
preference
preference:
MrtBackendPreference
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:793
Resolved --mrt-backend preference.
Inherited from
ProjectBackendOptions.preference
scapiConnection?
optionalscapiConnection:ScapiMrtConnection
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:795
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:899
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:887
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:893
Default SSR region, hyphenated legacy form (legacy only).
staticIpsDefault?
optionalstaticIpsDefault:boolean
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:895
Default static-IP setting for new environments (legacy only).
type?
optionaltype:"storefront_next"
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:897
Storefront type (SCAPI only; defaults to storefront_next).
url?
optionalurl:string
Defined in: packages/b2c-tooling-sdk/src/operations/mrt/project.ts:891
Project URL (legacy only).