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

Class: Aws::IAM::Types::PutRolePermissionsBoundaryRequest

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

Overview

Note:

When making an API call, you may pass PutRolePermissionsBoundaryRequest data as a hash:

{
  role_name: "roleNameType", # required
  permissions_boundary: "arnType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#permissions_boundaryString

The ARN of the policy that is used to set the permissions boundary for the role.

Returns:

  • (String)


8033
8034
8035
8036
8037
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8033

class PutRolePermissionsBoundaryRequest < Struct.new(
  :role_name,
  :permissions_boundary)
  include Aws::Structure
end

#role_nameString

The name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.

Returns:

  • (String)


8033
8034
8035
8036
8037
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8033

class PutRolePermissionsBoundaryRequest < Struct.new(
  :role_name,
  :permissions_boundary)
  include Aws::Structure
end