Skip to content

addAwsIamUserBasedCloudAccount

Adds an IAM user-based AWS cloud account and enables the features specified in the input after successful validation of the request.

Arguments

Argument Type Description
input (required) AddAwsIamUserBasedCloudAccountInput! Input to add IAM user-based AWS cloud account for native protection.

Returns

AddAwsIamUserBasedCloudAccountReply!

Sample

mutation AddAwsIamUserBasedCloudAccount($input: AddAwsIamUserBasedCloudAccountInput!) {
  addAwsIamUserBasedCloudAccount(input: $input)
}
{
  "input": {
    "cloudAccountName": "example-string",
    "nativeId": "example-string"
  }
}
{
  "data": {
    "addAwsIamUserBasedCloudAccount": {
      "awsAccount": {
        "accountName": "example-string",
        "cloudType": "C2S",
        "id": "example-string",
        "message": "example-string",
        "nativeId": "example-string",
        "orgId": "example-string"
      }
    }
  }
}