You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IAM::Types::Statement

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

Overview

Contains a reference to a Statement element in a policy document that determines the result of the simulation.

This data type is used by the MatchedStatements member of the EvaluationResult type.

Instance Attribute Summary collapse

Instance Attribute Details

#end_positionTypes::Position

The row and column of the end of a Statement in an IAM policy.

Returns:



7866
7867
7868
7869
7870
7871
7872
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 7866

class Statement < Struct.new(
  :source_policy_id,
  :source_policy_type,
  :start_position,
  :end_position)
  include Aws::Structure
end

#source_policy_idString

The identifier of the policy that was provided as an input.

Returns:

  • (String)


7866
7867
7868
7869
7870
7871
7872
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 7866

class Statement < Struct.new(
  :source_policy_id,
  :source_policy_type,
  :start_position,
  :end_position)
  include Aws::Structure
end

#source_policy_typeString

The type of the policy.

Returns:

  • (String)


7866
7867
7868
7869
7870
7871
7872
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 7866

class Statement < Struct.new(
  :source_policy_id,
  :source_policy_type,
  :start_position,
  :end_position)
  include Aws::Structure
end

#start_positionTypes::Position

The row and column of the beginning of the Statement in an IAM policy.

Returns:



7866
7867
7868
7869
7870
7871
7872
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 7866

class Statement < Struct.new(
  :source_policy_id,
  :source_policy_type,
  :start_position,
  :end_position)
  include Aws::Structure
end