#[non_exhaustive]pub struct AwsKinesisStreamDetails {
pub name: Option<String>,
pub arn: Option<String>,
pub stream_encryption: Option<AwsKinesisStreamStreamEncryptionDetails>,
pub shard_count: Option<i32>,
pub retention_period_hours: Option<i32>,
}Expand description
Provides information about an Amazon Kinesis data stream.
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.name: Option<String>The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the stream name.
arn: Option<String>The Amazon Resource Name (ARN) of the Kinesis data stream.
stream_encryption: Option<AwsKinesisStreamStreamEncryptionDetails>When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
shard_count: Option<i32>The number of shards that the stream uses.
retention_period_hours: Option<i32>The number of hours for the data records that are stored in shards to remain accessible.
Implementations§
source§impl AwsKinesisStreamDetails
impl AwsKinesisStreamDetails
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the stream name.
sourcepub fn stream_encryption(
&self,
) -> Option<&AwsKinesisStreamStreamEncryptionDetails>
pub fn stream_encryption( &self, ) -> Option<&AwsKinesisStreamStreamEncryptionDetails>
When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
sourcepub fn shard_count(&self) -> Option<i32>
pub fn shard_count(&self) -> Option<i32>
The number of shards that the stream uses.
sourcepub fn retention_period_hours(&self) -> Option<i32>
pub fn retention_period_hours(&self) -> Option<i32>
The number of hours for the data records that are stored in shards to remain accessible.
source§impl AwsKinesisStreamDetails
impl AwsKinesisStreamDetails
sourcepub fn builder() -> AwsKinesisStreamDetailsBuilder
pub fn builder() -> AwsKinesisStreamDetailsBuilder
Creates a new builder-style object to manufacture AwsKinesisStreamDetails.
Trait Implementations§
source§impl Clone for AwsKinesisStreamDetails
impl Clone for AwsKinesisStreamDetails
source§fn clone(&self) -> AwsKinesisStreamDetails
fn clone(&self) -> AwsKinesisStreamDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsKinesisStreamDetails
impl Debug for AwsKinesisStreamDetails
source§impl PartialEq for AwsKinesisStreamDetails
impl PartialEq for AwsKinesisStreamDetails
source§fn eq(&self, other: &AwsKinesisStreamDetails) -> bool
fn eq(&self, other: &AwsKinesisStreamDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsKinesisStreamDetails
Auto Trait Implementations§
impl Freeze for AwsKinesisStreamDetails
impl RefUnwindSafe for AwsKinesisStreamDetails
impl Send for AwsKinesisStreamDetails
impl Sync for AwsKinesisStreamDetails
impl Unpin for AwsKinesisStreamDetails
impl UnwindSafe for AwsKinesisStreamDetails
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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