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