public EcsParameters getEcsParameters() {
        return this.ecsParameters;
    }
<p>
Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For
more information about Amazon ECS tasks, see <a
href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Task Definitions </a> in
the <i>Amazon EC2 Container Service Developer Guide</i>.
</p>

@return Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS
        task. For more information about Amazon ECS tasks, see <a
        href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Task Definitions
        </a> in the <i>Amazon EC2 Container Service Developer Guide</i>.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java