public String getTaskRoleArn() {
        return this.taskRoleArn;
    }
<p>
The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All
containers in this task are granted the permissions that are specified in this role. For more information, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM Roles for Tasks</a> in
the <i>Amazon Elastic Container Service Developer Guide</i>.
</p>

@return The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can
        assume. All containers in this task are granted the permissions that are specified in this role. For more
        information, see <a
        href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM Roles for
        Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/RegisterTaskDefinitionRequest.java