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 | |
---|---|
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 |
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.
Generated from protobuf field string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];
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
.
Generated from protobuf field string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
setRoleSessionName
Optional. An identifier for the assumed role session.
When unspecified, it defaults to multicloud-service-agent
.
Generated from protobuf field string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |