Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AwsMsk

import type { AwsMsk } from "https://googleapis.deno.dev/v1/pubsub:v1.ts";

Ingestion settings for Amazon MSK.

interface AwsMsk {
awsRoleArn?: string;
clusterArn?: string;
gcpServiceAccount?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "ACTIVE"
| "MSK_PERMISSION_DENIED"
| "PUBLISH_PERMISSION_DENIED"
| "CLUSTER_NOT_FOUND"
| "TOPIC_NOT_FOUND";
topic?: string;
}

§Properties

§
awsRoleArn?: string
[src]

Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.

§
clusterArn?: string
[src]

Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.

§
gcpServiceAccount?: string
[src]

Required. The GCP service account to be used for Federated Identity authentication with Amazon MSK (via a AssumeRoleWithWebIdentity call for the provided role). The aws_role_arn must be set up with accounts.google.com:sub equals to this service account number.

§
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "MSK_PERMISSION_DENIED" | "PUBLISH_PERMISSION_DENIED" | "CLUSTER_NOT_FOUND" | "TOPIC_NOT_FOUND"
[src]

Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.

§
topic?: string
[src]

Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.