Google Anthos Multi Cloud V1 Client - Class AwsServicesAuthentication (0.3.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsServicesAuthentication.

Authentication configuration for the management of AWS resources.

Generated from protobuf message google.cloud.gkemulticloud.v1.AwsServicesAuthentication

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ role_arn string

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

↳ role_session_name string

Optional. An identifier for the assumed role session. When unspecified, it defaults to multicloud-service-agent.

getRoleArn

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

Returns
TypeDescription
string

setRoleArn

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRoleSessionName

Optional. An identifier for the assumed role session.

When unspecified, it defaults to multicloud-service-agent.

Returns
TypeDescription
string

setRoleSessionName

Optional. An identifier for the assumed role session.

When unspecified, it defaults to multicloud-service-agent.

Parameter
NameDescription
var string
Returns
TypeDescription
$this