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