agent/engine/dockerstate/docker_task_engine_state.go
func (state *DockerTaskEngineState) AllENIAttachments() []*apieni.ENIAttachment {
	state.lock.RLock()
	defer state.lock.RUnlock()

	return state.allENIAttachmentsUnsafe()
}
func (state *DockerTaskEngineState) AllENIAttachments() []*apieni.ENIAttachment {
	state.lock.RLock()
	defer state.lock.RUnlock()

	return state.allENIAttachmentsUnsafe()
}
// AllENIAttachments returns all the enis managed by ecs on the instance