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

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getRoleSessionName

Optional. An identifier for the assumed role session.

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

Returns
Type Description
string

setRoleSessionName

Optional. An identifier for the assumed role session.

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

Parameter
Name Description
var string
Returns
Type Description
$this