#[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 ==
.