Struct aws_sdk_accessanalyzer::operation::check_access_not_granted::CheckAccessNotGrantedInput
source · #[non_exhaustive]pub struct CheckAccessNotGrantedInput {
pub policy_document: Option<String>,
pub access: Option<Vec<Access>>,
pub policy_type: Option<AccessCheckPolicyType>,
}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.policy_document: Option<String>The JSON policy document to use as the content for the policy.
access: Option<Vec<Access>>An access object containing the permissions that shouldn't be granted by the specified policy.
policy_type: Option<AccessCheckPolicyType>The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
Implementations§
source§impl CheckAccessNotGrantedInput
impl CheckAccessNotGrantedInput
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
The JSON policy document to use as the content for the policy.
sourcepub fn access(&self) -> &[Access]
pub fn access(&self) -> &[Access]
An access object containing the permissions that shouldn't be granted by the specified policy.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .access.is_none().
sourcepub fn policy_type(&self) -> Option<&AccessCheckPolicyType>
pub fn policy_type(&self) -> Option<&AccessCheckPolicyType>
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
source§impl CheckAccessNotGrantedInput
impl CheckAccessNotGrantedInput
sourcepub fn builder() -> CheckAccessNotGrantedInputBuilder
pub fn builder() -> CheckAccessNotGrantedInputBuilder
Creates a new builder-style object to manufacture CheckAccessNotGrantedInput.
Trait Implementations§
source§impl Clone for CheckAccessNotGrantedInput
impl Clone for CheckAccessNotGrantedInput
source§fn clone(&self) -> CheckAccessNotGrantedInput
fn clone(&self) -> CheckAccessNotGrantedInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CheckAccessNotGrantedInput
impl Debug for CheckAccessNotGrantedInput
source§impl PartialEq for CheckAccessNotGrantedInput
impl PartialEq for CheckAccessNotGrantedInput
source§fn eq(&self, other: &CheckAccessNotGrantedInput) -> bool
fn eq(&self, other: &CheckAccessNotGrantedInput) -> bool
self and other values to be equal, and is used
by ==.