Optional ReadonlyapnsOPTIONAL APNs channel configuration (token / .p8 auth). When provided, the
construct enables the APNs channel on the created End User Messaging
(Pinpoint) application. All values are plain strings — the Amplify Gen2
factory resolves the .p8 key from an Amplify secret() before passing it
here, keeping this construct framework-agnostic. When omitted, no APNs
channel is configured.
ReadonlybundleId: stringThe iOS app bundle identifier.
Optional Readonlysandbox?: booleanConfigure the APNs sandbox channel instead of the production channel.
ReadonlyteamId: stringThe Apple Developer account team identifier.
ReadonlytokenKey: stringThe APNs token signing key contents (the AuthKey_<tokenKeyId>.p8 file).
ReadonlytokenKeyId: stringThe 10-character key identifier assigned to the APNs signing key (CFN TokenKeyId).
Optional ReadonlydomainName of an EXISTING Customer Profiles domain to attach to — e.g. the domain Amazon Connect auto-creates when Customer Profiles is enabled on an instance. When provided, the construct runs in ATTACH mode: it registers the AmplifyProfile object type INTO this domain and never creates an instance or a domain.
OMIT this to run in the default CREATE-FROM-SCRATCH mode: the construct provisions a brand-new Amazon Connect instance AND a brand-new Customer Profiles domain (with generated, stable names) and wires everything into that new domain — so a caller needs zero pre-existing Connect setup.
Optional ReadonlyexpirationProfile / object-type expiration in days. Default: 366.
Optional ReadonlyfcmOPTIONAL FCM/GCM channel configuration (FCM HTTP v1 auth). When provided, the
construct enables the GCM channel on the created End User Messaging
(Pinpoint) application. The value is a plain string — the Amplify Gen2
factory resolves the service-account JSON from an Amplify secret() before
passing it here. When omitted, no GCM channel is configured.
ReadonlyserviceJson: stringThe FCM HTTP v1 service-account JSON credential contents.
Optional ReadonlyinstanceCREATE mode only: override the auto-generated Amazon Connect instance alias.
Ignored in attach mode. When omitted, a deterministic-yet-unique alias is
derived from the construct's scope so it is stable across deploy/delete and
unique per app. Lowercase alphanumeric characters + hyphens; must not start
with
d-.
Properties for the framework-agnostic AmplifyNotifications CDK construct. Selects attach vs. create-from-scratch mode (via
domainName) and carries the optional APNs / FCM push-channel configuration and create-mode tuning (instanceAlias,expirationDays). All values are plain (non-secret) inputs; thedefineNotificationsGen2 factory resolves any Amplifysecret()values before constructing this.