#[non_exhaustive]pub struct AwsKinesisStreamDetails { /* private fields */ }
Expand description
Provides information about an Amazon Kinesis data stream.
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) -> i32
pub fn shard_count(&self) -> i32
The number of shards that the stream uses.
sourcepub fn retention_period_hours(&self) -> i32
pub fn retention_period_hours(&self) -> 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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AwsKinesisStreamDetails
impl Debug for AwsKinesisStreamDetails
source§impl PartialEq<AwsKinesisStreamDetails> for AwsKinesisStreamDetails
impl PartialEq<AwsKinesisStreamDetails> for AwsKinesisStreamDetails
source§fn eq(&self, other: &AwsKinesisStreamDetails) -> bool
fn eq(&self, other: &AwsKinesisStreamDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.