Struct aws_sdk_cloudfront::types::KinesisStreamConfig
source · #[non_exhaustive]pub struct KinesisStreamConfig {
pub role_arn: String,
pub stream_arn: String,
}
Expand description
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: String
The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.
For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
stream_arn: String
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
Implementations§
source§impl KinesisStreamConfig
impl KinesisStreamConfig
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.
For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
sourcepub fn stream_arn(&self) -> &str
pub fn stream_arn(&self) -> &str
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
source§impl KinesisStreamConfig
impl KinesisStreamConfig
sourcepub fn builder() -> KinesisStreamConfigBuilder
pub fn builder() -> KinesisStreamConfigBuilder
Creates a new builder-style object to manufacture KinesisStreamConfig
.
Trait Implementations§
source§impl Clone for KinesisStreamConfig
impl Clone for KinesisStreamConfig
source§fn clone(&self) -> KinesisStreamConfig
fn clone(&self) -> KinesisStreamConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KinesisStreamConfig
impl Debug for KinesisStreamConfig
source§impl PartialEq for KinesisStreamConfig
impl PartialEq for KinesisStreamConfig
source§fn eq(&self, other: &KinesisStreamConfig) -> bool
fn eq(&self, other: &KinesisStreamConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KinesisStreamConfig
Auto Trait Implementations§
impl Freeze for KinesisStreamConfig
impl RefUnwindSafe for KinesisStreamConfig
impl Send for KinesisStreamConfig
impl Sync for KinesisStreamConfig
impl Unpin for KinesisStreamConfig
impl UnwindSafe for KinesisStreamConfig
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more