Struct aws_sdk_iam::model::ContextEntry
source · [−]#[non_exhaustive]pub struct ContextEntry { /* private fields */ }Expand description
Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies.
This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.
Implementations
sourceimpl ContextEntry
impl ContextEntry
sourcepub fn context_key_name(&self) -> Option<&str>
pub fn context_key_name(&self) -> Option<&str>
The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.
sourcepub fn context_key_values(&self) -> Option<&[String]>
pub fn context_key_values(&self) -> Option<&[String]>
The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.
sourcepub fn context_key_type(&self) -> Option<&ContextKeyTypeEnum>
pub fn context_key_type(&self) -> Option<&ContextKeyTypeEnum>
The data type of the value (or values) specified in the ContextKeyValues parameter.
sourceimpl ContextEntry
impl ContextEntry
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ContextEntry.
Trait Implementations
sourceimpl Clone for ContextEntry
impl Clone for ContextEntry
sourcefn clone(&self) -> ContextEntry
fn clone(&self) -> ContextEntry
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more