GoogleApi.PubSub.V1.Model.AwsMsk (google_api_pub_sub v0.42.0)

View Source

Ingestion settings for Amazon MSK.

Attributes

  • awsRoleArn (type: String.t, default: nil) - 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 (type: String.t, default: nil) - Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.
  • gcpServiceAccount (type: String.t, default: nil) - 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.
  • state (type: String.t, default: nil) - Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.
  • topic (type: String.t, default: nil) - Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSub.V1.Model.AwsMsk{
  awsRoleArn: String.t() | nil,
  clusterArn: String.t() | nil,
  gcpServiceAccount: String.t() | nil,
  state: String.t() | nil,
  topic: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.