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 GetGeneratedPolicy operation. Retrieves the policy that was generated using StartPolicyGeneration.

Inheritance Hierarchy

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

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

Syntax

C#
public class GetGeneratedPolicyRequest : AmazonAccessAnalyzerRequest
         IAmazonWebServiceRequest

The GetGeneratedPolicyRequest type exposes the following members

Constructors

NameDescription
Public Method GetGeneratedPolicyRequest()

Properties

NameTypeDescription
Public Property IncludeResourcePlaceholders System.Boolean

Gets and sets the property IncludeResourcePlaceholders.

The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.

For example, in the resource section of a policy, you can receive a placeholder such as "Resource":"arn:aws:s3:::${BucketName}" instead of "*".

Public Property IncludeServiceLevelTemplate System.Boolean

Gets and sets the property IncludeServiceLevelTemplate.

The level of detail that you want to generate. You can specify whether to generate service-level policies.

IAM Access Analyzer uses iam:servicelastaccessed to identify services that have been used recently to create this service-level template.

Public Property JobId System.String

Gets and sets the property JobId.

The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5