Struct google_api_proto::google::pubsub::v1::ingestion_data_source_settings::AwsKinesis
source · pub struct AwsKinesis {
pub state: i32,
pub stream_arn: String,
pub consumer_arn: String,
pub aws_role_arn: String,
pub gcp_service_account: String,
}
Expand description
Ingestion settings for Amazon Kinesis Data Streams.
Fields§
§state: i32
Output only. An output-only field that indicates the state of the Kinesis ingestion source.
stream_arn: String
Required. The Kinesis stream ARN to ingest data from.
consumer_arn: String
Required. The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode. The consumer must be already created and ready to be used.
aws_role_arn: String
Required. AWS role ARN to be used for Federated Identity authentication with Kinesis. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.
gcp_service_account: String
Required. The GCP service account to be used for Federated Identity
authentication with Kinesis (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.
Implementations§
Trait Implementations§
source§impl Clone for AwsKinesis
impl Clone for AwsKinesis
source§fn clone(&self) -> AwsKinesis
fn clone(&self) -> AwsKinesis
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsKinesis
impl Debug for AwsKinesis
source§impl Default for AwsKinesis
impl Default for AwsKinesis
source§impl Message for AwsKinesis
impl Message for AwsKinesis
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AwsKinesis
impl PartialEq for AwsKinesis
source§fn eq(&self, other: &AwsKinesis) -> bool
fn eq(&self, other: &AwsKinesis) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsKinesis
Auto Trait Implementations§
impl Freeze for AwsKinesis
impl RefUnwindSafe for AwsKinesis
impl Send for AwsKinesis
impl Sync for AwsKinesis
impl Unpin for AwsKinesis
impl UnwindSafe for AwsKinesis
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request