pub struct ValidatePolicyRequest {
pub locale: Option<String>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
pub policy_document: String,
pub policy_type: String,
}
Fields§
§locale: Option<String>
The locale to use for localizing the findings.
max_results: Option<i64>
The maximum number of results to return in the response.
next_token: Option<String>
A token used for pagination of results returned.
policy_document: String
The JSON policy document to use as the content for the policy.
policy_type: String
The type of policy to validate. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups. They also include service-control policies (SCPs) that are attached to an AWS organization, organizational unit (OU), or an account.
Resource policies grant permissions on AWS resources. Resource policies include trust policies for IAM roles and bucket policies for S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or S3 bucket policy.
Trait Implementations§
Source§impl Clone for ValidatePolicyRequest
impl Clone for ValidatePolicyRequest
Source§fn clone(&self) -> ValidatePolicyRequest
fn clone(&self) -> ValidatePolicyRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more