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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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_position ⇒ Types::Position

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

Returns:

  • (Types::Position) —

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

#source_policy_id ⇒ String

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

Returns:

  • (String) —

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

#source_policy_type ⇒ String

The type of the policy.

Possible values:

  • user
  • group
  • role
  • aws-managed
  • user-managed
  • resource
  • none

Returns:

  • (String) —

    The type of the policy.

#start_position ⇒ Types::Position

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

Returns:

  • (Types::Position) —

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