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)


2501
2502
2503
2504
2505
2506
2507
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2501

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)


2501
2502
2503
2504
2505
2506
2507
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2501

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)


2501
2502
2503
2504
2505
2506
2507
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2501

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