Class: Aws::AccessAnalyzer::Types::PolicyGeneration

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

Overview

Contains details about the policy generation status and properties.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#completed_onTime

A timestamp of when the policy generation was completed.

Returns:

  • (Time)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2928

class PolicyGeneration < Struct.new(
  :job_id,
  :principal_arn,
  :status,
  :started_on,
  :completed_on)
  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)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2928

class PolicyGeneration < Struct.new(
  :job_id,
  :principal_arn,
  :status,
  :started_on,
  :completed_on)
  SENSITIVE = []
  include Aws::Structure
end

#principal_arnString

The ARN of the IAM entity (user or role) for which you are generating a policy.

Returns:

  • (String)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2928

class PolicyGeneration < Struct.new(
  :job_id,
  :principal_arn,
  :status,
  :started_on,
  :completed_on)
  SENSITIVE = []
  include Aws::Structure
end

#started_onTime

A timestamp of when the policy generation started.

Returns:

  • (Time)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2928

class PolicyGeneration < Struct.new(
  :job_id,
  :principal_arn,
  :status,
  :started_on,
  :completed_on)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the policy generation request.

Returns:

  • (String)


2928
2929
2930
2931
2932
2933
2934
2935
2936
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2928

class PolicyGeneration < Struct.new(
  :job_id,
  :principal_arn,
  :status,
  :started_on,
  :completed_on)
  SENSITIVE = []
  include Aws::Structure
end