class AWS::STS::FederatedSession

Represents a federated session using temporary AWS credentials. Use {AWS::STS#new_federated_session} to get an instance of this class.

Attributes

packed_policy_size[R]

A percentage value indicating the size of the policy in packed form. Policies for which the packed size is greater than 100% of the allowed value are rejected by the service.

@return [Integer]

user_arn[R]

The ARN specifying the federated user associated with the session. For more information about ARNs and how to use them in policies, see {docs.amazonwebservices.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html Identifiers for IAM Entities} in Using AWS Identity and Access Management.

@return [String]

user_id[R]

The string identifying the federated user associated with the session, similar to the UserId of an IAM user.

@return [String]

Public Class Methods

new(opts = {}) click to toggle source

@private

# File lib/aws/sts/federated_session.rb, line 46
def initialize(opts = {})
  @user_id = opts[:user_id]
  @user_arn = opts[:user_arn]
  @packed_policy_size = opts[:packed_policy_size]
  super
end