AWS SDK Version 3 for .NET
API Reference

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 CheckNoNewAccess operation. Checks whether new access is allowed for an updated policy when compared to the existing policy.

You can find examples for reference policies and learn how to set up and run a custom policy check for new access in the IAM Access Analyzer custom policy checks samples repository on GitHub. The reference policies in this repository are meant to be passed to the existingPolicyDocument request parameter.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AccessAnalyzer.AmazonAccessAnalyzerRequest
      Amazon.AccessAnalyzer.Model.CheckNoNewAccessRequest

Namespace: Amazon.AccessAnalyzer.Model
Assembly: AWSSDK.AccessAnalyzer.dll
Version: 3.x.y.z

Syntax

C#
public class CheckNoNewAccessRequest : AmazonAccessAnalyzerRequest
         IAmazonWebServiceRequest

The CheckNoNewAccessRequest type exposes the following members

Constructors

NameDescription
Public Method CheckNoNewAccessRequest()

Properties

NameTypeDescription
Public Property ExistingPolicyDocument System.String

Gets and sets the property ExistingPolicyDocument.

The JSON policy document to use as the content for the existing policy.

Public Property NewPolicyDocument System.String

Gets and sets the property NewPolicyDocument.

The JSON policy document to use as the content for the updated policy.

Public Property PolicyType Amazon.AccessAnalyzer.AccessCheckPolicyType

Gets and sets the property PolicyType.

The type of policy to compare. 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5