GCP.ContactCenterAIPlatform reference
ContactCenter
Section titled “ContactCenter”Source:
packages/gcp/src/ContactCenterAIPlatform/ContactCenter.ts
A Contact Center AI Platform (CCAIP) instance.
Create, update, and delete are long-running operations. Location,
contact center id, customerDomainPrefix, instanceConfig, and
kmsKey are immutable. Display name, labels, admin user, SAML, feature
flags, private access, advanced reporting, and release channel update
in place.
Provisioning is entitlement-gated and typically takes several minutes.
ContactCenter: Creating a Contact Center
Section titled “ContactCenter: Creating a Contact Center”Generated name
const center = yield* GCP.ContactCenterAIPlatform.ContactCenter("Support", { displayName: "support", instanceSize: "DEV_SMALL",});Explicit id, domain prefix, and labels
const center = yield* GCP.ContactCenterAIPlatform.ContactCenter("Support", { contactCenterId: "support-desk", location: "us-central1", displayName: "Support desk", customerDomainPrefix: "supdesk", instanceSize: "DEV_SMALL", labels: { env: "prod" },});ContactCenter: Updating a Contact Center
Section titled “ContactCenter: Updating a Contact Center”const center = yield* GCP.ContactCenterAIPlatform.ContactCenter("Support", { customerDomainPrefix: "supdesk", displayName: "Support desk v2", labels: { env: "prod", team: "cx" },});ContactCenter: Looking up an existing contact center
Section titled “ContactCenter: Looking up an existing contact center”ContactCenter.lookup references a contact center Alchemy doesn’t manage
(created in the console or by another stack). It is read during
plan/deploy, never created, updated or deleted, and binds like a declared
contact center.
const contactCenter = GCP.ContactCenterAIPlatform.ContactCenter.lookup({ contactCenterId: "my-contact-center",});