\AlibabaCloud\Client\CredentialsEcsRamRoleCredential

Use the RAM role of an ECS instance to complete the authentication.

Summary

Methods
Properties
Constants
__construct()
getRoleName()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$roleName
N/A

Properties

$roleName

$roleName : string

Type

string

Methods

__construct()

__construct(string  $roleName) 

Class constructor.

Parameters

string $roleName

Throws

\AlibabaCloud\Client\Exception\ClientException

getRoleName()

getRoleName() : string

Returns

string

__toString()

__toString() : string

Returns

string