Class: Aws::AccessAnalyzer::Types::GetGeneratedPolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-accessanalyzer/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#include_resource_placeholdersBoolean

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 `“*”`.

Returns:

  • (Boolean)


2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2228

class GetGeneratedPolicyRequest < Struct.new(
  :job_id,
  :include_resource_placeholders,
  :include_service_level_template)
  SENSITIVE = []
  include Aws::Structure
end

#include_service_level_templateBoolean

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.

Returns:

  • (Boolean)


2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2228

class GetGeneratedPolicyRequest < Struct.new(
  :job_id,
  :include_resource_placeholders,
  :include_service_level_template)
  SENSITIVE = []
  include Aws::Structure
end

#job_idString

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.

Returns:

  • (String)


2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2228

class GetGeneratedPolicyRequest < Struct.new(
  :job_id,
  :include_resource_placeholders,
  :include_service_level_template)
  SENSITIVE = []
  include Aws::Structure
end