Struct aws_sdk_securityhub::model::AwsKinesisStreamDetails
source · [−]#[non_exhaustive]pub struct AwsKinesisStreamDetails {
pub name: Option<String>,
pub arn: Option<String>,
pub stream_encryption: Option<AwsKinesisStreamStreamEncryptionDetails>,
pub shard_count: i32,
pub retention_period_hours: 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: i32The number of shards that the stream uses.
retention_period_hours: i32The number of hours for the data records that are stored in shards to remain accessible.
Implementations
sourceimpl 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.
sourceimpl AwsKinesisStreamDetails
impl AwsKinesisStreamDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsKinesisStreamDetails.
Trait Implementations
sourceimpl Clone for AwsKinesisStreamDetails
impl Clone for AwsKinesisStreamDetails
sourcefn clone(&self) -> AwsKinesisStreamDetails
fn clone(&self) -> AwsKinesisStreamDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AwsKinesisStreamDetails
impl Debug for AwsKinesisStreamDetails
sourceimpl PartialEq<AwsKinesisStreamDetails> for AwsKinesisStreamDetails
impl PartialEq<AwsKinesisStreamDetails> for AwsKinesisStreamDetails
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &AwsKinesisStreamDetails) -> bool
fn ne(&self, other: &AwsKinesisStreamDetails) -> bool
This method tests for !=.
impl StructuralPartialEq for AwsKinesisStreamDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsKinesisStreamDetails
impl Send for AwsKinesisStreamDetails
impl Sync for AwsKinesisStreamDetails
impl Unpin for AwsKinesisStreamDetails
impl UnwindSafe for AwsKinesisStreamDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more