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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-accessanalyzer/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)


2488
2489
2490
2491
2492
2493
2494
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2488

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)


2488
2489
2490
2491
2492
2493
2494
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2488

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)


2488
2489
2490
2491
2492
2493
2494
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2488

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