AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the ValidatePolicy operation. Requests the validation of a policy and returns a list of findings. The findings help you identify issues and provide actionable recommendations to resolve the issue and enable you to author functional policies that meet security best practices.
Namespace: Amazon.AccessAnalyzer.Model
Assembly: AWSSDK.AccessAnalyzer.dll
Version: 3.x.y.z
public class ValidatePolicyRequest : AmazonAccessAnalyzerRequest IAmazonWebServiceRequest
The ValidatePolicyRequest type exposes the following members
Name | Description | |
---|---|---|
ValidatePolicyRequest() |
Name | Type | Description | |
---|---|---|---|
Locale | Amazon.AccessAnalyzer.Locale |
Gets and sets the property Locale. The locale to use for localizing the findings. |
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of results to return in the response. |
|
NextToken | System.String |
Gets and sets the property NextToken. A token used for pagination of results returned. |
|
PolicyDocument | System.String |
Gets and sets the property PolicyDocument. The JSON policy document to use as the content for the policy. |
|
PolicyType | Amazon.AccessAnalyzer.PolicyType |
Gets and sets the property PolicyType. 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. 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. Service control policies (SCPs) are a type of organization policy attached to an Amazon Web Services organization, organizational unit (OU), or an account. |
|
ValidatePolicyResourceType | Amazon.AccessAnalyzer.ValidatePolicyResourceType |
Gets and sets the property ValidatePolicyResourceType.
The type of resource to attach to your resource policy. Specify a value for the policy
validation resource type only if the policy type is For resource types not supported as valid values, IAM Access Analyzer runs policy checks that apply to all resource policies. For example, to validate a resource policy to attach to a KMS key, do not specify a value for the policy validation resource type and IAM Access Analyzer will run policy checks that apply to all resource policies. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5