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)


2062
2063
2064
2065
2066
2067
2068
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2062

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)


2062
2063
2064
2065
2066
2067
2068
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2062

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)


2062
2063
2064
2065
2066
2067
2068
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2062

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