#[non_exhaustive]pub struct DynamodbStreamConfiguration {
pub stream_policy: Option<String>,
}
Expand description
The proposed access control configuration for a DynamoDB stream. You can propose a configuration for a new DynamoDB stream or an existing DynamoDB stream that you own by specifying the policy for the DynamoDB stream. For more information, see PutResourcePolicy.
-
If the configuration is for an existing DynamoDB stream and you do not specify the DynamoDB policy, then the access preview uses the existing DynamoDB policy for the stream.
-
If the access preview is for a new resource and you do not specify the policy, then the access preview assumes a DynamoDB stream without a policy.
-
To propose deletion of an existing DynamoDB stream policy, you can specify an empty string for the DynamoDB policy.
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.stream_policy: Option<String>
The proposed resource policy defining who can access or manage the DynamoDB stream.
Implementations§
source§impl DynamodbStreamConfiguration
impl DynamodbStreamConfiguration
sourcepub fn stream_policy(&self) -> Option<&str>
pub fn stream_policy(&self) -> Option<&str>
The proposed resource policy defining who can access or manage the DynamoDB stream.
source§impl DynamodbStreamConfiguration
impl DynamodbStreamConfiguration
sourcepub fn builder() -> DynamodbStreamConfigurationBuilder
pub fn builder() -> DynamodbStreamConfigurationBuilder
Creates a new builder-style object to manufacture DynamodbStreamConfiguration
.
Trait Implementations§
source§impl Clone for DynamodbStreamConfiguration
impl Clone for DynamodbStreamConfiguration
source§fn clone(&self) -> DynamodbStreamConfiguration
fn clone(&self) -> DynamodbStreamConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DynamodbStreamConfiguration
impl Debug for DynamodbStreamConfiguration
source§impl PartialEq for DynamodbStreamConfiguration
impl PartialEq for DynamodbStreamConfiguration
source§fn eq(&self, other: &DynamodbStreamConfiguration) -> bool
fn eq(&self, other: &DynamodbStreamConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DynamodbStreamConfiguration
Auto Trait Implementations§
impl Freeze for DynamodbStreamConfiguration
impl RefUnwindSafe for DynamodbStreamConfiguration
impl Send for DynamodbStreamConfiguration
impl Sync for DynamodbStreamConfiguration
impl Unpin for DynamodbStreamConfiguration
impl UnwindSafe for DynamodbStreamConfiguration
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