defineAivenKafkaTopics
defineAivenKafkaTopics<
Entries extends Record<string, AivenKafkaTopicArgs>,
>(
entries: Entries,
): AivenKafkaTopicHandles<Entries>Captures topic declarations and returns one immutable, plan-time handle per literal map key.
Remarks
Nested provider arguments remain consumer-owned and must not be mutated after this call.
Type Parameters
EntriesextendsRecord<string, AivenKafkaTopicArgs>
Parameters
entries(Entries) — Topic creation or reference declarations keyed by stable logical identity.
Returns
AivenKafkaTopicHandles<Entries>— A frozen handle collection preserving every literal key and a shallow snapshot of the declaration map.